Skip to content

Instantly share code, notes, and snippets.

@MaxHalford
Created March 25, 2020 12:53
Show Gist options
  • Save MaxHalford/81fdfdf3bcb461e9b24a9b8b5dde5fd3 to your computer and use it in GitHub Desktop.
Save MaxHalford/81fdfdf3bcb461e9b24a9b8b5dde5fd3 to your computer and use it in GitHub Desktop.
Linear regression benchmarks
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