Open folmos-at-orange opened 1 year ago
Putting this in stand by because now we return numpy.arrays. Once we support the set_output
sklearn API we can tackle this (see #43)
Putting this in stand by because now we return numpy.arrays. Once we support the
set_output
sklearn API we can tackle this (see #43)
Yes, this seems like a longer-term feature.
As mentioned in #43 this will concern only KhiopsCoclustering
and KhiopsEncoder
.
Description
Currently the indexes is lost because we read from an internal file. Sklearn's new
set_output
API seems to respect the index of the input (see examples here). Additionally it simplifies the UX as the user doesn't need to reindex its input to join input and output dataframes.Questions/Ideas
predict*
andtransform
methods we have available the index of the input. At the end, after reading the output file from Khiops we just reindex using that one.