In [1]:
from sklearn_benchmarks.reporting.utils import ReportingInfo
from pathlib import Path
import pandas as pd
from sklearn_benchmarks.utils import default_results_directory
pd.set_option('display.max_colwidth', None)
pd.set_option('display.max_columns', None)
pd.set_option('display.max_rows', None)

sklearn_benchmarks reporting¶

In [2]:
results_dir = default_results_directory()
In [3]:
# Parameters
results_dir = "./results/local/20220314T000704/"
In [4]:
results_dir = Path(results_dir)
In [5]:
reporting_info = ReportingInfo(results_dir=results_dir)
reporting_info.display()

Last run: Monday 14 March, 2022 at 00:07:04.

Notebooks¶

scikit-learn-intelex (Intel® oneAPI) vs. scikit-learn benchmarks

ONNX Runtime (Microsoft) vs. scikit-learn benchmarks

Gradient boosting: randomized HPO benchmarks

Benchmark environment information¶

System¶

python 3.8.12 | packaged by conda-forge | (default, Jan 30 2022, 23:42:07) [GCC 9.4.0]
executable /usr/share/miniconda/envs/sklbench/bin/python
machine Linux-5.11.0-1028-azure-x86_64-with-glibc2.10

Dependencies¶

version
pip 22.0.4
setuptools 60.9.3
sklearn 1.0.2
numpy 1.22.3
scipy 1.8.0
Cython None
pandas 1.4.1
matplotlib 3.5.1
joblib 1.1.0
threadpoolctl 3.1.0

Threadpool¶

user_api internal_api prefix filepath version threading_layer architecture num_threads
0 blas openblas libopenblas /usr/share/miniconda/envs/sklbench/lib/libopenblasp-r0.3.18.so 0.3.18 pthreads SkylakeX 2
1 openmp openmp libgomp /usr/share/miniconda/envs/sklbench/lib/libgomp.so.1.0.0 None NaN NaN 2

CPU count¶

cpu_count 2
physical_cpu_count 2

Time report¶

Total time elapsed: 1h 49m 33s

Hyperparameters match benchmarks¶

time elapsed
estimator
sklearnex_PCA 2s
sklearnex_Ridge 5s
sklearnex_KMeans_short 6s
sklearn_KMeans_short 10s
sklearn_PCA 11s
sklearn_Ridge 13s
sklearnex_LinearRegression 17s
sklearnex_KNeighborsClassifier_brute_force 17s
sklearnex_LogisticRegression 25s
sklearn_TSNE 31s
sklearnex_TSNE 32s
sklearn_LogisticRegression 44s
sklearn_LinearRegression 50s
sklearnex_KNeighborsClassifier_kd_tree 58s
sklearnex_KMeans_tall 59s
sklearn_KMeans_tall 1m 21s
sklearn_HistGradientBoostingClassifier_best 1m 42s
sklearnex_DBSCAN 3m 54s
sklearn_KNeighborsClassifier_kd_tree 4m 8s
sklearn_KNeighborsClassifier_brute_force 12m 34s
sklearn_DBSCAN 27m 51s

Hyperparameters optimization benchmarks¶

time elapsed
estimator
sklearn_HistGradientBoostingClassifier 10m 6s
xgboost 10m 12s
lightgbm 10m 17s
catboost_lossguide 10m 33s
catboost_symmetric 10m 35s