Update feature states setting for datasets

This commit is contained in:
2023-02-13 17:34:15 +01:00
parent a5244f1c7f
commit 2ffc06b232

View File

@@ -513,7 +513,7 @@ class Proposal:
else self.estimator.default_feature_names(self.Xd.shape[1])
)
states = {
features[i]: np.unique(self.Xd[:, i]).tolist()
features[i]: self.discretizer.get_states_feature(i)
for i in range(self.Xd.shape[1])
}
class_name = (