diff --git a/.github/workflows/cml.yml b/.github/workflows/cml.yml index b52a3932..26e79314 100644 --- a/.github/workflows/cml.yml +++ b/.github/workflows/cml.yml @@ -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