mirror of
https://github.com/Doctorado-ML/FImdlp.git
synced 2025-08-17 00:15:52 +00:00
10 lines
226 B
Python
10 lines
226 B
Python
from sklearn.datasets import load_iris
|
|
from fimdlp.mdlp import FImdlp
|
|
|
|
data = load_iris()
|
|
X = data.data
|
|
y = data.target
|
|
features = data.feature_names
|
|
test = FImdlp()
|
|
Xcutpoints = test.fit(X, y, features=features).transform(X)
|