You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and now I got lots of models in the "AutoML_model_CaNaK_unscaled" path.
I want to get shap values for a specific model such as 16_LightGBM following the shap git code like the following:
import xgboost
import shap
# train an XGBoost model
X, y = shap.datasets.boston()
model = xgboost.XGBRegressor().fit(X, y)
# explain the model's predictions using SHAP
# (same syntax works for LightGBM, CatBoost, scikit-learn, transformers, Spark, etc.)
explainer = shap.Explainer(model)
shap_values = explainer(X)
I know that using AutoML(results_path="AutoML_model_CaNaK_unscaled") can load the well trained model, but loading a specific model from saved models is what I want.
The text was updated successfully, but these errors were encountered:
I trained a model using the following code:
and now I got lots of models in the "AutoML_model_CaNaK_unscaled" path.
I want to get shap values for a specific model such as 16_LightGBM following the shap git code like the following:
I know that using
AutoML(results_path="AutoML_model_CaNaK_unscaled")
can load the well trained model, but loading a specific model from saved models is what I want.The text was updated successfully, but these errors were encountered: