Linear Models, Data, Artificial Intelligence, Machine Learning.
our models better generalize to new data, sklearn has inbuilt regularization in it’s LogisticRegression class. There are 2 main types of regularization: L1 Regularization = shrinks smaller coefficients to zero, basically reducing features (feature selection) L2 Regularization = shrinks all features