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
When I run pip install anchor_exp, v0.0.0.6 is installed. After running pip install --upgrade anchor_exp I did get v0.0.1.0.
However with this new version I am now getting a new error which I was not getting before for the below code: explainer = anchor_tabular.AnchorTabularExplainer(['Bad', 'Good'], dfTrain.columns, dfTrain)
exp = explainer.explain_instance(numpy_test, catBoostModel.predict, threshold=0.95).
/opt/anaconda3/lib/python3.7/site-packages/anchor/anchor_tabular.py in sample_from_train(self, conditions_eq, conditions_neq, conditions_geq, conditions_leq, num_samples, validation)
98 bla
99 """
--> 100 train = self.train if not validation else self.validation
101 d_train = self.d_train if not validation else self.d_validation
102 idx = np.random.choice(range(train.shape[0]), num_samples,
AttributeError: 'AnchorTabularExplainer' object has no attribute 'validation'
The text was updated successfully, but these errors were encountered: