Update cml.yml

This commit is contained in:
quandanrepo 2023-08-19 14:39:47 +01:00 committed by GitHub
parent e50a877374
commit 0ee20ac5dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,8 +21,12 @@ 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")
cml-publish $(plot_location) --md >> report.md
cml comment create report.md