Skip to content

Support floating-point targets in Khiops classifiers #74

@popescu-v

Description

@popescu-v

Description

Reported by M.Arcadias

Currently, KhiopsClassifier's fit 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

  • Instead of converting to a currently-supported type (string, categorial, or integer, if targets are convertible to integer):
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).

  • The predict method should also return float64 ?

Metadata

Metadata

Assignees

Labels

Priority/0-HighTo do nowStatus/DoneThe issue has been addressed and merged to the dev branch

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions