new cutPoints algo complete

This commit is contained in:
2022-11-29 17:26:09 +01:00
parent 36c5930c5e
commit c965d392c4
8 changed files with 66 additions and 46 deletions

View File

@@ -8,15 +8,15 @@ X = data.data
y = data.target
features = data.feature_names
test = FImdlp()
# test.fit(X, y, features=features).transform(X)
test.fit(X, y, features=features).transform(X)
X = np.array(
[
[5.1, 3.5, 1.4, 0.2],
[5.2, 3.0, 1.4, 0.2],
[5.3, 3.2, 1.3, 0.2],
[5.3, 3.1, 1.5, 0.2],
]
)
y = np.array([0, 0, 0, 1])
test.fit(X, y).transform(X)
# X = np.array(
# [
# [5.1, 3.5, 1.4, 0.2],
# [5.2, 3.0, 1.4, 0.2],
# [5.3, 3.2, 1.3, 0.2],
# [5.3, 3.1, 1.5, 0.2],
# ]
# )
# y = np.array([0, 0, 0, 1])
# test.fit(X, y).transform(X)