daal4py provides a convenient Python API to Intel® oneAPI Data Analytics Library (oneDAL) for accelerating machine learning and data analysis. Current stable version is 2024.7.0 on PyPI, with newer releases (2025.11.0) available via Intel's Extension for Scikit-learn. Release cadence is approximately monthly.
pip install daal4pyVerified import paths — ran on the pinned version, not inferred.
Simple K-Means using oneDAL native API with SYCL context.
Refer to migration guide: https://intelpython.github.io/daal4py/migration.html
Use standard numpy or dpctl arrays directly.
Always create a new algorithm object for each call.
Use 'with sycl_context("gpu"):' to ensure GPU usage.