Home

Awesome

Simple Python ML Web App

Just one of the things I'm learning. https://github.com/hchiam/learning

Following a tutorial by Chanin Nantasenamat.

The key part: streamlit

Setup

pip install streamlit
pip install pandas
pip install -U scikit-learn

or

pip3 install streamlit
pip3 install pandas
pip3 install -U scikit-learn

then

streamlit run iris-ml-app.py

Tutorial / more info

Especially look for the "Line-by-line explanation of the code": https://towardsdatascience.com/how-to-build-a-simple-machine-learning-web-app-in-python-68a45a0e0291