Linear model
LinearRegression¶
Ridge¶
Lasso¶
$$
\text{Loss Function} = \text{OLS Loss Function} + \alpha * \sum_{i=1}^n \lvert a_{i} \rvert
$$
- Useful for feature importance, will start making non-significant features' coefficients zero (0).
LogisticRegression¶
- Gives probabilities for predicting 0 and 1 from which we select
[:, 1](all records from column 1, meaning "yes")