Examples

Note

Scikit-learn patching functionality in daal4py was deprecated and moved to a separate package, Intel(R) Extension for Scikit-learn*. All future patches will be available only in Intel(R) Extension for Scikit-learn*. Use the scikit-learn-intelex package instead of daal4py for the scikit-learn acceleration.

Below are examples on how to utilize daal4py for various usage styles.

General usage

Building models from Gradient Boosting frameworks

Principal Component Analysis (PCA) Transform

Singular Value Decomposition (SVD)

Moments of Low Order

Correlation and Variance-Covariance Matrices

Decision Forest Classification

Decision Tree Classification

Gradient Boosted Classification

k-Nearest Neighbors (kNN)

Multinomial Naive Bayes

Support Vector Machine (SVM)

Logistic Regression

Decision Forest Regression

Gradient Boosted Regression

Linear Regression

Ridge Regression

K-Means Clustering

Multivariate Outlier Detection

Univariate Outlier Detection

Optimization Solvers-Mean Squared Error Algorithm (MSE)

Logistic Loss

Stochastic Gradient Descent Algorithm

Limited-Memory Broyden-Fletcher-Goldfarb-Shanno Algorithm

Adaptive Subgradient Method

Cosine Distance Matrix

Correlation Distance Matrix

Trees