Skip to content

Instantly share code, notes, and snippets.

@shedoesdatascience
Last active April 14, 2021 03:36
Show Gist options
  • Save shedoesdatascience/a93df2e309681584c81620629792f967 to your computer and use it in GitHub Desktop.
Save shedoesdatascience/a93df2e309681584c81620629792f967 to your computer and use it in GitHub Desktop.
tables
Pros Cons
Easy to interpret and understand sensitive to input data range and requires normalization/standardization
Does not assume distribution of classes Fits linear boundaries
Can be extended to multi-classes Requires no multicollinearity amongst input features
Runs quickly Has a linear decision surface; cannot be used for non-linear problems
Model coefficients can be used as indicators of feature importance Cannot be used to understand complex relationships between variables
Overfitting occurs if number of features is smaller than dataset size Overfitting can be minimized via regularization of the C parameter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment