Titanium dioxide (TiO 2 ) is commonly used as a photocatalyst for treating water contaminants. However, experimentally determining the photodegradation kinetics is both expensive and time-consuming. In this study, the authors developed gradient booster regressor (GBR) and extreme gradient boosted (XGBoost) decision tree models using the BayesSearchCV and hyperopt libraries, respectively, to fine-tune the hyperparameters. The goal was to estimate photodegradation rate constants for organic contaminants and investigate the relationship between input variables and their characteristics to enhance model performance. To assess the models' predictive capabilities, the researchers employed quantitative approaches such as the coefficient of determination (R 2 ), mean absolute error (MAE), and root mean squared error (RMSE). Additionally, they utilized the SHAP technique, which applies cooperative game theory to estimate photodegradation rates and rank the importance of features, to provide interpretability to the results. The study identified enhanced models that outperformed other models in the literature, with the XGBoost model combined with the TPE algorithm performing the best, achieving an R 2 of 0.891, an MAE of 0.100, and an RMSE of 0.157. Furthermore, the SHAP technique provided insights into the features predicting photodegradation rates and their correlations.