Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cavbtech patch 1 #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
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/<your-username>/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.