We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8baa8d5 commit 7e7589cCopy full SHA for 7e7589c
lightgbmlss/model.py
@@ -502,7 +502,7 @@ def plot(self,
502
explainer = shap.TreeExplainer(self.booster)
503
shap_values = explainer(X)
504
505
- param_pos = list(self.dist.param_dict.keys()).index(parameter)
+ param_pos = self.dist.distribution_arg_names.index(parameter)
506
507
if plot_type == "Partial_Dependence":
508
if self.dist.n_dist_param == 1:
0 commit comments