

Save Time and Money with Intel Extension for Scikit-learn.We publish blogs on Medium, so follow us to learn tips and tricks for more efficient data analysis with the help of Intel(R) Extension for Scikit-learn. Pip install scikit-learn-intelex 🔗 Important Links Installation via pip package manager is recommended by default: If you already have AI Kit installed, you do not need to install the extension. The extension is also available as a part of Intel® AI Analytics Toolkit (AI Kit). You can also build the extension from sources. On Anaconda Cloud in Conda-Forge channel and in Intel channel. Intel(R) Extension for Scikit-learn is available at the Python Package Index,

System Requirements | Install via pip or conda | Build from sources

❗ The patching only affects selected algorithms and their parameters. This software acceleration is achieved through the use of vector instructions, IA hardware-specific memory optimizations, threading, and optimizations for all upcoming Intel platforms at launch time. 👀 Read about other ways to patch scikit-learn and other methods for offloading to GPU devices.Ĭheck out available notebooks for more examples. With config_context( target_offload = "gpu:0"):Ĭlustering = DBSCAN( eps = 3, min_samples = 2). Import numpy as np import dpctl from sklearnex import patch_sklearn, config_context patch_sklearn()įrom sklearn.
