Skip to content

Instantly share code, notes, and snippets.

@chyld
Created September 23, 2019 16:08
Show Gist options
  • Save chyld/25dcdec7dffb7fb84272db3ae2c876af to your computer and use it in GitHub Desktop.
Save chyld/25dcdec7dffb7fb84272db3ae2c876af to your computer and use it in GitHub Desktop.
- what is bias and variance in your model
- too much bias - add features
- too much variance - remove features, add data, ridge or lasso (regularization)
- ridge L2 - reduce the impact of your features
- lasso L1 - feature selection
- cross validation - use new data for validating model
- kfold, train_test_split
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment