Open popescu-v opened 1 year ago
Reported by M.Arcadias
Currently, KhiopsClassifier's fit method accepts targets of type string, integer or categorical.
KhiopsClassifier
fit
However the Scikit-learn/XGBoost Python API also accept float target types.
The pyKhiops KhiopsClassifier's API should also support this.
clf = KhiopsClassifier() clf.fit(X_train, y_train.astype("str"))
one should be able to just write:
clf = KhiopsClassifier() clf.fit(X_train, y_train)
where y_train.dtype is dtype('float64') (if y_train is a pandas series).
dtype('float64')
y_train
float64
At the moment the train works but the predict fails.
Description
Reported by M.Arcadias
Currently,
KhiopsClassifier
'sfit
method accepts targets of type string, integer or categorical.However the Scikit-learn/XGBoost Python API also accept float target types.
The pyKhiops
KhiopsClassifier
's API should also support this.Questions / Ideas
one should be able to just write:
where y_train.dtype is
dtype('float64')
(ify_train
is a pandas series).float64
?