Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/cml.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: model-wine-quality
on: [push]
jobs:
run:
runs-on: [ubuntu-latest]
container: docker://dvcorg/cml-py3:latest
steps:
- uses: actions/checkout@v2
- name: cml_run
env:
repo_token: ${{ secrets.GITHUB_TOKEN }}
run:
# Your ML workflow goes here
echo “deb http://ftp.us.debian.org/debian testing main contrib non-free” >> /etc/apt/sources.list
apt-get update apt-get install build-essential -y

pip install -r requirements.txt
python train.py

echo "## MODEL METRICS" > report.md
cat metrics.txt >> report.md

echo "## Data viz" >> report.md
cml-publish feature_importance.png --md >> report.md
cml-publish residuals.png --md >> report.md

cml-send-comment report.md