-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from vb100/experiment
Create cml.yaml
- Loading branch information
Showing
2 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: mlops-exaple-tensorflow-regression | ||
on: [push] | ||
jobs: | ||
run: | ||
runs-on: [ubuntu-latest] | ||
container: docker://dvcorg/cml-py3:latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: 'Train my model' | ||
env: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
# Your ML workflow goes here | ||
pip install -r requirements.txt | ||
python model.py | ||
echo "## Model Metrics" > report.md | ||
cat metrics.txt >> report.md | ||
echo "\n## Model Performance" >> report.md | ||
echo "Model performance metrics are on the plot below." >> report.md | ||
cml-publish model_results.png --md >> report.md | ||
cml-send-comment report.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77b226d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Model Metrics
Mean Absolute Error = 3.74, Mean Squared Error = 17.07.
Model Performance
Model performance metrics are on the plot below.