Update cml.yml

This commit is contained in:
quandanrepo 2023-08-19 16:41:35 +01:00 committed by GitHub
parent 8c94551be2
commit 08d0669342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,14 +20,14 @@ jobs:
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
echo "## Residuals plot from model" > report.md
metrics_location=$(find . -maxdepth 10 -name "residuals.png")
echo $metrics_location
# cd $metric_location
echo "![](./residuals.png)" >> report.md
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
cml comment create report.md