scikit-learn-intelex
scikit-learn-intelex copied to clipboard
MAINT: aligning gpu interfaces y param with sklearn
Description
scikit-learn provides dummy y variable in cluster/compute (example) interfaces for general alignment - we mostly have this implemented in our daal4py/sklearnex cpu interfaces already. It's not used in sklearn or in sklearnex but provides uniform interfaces and will be useful in resolving common sklbench errors.
/intelci: run
/intelci: run
@ethanglaser could you please reference sklearn_bench where this fix is required?
@ethanglaser could you please reference sklearn_bench where this fix is required?
Is it required for spmd ifaces?
@ethanglaser could you please reference sklearn_bench where this fix is required?
Is it required for spmd ifaces?
It mostly depends on config files setup, but in cases where same datasets are used for multiple algos (ie higgs for kmeans, linreg) it will pass dummy y data and breaks spmd interfaces that dont have dummy data in this case. Since this would align with our d4p/cpu and stock sklearn interfaces, and avoids this issue, it probably would be good do here.
Any objections on this? Is it okay with API or is it considered breaking?