mirror of
https://github.com/Doctorado-ML/FImdlp.git
synced 2025-08-17 08:25:51 +00:00
Fix entroy and ig
This commit is contained in:
@@ -7,7 +7,9 @@ X = data.data
|
||||
y = data.target
|
||||
features = data.feature_names
|
||||
test = FImdlp()
|
||||
# Xcutpoints = test.fit(X, y, features=features).transform(X)
|
||||
Xcutpoints = test.fit(X, y, features=features).transform(X)
|
||||
clf = CFImdlp(debug=True)
|
||||
print("Cut points for feature 0 in Iris dataset:")
|
||||
print(clf.cut_points(X[:, 0], y))
|
||||
print("Xcut")
|
||||
print(Xcutpoints)
|
||||
|
Reference in New Issue
Block a user