Closed oathaha closed 3 years ago
From the returned value of explain function
explain
pyExp_rule_obj = {'synthetic_data': synthetic_instances, 'synthetic_predictions': synthetic_predictions, 'X_explain': X_explain, 'y_explain': y_explain, 'indep': self.indep, 'dep': self.dep, 'top_k_positive_rules': top_k_positive_rules, 'top_k_negative_rules': top_k_negative_rules}
I found that there is label column ('defect') in synthetic_instances variable like this
synthetic_instances
I think this column should not be included in this variable (or dataframe) because the label is already in synthetic_predictions variable.
synthetic_predictions
What do you think about this?
I agree with your point, let me double-check with my teammate.
the source code has been modified and uploaded to the repo.
From the returned value of
explain
functionI found that there is label column ('defect') in
synthetic_instances
variable like thisI think this column should not be included in this variable (or dataframe) because the label is already in
synthetic_predictions
variable.What do you think about this?