Skip to content

Added base files.

Added base files. #1

Workflow file for this run

name: CML
on: [push]
jobs:
train-and-report:
runs-on: ubuntu-latest
steps:
- uses: iterative/setup-cml@v1
- uses: actions/checkout@v3
- name: Train model
run: |
# Your ML workflow goes here
pip install -r requirements.txt
python train.py # generate plot.png
- name: Create CML report
env:
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Post CML report as a comment in GitHub
cat metrics.txt >> report.md
echo '![](./plot.png "Confusion Matrix")' >> report.md
cml comment create report.md