szilard / benchm-ml

A minimal benchmark for scalability, speed and accuracy of commonly used open source implementations (R packages, Python scikit-learn, H2O, xgboost, Spark MLlib etc.) of the top machine learning algorithms for binary classification (random forests, gradient boosted trees, deep neural networks etc.).
MIT License
1.87k stars 334 forks source link

How to time the algorithms? #54

Closed jakobmoeller closed 6 years ago

jakobmoeller commented 6 years ago

How do you time the training time of the different algorithms? Are there tools available that can be used for all ML software?

szilard commented 6 years ago

Just measure wall time for training only, system.time in R or %time in ipython, see code examples in the repo.