Supported Algorithms
Note
To verify that oneDAL is being used for these algorithms, you can enable verbose mode. See Verbose Mode for details.
Note
Beyond some parameter combinations from estimators not being supported, some features from scikit-learn are not supported as a whole - see Unsupported scikit-learn features.
Applying Extension for Scikit-learn* impacts the following scikit-learn estimators:
on CPU
Classification
Algorithm |
Parameters |
Data formats |
Other limitations |
|---|---|---|---|
|
Negative weights are not supported. |
|
|
|
Negative weights are not supported. |
|
|
All parameters are supported except:
|
Multi-output and sparse data are not supported. Missing values and infinite values are not supported. |
Number of classes must be at least 2. Nothing will be printed if |
|
All parameters are supported except:
|
Multi-output and sparse data are not supported. Missing values and infinite values are not supported. |
Number of classes must be at least 2. Nothing will be printed if |
|
|
Multi-output and sparse data are not supported. |
Number of classes must be at least 2. |
|
All parameters are supported except:
|
Sparse data is not supported. |
Solver |
|
All parameters are supported except:
|
Sparse data is not supported. |
Estimator is only available in preview mode. |
Regression
Algorithm |
Parameters |
Data formats |
|---|---|---|
|
Negative weights are not supported. |
|
|
Negative weights are not supported. |
|
All parameters are supported except:
|
Multi-output and sparse data are not supported. Missing values and infinite values are not supported. |
|
All parameters are supported except:
|
Multi-output and sparse data are not supported. Missing values and infinite values are not supported. |
|
|
Multi-output and sparse data are not supported |
|
All parameters are supported except:
|
Only dense data is supported. |
|
All parameters are supported except:
|
Only dense data is supported. |
|
All parameters are supported except:
|
Sparse data is not supported. |
|
All parameters are supported except:
|
Sparse data is not supported. |
Clustering
Algorithm |
Parameters |
Data formats |
|---|---|---|
All parameters are supported except:
|
No limitations |
|
All parameters are supported except:
|
Only dense data is supported |
Dimensionality Reduction
Algorithm |
Parameters |
Data formats |
Other limitations |
|---|---|---|---|
All parameters are supported except:
|
Sparse data is not supported |
||
All parameters are supported except:
|
Sparse data is not supported |
Estimator is only available in preview mode. |
|
All parameters are supported except:
Refer to TSNE acceleration details to learn more. |
Sparse data is not supported for the initialization and distance calculation stages. |
Anomaly Detection
Algorithm |
Parameters |
Data formats |
|---|---|---|
|
Sparse data is not supported |
Nearest Neighbors
Algorithm |
Parameters |
Data formats |
|---|---|---|
|
Sparse data is not supported |
Other Tasks
Algorithm |
Parameters |
Data formats |
Other limitations |
|---|---|---|---|
All parameters are supported |
Only dense data is supported |
Estimator is only available in preview mode. |
|
All parameters are supported |
Supported data formats:
|
Sample weights are not supported for CSR data format |
|
All parameters are supported |
Supported data formats:
|
||
All parameters are supported except:
|
Supported data formats:
|
||
All parameters are supported except:
|
Only binary |
on GPU
See also
Classification
Algorithm |
Parameters |
Data formats |
Other limitations |
|---|---|---|---|
All parameters are supported except:
|
Only dense data is supported. Negative weights are not supported. |
Only binary classification is supported. If passing |
|
All parameters are supported except:
|
Multi-output and sparse data are not supported. Missing values and infinite values are not supported. |
Number of classes must be at least 2. Nothing will be printed if |
|
All parameters are supported except:
|
Multi-output and sparse data are not supported. Missing values and infinite values are not supported. |
Number of classes must be at least 2. Nothing will be printed if |
|
All parameters are supported except:
|
Only dense data is supported. |
Number of classes must be at least 2.
The following methods are not accelerated by Extension for Scikit-learn* and will
fall back to scikit-learn on CPU, returning NumPy arrays when using
array API inputs:
|
|
All parameters are supported except:
|
No limitations. |
Only binary classification is supported. |
Regression
Algorithm |
Parameters |
Data formats |
|---|---|---|
All parameters are supported except:
|
Multi-output and sparse data are not supported. Missing values and infinite values are not supported. |
|
All parameters are supported except:
|
Multi-output and sparse data are not supported. Missing values and infinite values are not supported. |
|
All parameters are supported except:
|
Only dense data is supported.
The following methods are not accelerated by Extension for Scikit-learn* and will
fall back to scikit-learn on CPU, returning NumPy arrays when using
array API inputs:
|
|
All parameters are supported except:
|
Only dense data is supported. |
|
All parameters are supported except:
|
Only dense data is supported. |
Clustering
Algorithm |
Parameters |
Data formats |
|---|---|---|
All parameters are supported except:
|
No limitations |
|
All parameters are supported except:
|
Only dense data is supported |
Dimensionality Reduction
Algorithm |
Parameters |
Data formats |
Other limitations |
|---|---|---|---|
All parameters are supported except:
|
Sparse data is not supported |
||
All parameters are supported except:
|
Sparse data is not supported |
Estimator is only available in preview mode. |
Anomaly Detection
Algorithm |
Parameters |
Data formats |
Other limitations |
|---|---|---|---|
All parameters are supported except:
|
Only dense data is supported |
If using target_offload, some computations outside of neighbor calculations (related to thresholds for outlierness) might happen on CPU. |
Nearest Neighbors
Algorithm |
Parameters |
Data formats |
|---|---|---|
All parameters are supported except:
|
Only dense data is supported.
The following methods are not accelerated by Extension for Scikit-learn* and will
fall back to scikit-learn on CPU, returning NumPy arrays when using
array API inputs:
|
|
All parameters are supported except:
|
Only dense data is supported. |
Other Tasks
Algorithm |
Parameters |
Data formats |
Other limitations |
|---|---|---|---|
All parameters are supported |
Only dense data is supported |
Estimator is only available in preview mode. |
|
All parameters are supported |
Supported data formats:
|
Sample weights are not supported for CSR data format. |
SPMD Support
See also
Classification
Algorithm |
Parameters & Methods |
Data formats |
Other limitations |
|---|---|---|---|
All parameters are supported except:
|
Multi-output and sparse data are not supported. Missing values and infinite values are not supported. |
Number of classes must be at least 2. Nothing will be printed if |
|
All parameters are supported except:
|
Multi-output and sparse data are not supported. Missing values and infinite values are not supported. |
Number of classes must be at least 2. Nothing will be printed if |
|
All parameters are supported except:
|
Only dense data is supported. |
Number of classes must be at least 2. |
|
All parameters are supported except:
|
Method |
Only binary classification is supported |
Regression
Algorithm |
Parameters & Methods |
Data formats |
|---|---|---|
All parameters are supported except:
|
Multi-output and sparse data are not supported. Missing values and infinite values are not supported. |
|
All parameters are supported except:
|
Multi-output and sparse data are not supported. Missing values and infinite values are not supported. |
|
All parameters are supported except:
|
Only dense data is supported |
|
All parameters are supported except:
|
Only dense data is supported. |
Clustering
Algorithm |
Parameters & Methods |
Data formats |
|---|---|---|
All parameters are supported except:
|
No limitations |
|
All parameters are supported except:
|
Only dense data is supported |
Dimensionality Reduction
Algorithm |
Parameters & Methods |
Data formats |
Other limitations |
|---|---|---|---|
All parameters are supported except:
|
Sparse data is not supported |
||
All parameters are supported except:
|
Sparse data is not supported |
Estimator is only available in preview mode. |
Nearest Neighbors
Algorithm |
Parameters |
Data formats |
|---|---|---|
All parameters are supported except:
|
Only dense data is supported |
Other Tasks
Algorithm |
Parameters |
Data formats |
Other limitations |
|---|---|---|---|
All parameters are supported |
Only dense data is supported |
Estimator is only available in preview mode. |
|
All parameters are supported |
Supported data formats:
|
Sample weights not supported for CSR data format |
Scikit-learn Tests
Monkey-patched scikit-learn classes and functions passes scikit-learn’s own test suite, with few exceptions - see Scikit-learn’s test suite for details.