Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assignment - 1 [ Total Marks - 2 5 ] M 1 : MLOps Foundations Objective: Understand the basics of MLOps and implement a simple
AssignmentTotal Marks
M: MLOps Foundations
Objective: Understand the basics of MLOps and implement a simple CICD
pipeline.
Tasks:
Set Up a CICD Pipeline:
Use a CICD tool like GitHub Actions or GitLab CI to set up a pipeline for a
sample machine learning project.
Include stages for linting, testing, and deploying a simple machine
learning model.
Version Control:
Implement version control for your project using Git.
Demonstrate branching, merging, and pull requests.
Deliverables:
A report detailing the CICD pipeline stages.
Screenshots or logs showing successful runs of the pipeline.
A Git repository link with branches and merge history.
M: Process and Tooling
Objective: Gain handson experience with popular MLOps tools and
understand the processes they support.
Tasks:
Experiment Tracking:
Use MLflow to track experiments for a machine learning project.
Record metrics, parameters, and results of at least three different model
training runs.
Data Versioning:
Use DVC Data Version Control to version control a dataset used in your
project.
Show how to revert to a previous version of the dataset.
Deliverables:
MLflow experiment logs with different runs and their results.
A DVC repository showing different versions of the dataset.
M: Model Experimentation and Packaging
Objective: Train a machine learning model, perform hyperparameter tuning,
and package the model for deployment.
Tasks:
Hyperparameter Tuning:
Use a library like Optuna or Scikitlearns GridSearchCV to perform
hyperparameter tuning on a chosen model.
Document the tuning process and the best parameters found.
Model Packaging:
Package the bestperforming model using tools like Docker and Flask.
Create a Dockerfile and a simple Flask application to serve the model.
Deliverables:
A report on hyperparameter tuning results.
A Dockerfile and Flask application code.
Screenshots of the model running in a Docker container.
M: Model Deployment & Orchestration Optional
Objective: Deploy a machine learning model and orchestrate its operations
using Kubernetes.
Tasks:
Model Deployment:
Deploy the Dockerized model from M to a cloud platform like AWS,
Azure, or GCP
Use a platform service like AWS ECS, Azure AKS, or Google Kubernetes
Engine GKE
Orchestration:
Set up a Kubernetes cluster.
Deploy the model using Kubernetes and create a Helm chart for
managing deployments.
Deliverables:
A link to the deployed model endpoint.
Kubernetes configuration files and Helm chart.
A report detailing the deployment and orchestration process.
M: Final Deliverables
A zip file containing:
Code
Data
Model
A onepage summary that includes:
Description of the work completed
Justification for the choices made
A screen recording maximum minutes that:
Explains the work done
Shows the results
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started