Merge branch 'mlmodel' of github.com:Hestia-Homes/Model into mlmodel

This commit is contained in:
Michael Duong 2023-08-19 13:57:51 +00:00
commit 9705b511ed

View file

@ -3,6 +3,7 @@ on:
push:
branches:
- mlmodel
permissions: write-all
jobs:
run:
runs-on: ubuntu-latest
@ -20,8 +21,13 @@ jobs:
python3 training.py --train-filepath ./model_build_data/change_data/rdsap_full/train_validation_data.parquet --test-filepath ./model_build_data/change_data/rdsap_full/test_data.parquet
cd model_directory/RDSAP_CHANGE
echo "## MODEL METRICS from registry" > report.md
echo "## Model metrics from registry" > report.md
cat model_registry.csv >> report.md
echo "## Residuals plot from model" >> report.md
plot_location=$(find . -maxdepth 10 -name "residuals.png")
echo $plot_location
echo "![](${plot_location})" >> report.md
cml comment create report.md