scikit-learn-intelex
scikit-learn-intelex copied to clipboard
PCA perf fix and out of preview
The PR aims to improve the performance of oneAPI PCA implementation and refactor the codes to align with sklearnex design principals. Associated oneDAL PR#2601 (should be merged before to ensure the current PR is working properly).
Changes proposed in this pull request:
- Remove mean center from sklearnex (implemented in oneDAL)
- Align dispatcher with existing algorithms
- Refactor code to provide better structure and to remove redundant parts
/intelci: run
/azp run CI
Azure Pipelines successfully started running 1 pipeline(s).
/intelci: run
/azp run CI
Azure Pipelines successfully started running 1 pipeline(s).
/intelci: run
/intelci: run
/intelci: run
/intelci: run
/intelci: run
/intelci: run
/intelci: run
/intelci: run
/intelci: run
/intelci: run
Perhaps not within scope of this PR, but still facing issues with spmd pca using n_components with float and generally with predict method.
/intelci: run
/intelci: run
/intelci: run
/intelci: run
@md-shafiul-alam if there some blocker, can we just leave updated pca in preview and merge it as is? You can probably do required minor fixes as follow up.
/intelci: run
I am not sure if there is anything else to be done to move PCA out of preview other than finalizing this PR
I am not sure if there is anything else to be done to move PCA out of preview other than finalizing this PR
Finalizing this PR in case of moving out of the preview taking a long time. I already need this changes on main. Let's leave currently all changes on preview and merge. Afterwards we can do moving out PR
/intelci: run
transform method is already wrapped, and fit_transform calls fit and transform. Do we still need to wrap fit_transform? @samir-nasibli
transform method is already wrapped, and fit_transform calls fit and transform. Do we still need to wrap fit_transform? @samir-nasibli
It could probably work, but in this case you will do the same data transfer several times from device to host and back. Better to do it at once.
/intelci: run
/intelci: run