Skip to content

PetrovKP/svm_benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVM Benchmarks

Dependencies

pip install -r requirements.txt

Setting up the environment

Directory for saving and unloading datasets while the benchmark is running
```bash
export DATASETSROOT=<enter absolute path>

Download datasets

python workloads/load_datasets.py

Running benchmarks

For runs all workloads:

python benchmarks/svm_workload_run.py

For runs of the selected workload:

python benchmarks/svm_workload_run.py --workload a9a

You can choose library: sklearn, cuml, thundersvm, sklearn-intelex For runs of the selected library. By default using sklearn with oneDAL optimizations (sklearn-intelex). Example for thundersvm library:

python benchmarks/svm_workload_run.py --library thundersvm

NOTE: for thundersvm/cuml runs need thundersvm/cuml library. Can you download with help pip or conda

You can also choose a task for the svm: svc, svc_proba, svr. By default svc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages