Classification, Catboost, Fastapi, Docker, Streamlit.
data.reset_index(drop=True, inplace=True) return data def load_model(): model = CatBoostClassifier() model.load_model(MODEL_PATH) return model def calculate_shap(model, X_train, X_test): # Calculate SHAP values explainer = shap.TreeExplainer(model) shap_values_cat_train =