diff --git a/.github/workflows/train.yaml b/.github/workflows/train.yaml index bb18bea7..9e594d5c 100644 --- a/.github/workflows/train.yaml +++ b/.github/workflows/train.yaml @@ -17,7 +17,9 @@ jobs: echo "## Metrics: Workspace vs. Main" dvc metrics diff --show-md master > report.md + # Add figure to the report echo "## Validating results by region" >> report.md + cml-publish by_region.png --md >> report.md cml-send-comment report.md diff --git a/train.py b/train.py index 7f2c76cb..f212604f 100644 --- a/train.py +++ b/train.py @@ -27,7 +27,7 @@ X = imp.transform(X) -# Linear model +# Linear model clf = QuadraticDiscriminantAnalysis() yhat = cross_val_predict(clf, X, y, cv=5)