8000 GitHub - spsarkar/ml-monitor-streamlit: Evaluate and monitor ML models with streamlit
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

spsarkar/ml-monitor-streamlit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ML monitoring dashboard with Evidently and Streamlit

This example shows how to get a Streamlit dashboard for monitoring data and model metrics with Evidently.

Evidently dashboard with Streamlit

👩‍💻 Installation

1. Fork / Clone this repository

Get the evidently code example:

git clone git@github.com:evidentlyai/evidently.git
cd evidently/examples/integrations/streamlit-dashboard

2. Create virtual environment

Note:

  • it's recommended to use Python >= 3.9.12
  • the streamlit version 1.19.0 doesn't work with Python 3.9.7

Create virtual environment named .venv and install python libraries

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Set up Jupyter Notebook

python -m ipykernel install --user --name=evidently
jupyter contrib nbextension install --user
jupyter nbextension enable toc2/main

📺 Launch Monitoring Dashboards

Navigate to streamlit-app/ directory and launch Streamlit application

cd streamlit-app 
streamlit run app.py

This command launches a local Streamlit server and the Monitoring Dashboard app will open in a new tab in your default web browser.

▶️ Generate monitoring reports with Evidently

Examples for Bike Sharing project

1. Run Jupyter Notebook

cd projects/bike-sharing
jupyter notebook

2. Generate new reports

  • Open notebook bicycle_demand_monitoring.ipynb
  • Run all cells to get predictions & generate Evidently reports

Notes:

  • All Evidently reports (.html files) are stored in reports/ directory in each project

📚 Documentation

About

Evaluate and monitor ML models with streamlit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 99.6%
  • Other 0.4%
0