Skip to main content

Intel® Extension for Scikit-learn is a seamless way to speed up your Scikit-learn application.

Project description

Intel(R) Extension for Scikit-learn*

Join the community on GitHub Discussions PyPI Version Conda Version

Extension for Scikit-learn is a free software AI accelerator designed to deliver over 10-100X acceleration to your existing scikit-learn code. The software acceleration is achieved with vector instructions, AI hardware-specific memory optimizations, threading, and optimizations.

With Extension for Scikit-learn, you can:

  • Speed up training and inference by up to 100x with equivalent mathematical accuracy
  • Benefit from performance improvements across different hardware configurations, including GPUs and multi-GPU configurations
  • Integrate the extension into your existing Scikit-learn applications without code modifications
  • Continue to use the open-source scikit-learn API
  • Enable and disable the extension with a couple of lines of code or at the command line

🛠 Installation

Intel(R) Extension for Scikit-learn is available at the Python Package Index, in Conda-Forge and in Intel's conda channel. Intel(R) Extension for Scikit-learn is also available as a part of Intel® oneAPI AI Analytics Toolkit (AI Kit).

To install through pip:

pip install scikit-learn-intelex

See the documentation for more details about supported platforms and other ways of installing it.

You can build the package from sources as well.

⚡️ Get Started

Easiest way to benefit from accelerations from the extension is by patching scikit-learn with it:

  • Enable CPU optimizations
import numpy as np
from sklearnex import patch_sklearn
patch_sklearn()

from sklearn.cluster import DBSCAN

X = np.array([[1., 2.], [2., 2.], [2., 3.],
              [8., 7.], [8., 8.], [25., 80.]], dtype=np.float32)
clustering = DBSCAN(eps=3, min_samples=2).fit(X)
import numpy as np
from sklearnex import patch_sklearn, config_context
patch_sklearn()

from sklearn.cluster import DBSCAN

X = np.array([[1., 2.], [2., 2.], [2., 3.],
              [8., 7.], [8., 8.], [25., 80.]], dtype=np.float32)
with config_context(target_offload="gpu:0"):
    clustering = DBSCAN(eps=3, min_samples=2).fit(X)

Usage without patching

Alternatively, all functionalities are also available under a separate module which can be imported directly, without involving any patching.

  • To run on CPU:

    import numpy as np
    from sklearnex.cluster import DBSCAN
    
    X = np.array([[1., 2.], [2., 2.], [2., 3.],
                  [8., 7.], [8., 8.], [25., 80.]], dtype=np.float32)
    clustering = DBSCAN(eps=3, min_samples=2).fit(X)
    
  • To run on GPU:

    import numpy as np
    from sklearnex import config_context
    from sklearnex.cluster import DBSCAN
    
    X = np.array([[1., 2.], [2., 2.], [2., 3.],
                  [8., 7.], [8., 8.], [25., 80.]], dtype=np.float32)
    with config_context(target_offload="gpu:0"):
        clustering = DBSCAN(eps=3, min_samples=2).fit(X)
    

🚀 Scikit-learn patching

Configurations:

  • HW: c5.24xlarge AWS EC2 Instance using an Intel Xeon Platinum 8275CL with 2 sockets and 24 cores per socket
  • SW: scikit-learn version 0.24.2, scikit-learn-intelex version 2021.2.3, Python 3.8

Benchmarks code

Intel(R) Extension for Scikit-learn patching affects performance of specific Scikit-learn functionality. Refer to the list of supported algorithms and parameters for details. In cases when unsupported parameters are used, the package fallbacks into original Scikit-learn. If the patching does not cover your scenarios, submit an issue on GitHub.

Read more about it in the documentation for scikit-learn patching.

👀 Follow us on Medium

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. Here are our latest blogs:

🔗 Important links

💬 Support

Report issues, ask questions, and provide suggestions using:

You may reach out to project maintainers privately at onedal.maintainers@intel.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

scikit_learn_intelex-2026.0.0-py314-none-win_amd64.whl (2.0 MB view details)

Uploaded Python 3.14Windows x86-64

scikit_learn_intelex-2026.0.0-py314-none-manylinux_2_28_x86_64.whl (3.1 MB view details)

Uploaded Python 3.14manylinux: glibc 2.28+ x86-64

scikit_learn_intelex-2026.0.0-py313-none-win_amd64.whl (2.0 MB view details)

Uploaded Python 3.13Windows x86-64

scikit_learn_intelex-2026.0.0-py313-none-manylinux_2_28_x86_64.whl (3.1 MB view details)

Uploaded Python 3.13manylinux: glibc 2.28+ x86-64

scikit_learn_intelex-2026.0.0-py312-none-win_amd64.whl (2.0 MB view details)

Uploaded Python 3.12Windows x86-64

scikit_learn_intelex-2026.0.0-py312-none-manylinux_2_28_x86_64.whl (3.1 MB view details)

Uploaded Python 3.12manylinux: glibc 2.28+ x86-64

scikit_learn_intelex-2026.0.0-py311-none-win_amd64.whl (2.0 MB view details)

Uploaded Python 3.11Windows x86-64

scikit_learn_intelex-2026.0.0-py311-none-manylinux_2_28_x86_64.whl (3.1 MB view details)

Uploaded Python 3.11manylinux: glibc 2.28+ x86-64

scikit_learn_intelex-2026.0.0-py310-none-win_amd64.whl (2.0 MB view details)

Uploaded Python 3.10Windows x86-64

scikit_learn_intelex-2026.0.0-py310-none-manylinux_2_28_x86_64.whl (3.2 MB view details)

Uploaded Python 3.10manylinux: glibc 2.28+ x86-64

File details

Details for the file scikit_learn_intelex-2026.0.0-py314-none-win_amd64.whl.

File metadata

  • Download URL: scikit_learn_intelex-2026.0.0-py314-none-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.33.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for scikit_learn_intelex-2026.0.0-py314-none-win_amd64.whl
Algorithm Hash digest
SHA256 199ade100f5c8e854f73abd9937180388ba3b15b82b703b730400a3840bf4a46
MD5 ad06a334c56ecce3d8761352bac63f12
BLAKE2b-256 8d6e65bfb1c44c778449933a66deb537fafc6f9726811f454c16826b2b3cd9da

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex-2026.0.0-py314-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: scikit_learn_intelex-2026.0.0-py314-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3.14, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.33.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for scikit_learn_intelex-2026.0.0-py314-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c6063ecc38239f503a8980538b40a48e41f64095358db9d4ac3d0f5f4935f10c
MD5 80a13e2742ff48f7eb48f2e86ac54bf9
BLAKE2b-256 c2515016dafadfec2975ab9155958021b06415eac5f39ccda166cfa390f3e07f

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex-2026.0.0-py313-none-win_amd64.whl.

File metadata

  • Download URL: scikit_learn_intelex-2026.0.0-py313-none-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.33.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for scikit_learn_intelex-2026.0.0-py313-none-win_amd64.whl
Algorithm Hash digest
SHA256 5d853d23f6aabd485c34c6e67ef2b0a3e3263d140bb43eeffc678605cff558cc
MD5 84d98aac1d4b1ea74f2598dc876bdfa7
BLAKE2b-256 ab51d75674cd997d3bf4e0918d5e400e49a4a91225c911dc21421e4a1e498cf6

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex-2026.0.0-py313-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: scikit_learn_intelex-2026.0.0-py313-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3.13, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.33.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for scikit_learn_intelex-2026.0.0-py313-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 44337736c5b58c026ae0669b167198cbeddfa25f1067d8ccb6dcdad73913e62a
MD5 9e7d5cd2a3e4e0a9cdb192385712f8b3
BLAKE2b-256 9190fd4e122e46d69533502e360fb1967c84b96a16a1676ebd8b8a75eb0963fb

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex-2026.0.0-py312-none-win_amd64.whl.

File metadata

  • Download URL: scikit_learn_intelex-2026.0.0-py312-none-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.33.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for scikit_learn_intelex-2026.0.0-py312-none-win_amd64.whl
Algorithm Hash digest
SHA256 7a49ad6b7d8d549c79e3ee3d73b25725f079a08de7a58f8e225dd759ddd540e4
MD5 1cf7716f4033c2bd740da92668667337
BLAKE2b-256 677979880ae9a1f6e154b6c52f4c50bed83450fe94cd91b2f9d417424dd0bcec

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex-2026.0.0-py312-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: scikit_learn_intelex-2026.0.0-py312-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3.12, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.33.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for scikit_learn_intelex-2026.0.0-py312-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6e85e5ed13eb3741ce64097fc6f61869c2dea9c3e3cb094a66e1d08cac5cc969
MD5 d24ec4df1fbca91acfb5ef63692f7be3
BLAKE2b-256 01477235b751da501470f1479e200b4c4ff80c0c9442b195dc9c4bfd9e2a9164

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex-2026.0.0-py311-none-win_amd64.whl.

File metadata

  • Download URL: scikit_learn_intelex-2026.0.0-py311-none-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.33.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for scikit_learn_intelex-2026.0.0-py311-none-win_amd64.whl
Algorithm Hash digest
SHA256 3500deb001892729cabe18f9fdb5d67f2d94e9a6348e360d031ff7ef4dece103
MD5 29b2a8c44930775dafae421a68b87535
BLAKE2b-256 e48c56b70bed1c0bb2eaf3a108c0feac1db83665108f41aab185b1b384a7732d

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex-2026.0.0-py311-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: scikit_learn_intelex-2026.0.0-py311-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3.11, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.33.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for scikit_learn_intelex-2026.0.0-py311-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2260820b61592aa065a8938d52286cb41e841cf27fdd082082fb56e9ed577246
MD5 dadd1c1cefca5e5ba785f629e42c4d4a
BLAKE2b-256 17706355193a0686d74894f5da068fa4dd001b180986ce64e9adb25ecee0606b

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex-2026.0.0-py310-none-win_amd64.whl.

File metadata

  • Download URL: scikit_learn_intelex-2026.0.0-py310-none-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.33.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for scikit_learn_intelex-2026.0.0-py310-none-win_amd64.whl
Algorithm Hash digest
SHA256 b2bb68fdd12692beede10a0746f5c81003ee0619adcf11ce23501a1f7e782d9d
MD5 5aa90cb8e1c52e0b3a7cd911862535ca
BLAKE2b-256 96f2433b6f7bad6de32436c8dc15d805943343ed6e56b5329a4b5d434f842b37

See more details on using hashes here.

File details

Details for the file scikit_learn_intelex-2026.0.0-py310-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: scikit_learn_intelex-2026.0.0-py310-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3.10, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.33.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

File hashes

Hashes for scikit_learn_intelex-2026.0.0-py310-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 020d871d9d231d3ec818933cad3d10d2fc40abae1e276c4e7028c4b1874bcdbf
MD5 fd872e5b1e08ef749f471cdeca7de766
BLAKE2b-256 bc88adad354d9ed2457f3094c6fcdcec407c627c9ecec71f9270ba6dfed1130b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page