KhiopsML / khiops-python

The Python library of the Khiops AutoML suite
https://khiops.org
BSD 3-Clause Clear License
8 stars 1 forks source link

Support NumPy array targets with Pandas dataframe observables #177

Open popescu-v opened 5 months ago

popescu-v commented 5 months ago

Description

Currently, for all scikit learn Khiops estimators, if the observables X are in a pandas.DataFrame, then the targets y can either be in a pandas.Series or in a (single-column) pandas.DataFrame.

The goal of this issue is to allow targets y to be array-like, that is, to be in an object which has the __array__ method defined. This includes NumPy arrays.

Questions/Ideas