Skip to content

Intel(R) Extension for Scikit-learn 2021.4

Compare
Choose a tag to compare
@KalyanovD KalyanovD released this 14 Oct 09:55
356bf04

The release Intel(R) Extension for Scikit-learn 2021.4 introduces the following changes:

📚 Support Materials

🛠️ Library Engineering

  • Introduced new functionality for Intel® Extension for Scikit-learn*:
    • Enabled patching for all Scikit-learn applications at once:
    • Added the support of Python 3.9 for both Intel® Extension for Scikit-learn and daal4py. The packages are available from PyPI and the Intel Channel on Anaconda Cloud.

🚨 New Features

  • Enabled the global patching of all Scikit-learn applications
  • Provided an integration with dpctl for heterogeneous computing (the support of dpctl.tensor.usm_ndarray for input and output)
  • Extended API with set_config and get_config methods. Added the support of target_offload and allow_fallback_to_host options for device offloading scenarios
  • Added the support of predict_proba in RandomForestClassifier estimator
  • [CPU] Added the support of Sigmoid kernel in SVM algorithms
  • [GPU] Added binary SVC support with Linear and RBF kernels

🚀 ​Improved performance

  • [CPU] SVR algorithm training
  • [CPU] NuSVC and NuSVR algorithms training
  • [CPU] RandomForestRegression and RandomForestClassifier algorithms training and prediction
  • [CPU] KMeans algorithm training

🐛 Bug Fixes

  • Fixed an incorrectly raised exception during the patching of Random Forest algorithm when the number of trees was more than 7000.
  • [CPU] Fixed an accuracy issue in Random Forest algorithm caused by the exclusion of constant features.
  • [CPU] Fixed an issue in NuSVC Multiclass.
  • [CPU] Fixed an issue with KMeans convergence inconsistency.
  • [CPU] Fixed incorrect work of train_test_split with specific subset sizes.
  • [GPU] Fixed incorrect bias calculation in SVM.

❗ Known Issues

  • [GPU] For most algorithms, performance degradations were observed when the 2021.4 version of Intel® oneAPI DPC++ Compiler was used.
  • [GPU] Examples are failing when run with Visual Studio Solutions on hardware that does not support double precision floating-point operations.