The Expected vs actual page of the dashboard compares what a model expected for the building’s electricity use with what was actually measured. Since PR #9, you can choose which model to look at and compare it with others in the same chart.
reports/test_predictions.parquet: B1, B2, B3, Ridge and LightGBM.Alert model (LightGBM, all months)).reports/test_predictions.parquet doesn’t exist, the page shows an explanation instead of the models. The file is created by notebooks/02_models.ipynb.| File | What it does |
|---|---|
dashboard/views/expected_vs_actual.py |
The page: model dropdown, “Compare with” box, fallback warning, highlighted quality chart |
dashboard/data_loader.py |
load_model_predictions() reads the hourly predictions of every model on the test months (cached with @st.cache_data) |
cd dashboard
streamlit run app.py
Then open the Expected vs actual page and try the week of 02 Jan 2023: change the model and compare two more in the same chart.
Added in pull request #9 (commit 456b955), by Edinav03.