From 975f9627f2580ed0cf47d9e60fa208b6b20bfea1 Mon Sep 17 00:00:00 2001 From: cavbtech Date: Sun, 4 Jul 2021 14:21:06 +0530 Subject: [PATCH 1/2] Create README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 00000000..a41e8e19 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# mlops-iris +ML-Ops demo using a FastAPI application +created for CAVBTECH account From be7c229492283d5199a326f048810178e7200fe9 Mon Sep 17 00:00:00 2001 From: cavbtech Date: Sun, 4 Jul 2021 14:27:04 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a41e8e19..2e515743 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ -# mlops-iris -ML-Ops demo using a FastAPI application -created for CAVBTECH account +ML-Ops Demo/Assignment +This repository contains code which demonstrates ML-Ops using a FastAPI application which predicts the flower class using the IRIS dataset (https://scikit-learn.org/stable/auto_examples/datasets/plot_iris_dataset.html) + +Running Instructions +Create a fork of the repo using the fork button. +Clone your fork using git clone https://www.github.com//mlops-iris.git +Install dependencies using pip3 install requirements.txt +Run application using python3 main.py +Run tests using pytest +CI/CD +build (test) for all the pull requests +build (test) and upload_zip for all pushes +Assignment Tasks +Change this README to add your name here: . Add and commit changes to a new branch and create a pull request ONLY TO YOUR OWN FORK to see the CI/CD build happening. If the build succeeds, merge the pull request with master and see the CI/CD upload_zip take place. +Add 2 more unit tests of your choice to test_app.py and make sure they are passing. +Add one more classifier to startup and use only the one with better accuracy. +Add the attribute timestamp to the response and return the current time with it.