Back to Templates

Article on regularization in ML

View App View Code on GitHub
shiny create -m express \
  -g https://github.com/posit-dev/py-shiny-templates/tree/main/regularization
shiny create -m core \
  -g https://github.com/posit-dev/py-shiny-templates/tree/main/regularization

An article on regularization in machine learning and statistics. The app demonstrates the effect of regularization in linear regression. The user can adjust the regularization strength to see it influence the model’s coefficients.

Packages:

  • pandas
  • scikit-learn
  • seaborn