{"id":21094,"library":"daal","title":"Intel oneAPI Data Analytics Library (daal)","description":"Intel oneAPI Data Analytics Library (oneDAL) provides optimized algorithms for data analysis and machine learning, including classification, regression, clustering, and dimensionality reduction. The daal package is the Python wrapper for oneDAL. Current version: 2026.0.0. Release cadence: monthly.","status":"active","version":"2026.0.0","language":"python","source_language":"en","source_url":"https://github.com/uxlfoundation/oneDAL","tags":["intel","data analytics","machine learning","oneDAL","daal"],"install":[{"cmd":"pip install daal","lang":"bash","label":"Install daal from PyPI"}],"dependencies":[],"imports":[{"note":"'import daal' does not work; use 'import daal4py' for the Python API.","wrong":"import daal","symbol":"daal4py","correct":"import daal4py"},{"note":"KMeans is under daal4py, not daal.","wrong":"from daal import kmeans","symbol":"KMeans","correct":"from daal4py import kmeans"}],"quickstart":{"code":"import numpy as np\nimport daal4py as d4p\n\n# Generate sample data\nX = np.random.rand(100, 10).astype(np.float32)\n\n# Create KMeans algorithm\nkmeans_algo = d4p.kmeans(nClusters=3, maxIterations=100)\n\n# Compute\nresult = kmeans_algo.compute(X)\n\nprint('Cluster centroids:', result.centroids)\nprint('Assignments:', result.assignments)","lang":"python","description":"Quick start showing KMeans clustering with daal4py."},"warnings":[{"fix":"Install 'pip install daal' and then use 'import daal4py' in your code.","message":"The pip package is named 'daal', but the Python import is 'daal4py'. Using 'import daal' will raise ModuleNotFoundError.","severity":"gotcha","affected_versions":"all"},{"fix":"Use the daal4py Python API instead of low-level C++ bindings.","message":"In version 2026.0.0, old DAAL C++ API headers (e.g., daal.h) are removed. The Python package may drop legacy compatibility.","severity":"breaking","affected_versions":">=2026.0.0"},{"fix":"Use the new data management API (e.g., NumericTable) or migrate to daal4py.","message":"The Matrix, PackedSymmetricMatrix, and PackedTriangularMatrix classes are deprecated and scheduled for removal.","severity":"deprecated","affected_versions":">=2025.10.0 <2026.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Install 'daal' via pip and use 'import daal4py' in your Python code.","cause":"Trying to import 'daal' directly, but the importable module is 'daal4py'.","error":"ModuleNotFoundError: No module named 'daal'"},{"fix":"Use 'from daal4py import kmeans' or 'd4p.kmeans(...)'.","cause":"Incorrect case or misspelling; the function is 'kmeans' (lowercase).","error":"AttributeError: module 'daal4py' has no attribute 'kmeans'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}