Awesome
<!-- ****************************************************************************** * Copyright 2014 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *******************************************************************************/-->oneAPI Data Analytics Library <!-- omit in toc --> <img align="right" width="200" height="100" src="https://raw.githubusercontent.com/uxlfoundation/artwork/e98f1a7a3d305c582d02c5f532e41487b710d470/foundation/uxl-foundation-logo-horizontal-color.svg">
Installation | Documentation | Support | Examples | How to Contribute
oneAPI Data Analytics Library (oneDAL) is a powerful machine learning library that helps you accelerate big data analysis at all stages: preprocessing, transformation, analysis, modeling, validation, and decision making.
The library implements classical machine learning algorithms. The boost in their performance is achieved by leveraging the capabilities of Intel® hardware.
The oneDAL is part of the UXL Foundation and is an implementation of the oneAPI specification for oneDAL component.
Usage
There are different ways for you to build high-performance data science applications that use the advantages of oneDAL:
- Use oneDAL C++ interfaces with or without SYCL support (learn more)
- Use Intel(R) Extension for Scikit-learn* to accelerate existing scikit-learn code without changing it
- Use daal4py, a standalone package with Python API for oneDAL Deprecation Notice: The Java interfaces are removed from the oneDAL library.
Installation
Check the System Requirements before installing to ensure compatibility with your system.
There are several options available for installing oneDAL:
-
Binary Distribution: You can download pre-built binary packages from the following sources:
-
Intel® oneAPI:
- Download as Part of the Intel® oneAPI Base Toolkit
- Download as the Stand-Alone Intel® oneAPI Data Analytics Library
-
Anaconda:
Channel Version intel conda-forge
-
-
Source Distribution: You can build the library from source. To do this, download the specific version of oneDAL from the official GitHub repository and follow the instructions in the INSTALL.md.
Examples
C++ Examples:
Python Examples:
<details><summary>Other Examples</summary> </details>Documentation
oneDAL documentation:
Other related documentation:
Apache Spark MLlib
oneDAL library is used for Spark MLlib acceleration as part of OAP MLlib project and allows you to get a 3-18x increase in performance compared to the default Apache Spark MLlib.
<img style="display:inline;" height=300 width=550 src="docs/readme-charts/intel%20oneDAL%20Spark%20samples%20vs%20Apache%20Spark%20MLlib.png"></a>
Technical details: FPType: double; HW: 7 x m5.2xlarge AWS instances; SW: Intel DAAL 2020 Gold, Apache Spark 2.4.4, emr-5.27.0; Spark config num executors 12, executor cores 8, executor memory 19GB, task cpus 8
Scaling
oneDAL supports distributed computation mode that shows excellent results for strong and weak scaling:
oneDAL K-Means fit, strong scaling result | oneDAL K-Means fit, weak scaling results |
---|---|
Technical details: FPType: float32; HW: Intel Xeon Processor E5-2698 v3 @2.3GHz, 2 sockets, 16 cores per socket; SW: Intel® DAAL (2019.3), MPI4Py (3.0.0), Intel® Distribution Of Python (IDP) 3.6.8; Details available in the article https://arxiv.org/abs/1909.11822
Governance
The oneDAL project is governed by the UXL Foundation and you can get involved in this project in multiple ways. It is possible to join the AI Special Interest Group (SIG) meetings where the group discuss and demonstrates work using this project. Members can also join the Open Source and Specification Working Group meetings.
You can also join the mailing lists for the UXL Foundation to be informed of when meetings are happening and receive the latest information and discussions.
You can contribute to this project and also contribute to the specification for this project, read the CONTRIBUTING page for more information.
Support
Ask questions and engage in discussions with oneDAL developers, contributers, and other users through the following channels:
You may reach out to project maintainers privately at onedal.maintainers@intel.com.
Security <!-- omit in toc -->
To report a vulnerability, refer to Intel vulnerability reporting policy.
Contribute <!-- omit in toc -->
We welcome community contributions. Check our contributing guidelines to learn more. You can also contact the oneDAL team via UXL Foundation Slack using #onedal channel.
License <!-- omit in toc -->
oneDAL is distributed under the Apache License 2.0 license. See LICENSE for more information.
oneMKL FPK microlibs are distributed under Intel Simplified Software License. Refer to third-party-programs-mkl.txt for details.