From 23c498f69fba8c3018322280eee85d71f5e184f7 Mon Sep 17 00:00:00 2001 From: s174139 Date: Tue, 9 Jan 2024 21:53:13 +0100 Subject: [PATCH 1/3] commit to cloud --- cloudbuild.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 0a0a159..1e291d8 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -1,5 +1,5 @@ steps: - name: 'gcr.io/cloud-builders/docker' - args: ['build', '-t', 'gcr.io/dtumlops-335110/testing', '.'] + args: ['build', '-t', 'gcr.io/ dtumlops-410714/testing_m21', '.'] - name: 'gcr.io/cloud-builders/docker' - args: ['push', 'gcr.io/dtumlops-335110/testing'] \ No newline at end of file + args: ['push', 'gcr.io/ dtumlops-410714/testing_m21'] \ No newline at end of file From 772b20f146954f867b7e005d00f612465ac7ec30 Mon Sep 17 00:00:00 2001 From: s174139 Date: Wed, 10 Jan 2024 13:34:41 +0100 Subject: [PATCH 2/3] try one more commit --- cloudbuild.yaml | 3 ++- main.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 1e291d8..f6f1550 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -2,4 +2,5 @@ steps: - name: 'gcr.io/cloud-builders/docker' args: ['build', '-t', 'gcr.io/ dtumlops-410714/testing_m21', '.'] - name: 'gcr.io/cloud-builders/docker' - args: ['push', 'gcr.io/ dtumlops-410714/testing_m21'] \ No newline at end of file + args: ['push', 'gcr.io/ dtumlops-410714/testing_m21'] + diff --git a/main.py b/main.py index a433ba9..cbd68e8 100644 --- a/main.py +++ b/main.py @@ -1,6 +1,6 @@ from sklearn import datasets, svm, metrics from sklearn.model_selection import train_test_split - +#This looks good! I made a change here :) if __name__ == '__main__': digits = datasets.load_digits() From 3c5232caf8ad4427c7cba5a1b58db38ccc24f7f6 Mon Sep 17 00:00:00 2001 From: s174139 Date: Wed, 10 Jan 2024 13:44:37 +0100 Subject: [PATCH 3/3] edited print statement --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index cbd68e8..394401d 100644 --- a/main.py +++ b/main.py @@ -24,7 +24,7 @@ predicted = clf.predict(X_test) print( - f"Classification report for classifier {clf}:\n" + f"Classification report for classifier from skaftes original, pushed to local repo {clf}:\n" f"{metrics.classification_report(y_test, predicted)}\n" )