MLOps lifecycle description
Key Takeaways
The MLOps lifecycle is described, highlighting its complexity compared to traditional software development lifecycles, and how it involves data engineering, model training, and deployment, with a focus on reproducibility and monitoring. Tools and techniques such as versioning, CI, and Docker are mentioned.
Full Transcript
life-cycle sorry the ml the ml ops lifecycle is just fundamentally more complicated than the software development lifecycle so when you're doing software development and life is easy it kind of it's easier anyway because all you need to do is you need to think about versioning specific versions of your code because as long as your doctor izing things then you ought to only need to know exactly which version of the code was used plus the doc file and dependencies in order to reproducibly build the same or effectively the same deployable artifact and so you can build you can create code you can test that code in CI you can deploy that code into production and then your monitoring system can tell you how well it's performing maybe you need to upgrade a database maybe you need to go and optimize a certain code path and you can go around this loop as quickly as you can that's basically what we're doing with tables but with machine learning in ml ops you've got this fundamentally more complicated thing going on which is that you've got data coming into the system which is a major form of entropy and you've got code that's that's being written to train the models and you've got parameters which are being fed in to the training the models the model runs the training model run the model training runs sorry and all of these things combined and before you even train a model you've also got the data runs which is when you're doing feature engineering or your filtering or splitting the data and so you're executing a certain version of a piece of code against a certain input dataset and creating an intermediate dataset that's what a data run is or you're you're running a certain version of a piece of code against an input dataset like a test training validation set and then you're creating a model as an output and so when you're doing ml when you're developing machine you are doing these data runs and these model runs whether you're keeping track of them or not these might be the cells that you're running your dupes are notebook or the Python scripts that you run on your laptop and these runs are happening you just haven't given a name to them and so what we've realized is that it's really important to introduce this notion of run as a kind of a building block it's a fundamental object in the system when you're doing ml outs it's this version of this piece of code ran in this environment with this input data and these parameters and it created this output and one of those types of outputs like I said is models and then the model itself the serialize model file is the deploy Balazs fax it has some metrics associated with it like how well it performed against the validations data and then it's that model that you're deploying into production and then you're monitoring in the way that I described that monitoring models is different to monitoring microservices and and then you're monitoring might actually cause you to go back around all sorts of different loops through this diagram so that's kind of the the flow that we're looking at here and so I'm a little short on time so I'm going to skip over the lifecycle quickly and the lifecycle is really just a visual representation of how the diagram I just showed you is cyclic and so you do data engineering you need to keep track of the data runs when you're doing things like feature engineering and then you train a model which means you take a certain version of the data and you you train the model and out of the model development process come serialized models typically docker images with serialize models baked into them and then those serialize models get run in production or staging and then production and then there are these kind of two feedback loops there's the statistical monitoring feedback loop which is the first one where you can say show me the behavior of my model in production in real time based on like the distribution of classifications it's making and then there's also this slow feedback loop which is that you retrain the models with new data as you get new data coming in and of course the model making decisions can change the world and so can also impact on the data that is being recorded in the database so so that's kind of the the ml ops lifecycle and and hopefully I've adequately answered the first part of the talk title now which is what is ml ours my opinion is that ml Ops is not just about operating models it's actually about the entire lifecycle of doing data engineering training models and then getting models into production and it's about being able to implement this process in in your company or in your organization with the same level of rigor that sort of best-in-class DevOps and software engineering teams manage and so
Original Description
Machine Learning lifecycle vs traditional software development lifecycles. How do they differ, how are they the same, what can be done about making Machine Learning lifecycles easier?
Exert taken from Luke Marsden's talk on what is MLOps and how can it help us work remotely. https://www.youtube.com/watch?v=P5cNwyeq0_c&t=3s
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from MLOps.community · MLOps.community · 4 of 60
1
2
3
▶
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Our 1st MLOps Meetup // Luke Marsden // MLOps Meetup #1
MLOps.community
Remote Collaboration as a Data Scientist
MLOps.community
MLOps Manifesto with Luke Marsden from Dotscience
MLOps.community
MLOps lifecycle description
MLOps.community
What Does Best in Class AI/ML Governance Look Like in Fin Services? // Charles Radclyffe // MLOps #2
MLOps.community
Life purpose and too many spreadsheets
MLOps.community
Explainability, Black boxes and EU white paper on reproducibility
MLOps.community
Hierarchy of Machine Learning Needs // Phil Winder // MLOps Meetup #3
MLOps.community
Automatically Retrain Machine Learning Models? Are best practices worth it?
MLOps.community
Building an MLOps Team? Key ideas to keep in mind
MLOps.community
Hierarchy of MLOps Needs
MLOps.community
Bare necessities for getting an ML model into production
MLOps.community
MLOps and Monitoring
MLOps.community
How Phil Winder got into Data Science and Software Engineering
MLOps.community
Provenance and Reproducibility in Machine Learning; what is it and why you need it?
MLOps.community
Friction Between Data Scientists and Software Engineers
MLOps.community
MLOps Problems in different size companies
MLOps.community
ML tooling in large companies
MLOps.community
ML Platforms - The build vs buy question
MLOps.community
ML Services Gateway at SurveyMonkey
MLOps.community
Message buses, Async and sync architecture
MLOps.community
MLOps #4: Shubhi Jain - Building an ML Platform @SurveyMonkey
MLOps.community
Hybrid Data Science Teams @SurveyMonkey
MLOps.community
How do you handle ML version control at SurveyMonkey
MLOps.community
Doing ML with Personal Information
MLOps.community
Evolution of the ML feature store @SurveyMonkey
MLOps.community
Developing a Machine Learning Feature Store
MLOps.community
Auto retrain ML models is not the question
MLOps.community
3 key parts to Machine Learning monitoring
MLOps.community
MLOps Meetup #6: Mid-Scale Production Feature Engineering with Dr. Venkata Pingali
MLOps.community
MLOps meetup #5 High Stakes ML: Active Failures, Latent Factors with Flavio Clesio
MLOps.community
MLOps: Airflow Pros and Cons
MLOps.community
Specific challenges in Machine Learning
MLOps.community
Current State Of Machine Learning
MLOps.community
Humans in the Loop are a defining factor in Machine Learning
MLOps.community
Learning from real life Machine Learning failures
MLOps.community
Survivorship Bias in machine learning tutorials
MLOps.community
Swiss Cheese model in Machine Learning
MLOps.community
Resume driven development in Machine learning & software engineering
MLOps.community
Who has the highest standards in ML?
MLOps.community
Venkata Pingali of Scribble Data Thoughts on the Current State of Machine Learning
MLOps.community
Dependable data and being able to Trust in your Data with Venkata Pengali of Scribble Data
MLOps.community
Speed, Trust, Evolution and Scale in MLOps
MLOps.community
More difficult transition for data scientists to become ML engineers
MLOps.community
How many models in prod til I need a dedicated ML platform?
MLOps.community
Deeper thinking from data scientists around platform blackholes
MLOps.community
Checkpointing, metadata, and confidence in your data
MLOps.community
Adjacent usecases and multistep feature engineering
MLOps.community
Standardization of Machine Learning tools like in Software Engineering with Venkata Pingali
MLOps.community
Reproducability flaws in end to end Machine Learning debugging
MLOps.community
3rd wave of data scientists
MLOps.community
MLOps meetup #7 Alex Spanos // TrueLayer 's MLOps Pipeline
MLOps.community
MLOps Meetup #8 Optimizing Your ML Workflow with Kubeflow 1.0
MLOps.community
Are Kubeflow and Airflow complementary?
MLOps.community
Why Kubeflow gained so much traction=open community
MLOps.community
Who decides the dirrection of Kubeflow
MLOps.community
What do Kubeflow and Arrikto do and how do they work together?
MLOps.community
Versioning your ML steps with Kubeflow
MLOps.community
Machine Learning Lifecycles//Perception vs Reality
MLOps.community
Kubeflow vs SageMaker in Machine Learning
MLOps.community
More on: ML Pipelines
View skill →Related Reads
🎓
Tutor Explanation
DeepCamp AI