From 8f06e41892e35b25360d9406cd48ce2e1675fcb1 Mon Sep 17 00:00:00 2001 From: quandanrepo <45804868+quandanrepo@users.noreply.github.com> Date: Sat, 19 Aug 2023 17:40:05 +0100 Subject: [PATCH] Update cml.yml --- .github/workflows/cml.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cml.yml b/.github/workflows/cml.yml index 21a44336..c89b70fd 100644 --- a/.github/workflows/cml.yml +++ b/.github/workflows/cml.yml @@ -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