mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Update cml.yml
This commit is contained in:
parent
bc46d90bc2
commit
496fea20d3
1 changed files with 12 additions and 12 deletions
24
.github/workflows/cml.yml
vendored
24
.github/workflows/cml.yml
vendored
|
|
@ -17,22 +17,22 @@ jobs:
|
|||
run: |
|
||||
ls
|
||||
cd model_data/simulation_system
|
||||
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
|
||||
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
|
||||
cd model_directory/RDSAP_CHANGE
|
||||
echo "## Model metrics" > report.md
|
||||
metrics_location=$(find . -maxdepth 10 -name "metrics.md")
|
||||
echo $metrics_location
|
||||
cat $metrics_location >> report.md
|
||||
|
||||
# echo "## Residuals plot from model" >> report.md
|
||||
# metrics_location=$(find . -maxdepth 10 -name "residuals.png")
|
||||
# echo $metrics_location
|
||||
# cd $metric_location
|
||||
echo "" >> report.md
|
||||
# echo "" >> report.md
|
||||
|
||||
cml comment create --log debug --publish false report.md
|
||||
cml comment create report.md
|
||||
|
||||
# cd model_directory/RDSAP_CHANGE
|
||||
# echo "## Model metrics from registry" >> report.md
|
||||
# cat model_registry.csv >> report.md
|
||||
|
||||
# cml comment create report.md
|
||||
# cml comment create --log debug --publish false report.md
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue