streamlit dashboard kickstarter
- Minimalistic way how to create
streamlit
interactive dashboard using exemplary ML Iris dataset. - With 130 lines of code, you train model, visualize results, and create interactive environment for the user to look into your KMeans clustering.
- to investigate how the codes work, play with the jupyter NB
- Btw. Colab has free GPU support, if you ever need it for ML testing.
- This can be done using the links below, no python needed.
Run | Run | View | |
---|---|---|---|
Iris dataset |
- Clone the repository
pip install -r requirements.txt
streamlit run app.py
- In the upper right hand corner is option to deploy the app.
- You can still deploy and edit with codespaces without much testing though.
- Go to streamlit
- Sign in with GH, gmail or other
- If you want to run dashboard from your organization, follow instructions here
- Create app
- repo: Py-ualg/geeksessions-streamlit
- branch: main
- Main file-path: app.py
- app URL: UP-TO-YOU.
- You should have the app functional and running
- For each input, in addition to classification, show also the probabilities of classes
- KMeans are not good for that, perhaps try XBoost classifier.
Model
tab: How to visualize the 4D data:- pairplot (seaborn library)
- 3D + color hue?
- Confusion matrix (for train and test data), docs.
Prediction
tab: Visualize input values against testing data using the plotClusters function
- Let's make interactive dashboard which is useful for GeekSessions community
- List of active tech people in Algarve
- Events
- Contacts and calendar
- Skills for collaborating
- Database (tables in pandas for simplicity)
- visualization (maps, calendar, links)
- search