mseminatore / ann

LIBANN is a fast, portable and easy to use neural network library written in pure ANSI-C
MIT License
4 stars 1 forks source link

impl: add L1 LASSO regularization option #31

Open mseminatore opened 1 year ago

mseminatore commented 1 year ago

L1 regularization adds an L1 penalty equal to the absolute value of the magnitude of coefficients. In other words, it limits the size of the coefficients. L1 can yield sparse models (i.e. models with few coefficients); Some coefficients can become zero and eliminated. Lasso regression uses this method.