mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-30 13:10:43 +00:00
clean up code
This commit is contained in:
parent
383d4f3441
commit
a9bde8f86d
1 changed files with 34 additions and 34 deletions
68
.github/workflows/MLPipelinePullRequest.yml
vendored
68
.github/workflows/MLPipelinePullRequest.yml
vendored
|
|
@ -40,43 +40,43 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
docker run prediction_test
|
docker run prediction_test
|
||||||
|
|
||||||
# Trigger-CML:
|
Trigger-CML:
|
||||||
|
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# - name: Install packages to retrieve artifacts
|
- name: Install packages to retrieve artifacts
|
||||||
# env:
|
env:
|
||||||
# AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID }}
|
||||||
# AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY }}
|
||||||
# run: |
|
run: |
|
||||||
# pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
# pip install dvc dvc_s3
|
pip install dvc dvc_s3
|
||||||
# # pip install -r src/requirements/predictions/requirements-dev.txt
|
# pip install -r src/requirements/predictions/requirements-dev.txt
|
||||||
|
|
||||||
# - name: Retrieve artifacts (dvc.lock)
|
- name: Retrieve artifacts (dvc.lock)
|
||||||
# env:
|
env:
|
||||||
# AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID }}
|
||||||
# AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY }}
|
||||||
# run: |
|
run: |
|
||||||
# cd modules/ml-pipeline/src/pipeline/src
|
cd modules/ml-pipeline/src/pipeline/src
|
||||||
# dvc pull -r experiments
|
dvc pull -r experiments
|
||||||
|
|
||||||
# - name: Generate report
|
# - name: Generate report
|
||||||
# - uses: actions/setup-python@v4
|
# - uses: actions/setup-python@v4
|
||||||
# - uses: iterative/setup-cml@v1
|
# - uses: iterative/setup-cml@v1
|
||||||
# env:
|
# env:
|
||||||
# REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# run: |
|
# run: |
|
||||||
# cd modules/ml-pipeline/src/pipeline/src
|
# cd modules/ml-pipeline/src/pipeline/src
|
||||||
# echo "## Model metrics" > report.md
|
# echo "## Model metrics" > report.md
|
||||||
# cat metrics/metrics.json >> report.md
|
# cat metrics/metrics.json >> report.md
|
||||||
|
|
||||||
# # echo "## Residuals plot from model" >> report.md
|
# # echo "## Residuals plot from model" >> report.md
|
||||||
# # metrics_location=$(find . -maxdepth 10 -name "residuals.png")
|
# # metrics_location=$(find . -maxdepth 10 -name "residuals.png")
|
||||||
# # echo $metrics_location
|
# # echo $metrics_location
|
||||||
# # cd $metric_location
|
# # cd $metric_location
|
||||||
# # echo "" >> report.md
|
# # echo "" >> report.md
|
||||||
|
|
||||||
# cml comment create report.md
|
# cml comment create report.md
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue