Update cml.yml

This commit is contained in:
quandanrepo 2023-08-19 17:40:05 +01:00 committed by GitHub
parent 8ec38b1c5c
commit 8f06e41892
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,14 +17,16 @@ jobs:
run: |
ls
cd model_data/simulation_system
pip install -r requirements.txt
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
pip install seaborn matplotlib
python3 -c "import seaborn as sns; import matplotlib.pyplot as plt; sns.scatterplot(data=[0,1,2,3]); plt.savefig('test.png')"
# pip install -r requirements.txt
# 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
echo "## Residuals plot from model" > report.md
metrics_location=$(find . -maxdepth 10 -name "residuals.png")
echo $metrics_location
# metrics_location=$(find . -maxdepth 10 -name "residuals.png")
# echo $metrics_location
# cd $metric_location
echo "![](./residuals.png)" >> report.md
echo "![](./test.png)" >> report.md
cml comment create report.md