Created
March 25, 2020 12:53
-
-
Save MaxHalford/81fdfdf3bcb461e9b24a9b8b5dde5fd3 to your computer and use it in GitHub Desktop.
Linear regression benchmarks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Library | Method | MSE | Average fit time | Average predict time | |
---|---|---|---|---|---|
creme | LinearRegression | 23.035085 | 18μs | 4μs | |
Keras on TF (CPU) | Dense | 23.035086 | 1ms208μs | 722μs | |
PyTorch (CPU) | Linear | 23.035086 | 577μs | 187μs | |
scikit-learn | SGDRegressor | 25.295369 | 305μs | 108μs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment