From e58037a0382a23e61e3b8fce6da87022ba063242 Mon Sep 17 00:00:00 2001 From: Selam <84750917+sel6@users.noreply.github.com> Date: Thu, 19 May 2022 17:40:30 -0800 Subject: [PATCH 1/4] Create cml.yaml --- .github/workflows/cml.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/cml.yaml diff --git a/.github/workflows/cml.yaml b/.github/workflows/cml.yaml new file mode 100644 index 0000000..bec6c6b --- /dev/null +++ b/.github/workflows/cml.yaml @@ -0,0 +1,19 @@ +name: model-training +on: [push] +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - uses: iterative/setup-cml@v1 + - name: Train model + env: + REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + pip install -r requirements.txt + python train.py + + cat metrics.txt >> report.md + cml publish plot.png --md >> report.md + cml send-comment report.md From a7cc330e60c88681a8ccf84d5829ae59099ac987 Mon Sep 17 00:00:00 2001 From: Selam <84750917+sel6@users.noreply.github.com> Date: Thu, 19 May 2022 17:44:39 -0800 Subject: [PATCH 2/4] Update cml.yaml --- .github/workflows/cml.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cml.yaml b/.github/workflows/cml.yaml index bec6c6b..065c11d 100644 --- a/.github/workflows/cml.yaml +++ b/.github/workflows/cml.yaml @@ -12,7 +12,7 @@ jobs: REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | pip install -r requirements.txt - python train.py + python depth = 5 cat metrics.txt >> report.md cml publish plot.png --md >> report.md From 13ffbbc37528945f804222b68cb6aa803cb94b48 Mon Sep 17 00:00:00 2001 From: Selam <84750917+sel6@users.noreply.github.com> Date: Thu, 19 May 2022 17:49:27 -0800 Subject: [PATCH 3/4] Delete .github/workflows directory --- .github/workflows/cml.yaml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .github/workflows/cml.yaml diff --git a/.github/workflows/cml.yaml b/.github/workflows/cml.yaml deleted file mode 100644 index 065c11d..0000000 --- a/.github/workflows/cml.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: model-training -on: [push] -jobs: - run: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - uses: iterative/setup-cml@v1 - - name: Train model - env: - REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - pip install -r requirements.txt - python depth = 5 - - cat metrics.txt >> report.md - cml publish plot.png --md >> report.md - cml send-comment report.md From 325822a2c63641675ff5a7cf9aae23e3502efd86 Mon Sep 17 00:00:00 2001 From: sel6 Date: Fri, 20 May 2022 04:57:34 +0300 Subject: [PATCH 4/4] modify forest depth --- .github/workflows/cml.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/cml.yaml diff --git a/.github/workflows/cml.yaml b/.github/workflows/cml.yaml new file mode 100644 index 0000000..065c11d --- /dev/null +++ b/.github/workflows/cml.yaml @@ -0,0 +1,19 @@ +name: model-training +on: [push] +jobs: + run: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - uses: iterative/setup-cml@v1 + - name: Train model + env: + REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + pip install -r requirements.txt + python depth = 5 + + cat metrics.txt >> report.md + cml publish plot.png --md >> report.md + cml send-comment report.md