Hi,
Shap dependence plots are not produced anymore by mljar with a lightgbm model.
However, learner_fold_0_shap_summary.png
and shap_importance.png
are produced.
I get the following error message:
Exception while producing SHAP explanations. Passing parameters norm and vmin/vmax simultaneously is not supported. Please pass vmin/vmax directly to the norm when creating it.
Continuing ...
The code producing this error looks like the following:
automl = AutoML(
mode='Explain',
stack_models = True,
algorithms=['LightGBM'],
eval_metric="auc",
golden_features=False,
total_time_limit=180,
validation_strategy={"validation_type": "custom"},
explain_level=2,
)
cv = [(train_indices, validation_indices)]
automl.fit(
X,
y,
sample_weight = df.weight_discounting.values,
cv=cv
)