SlideShare a Scribd company logo
Introduction to
MLFLOW
Accelerating the Machine
Learning Lifecycle
Who am I?
Fernando Ortega Gallego
Data Enginer @ Plain Concepts UK
• Interests & hobbies:
– Machine Learning and NLP
– Python, Azure and my daughter
– Honda biker
@FernanOrtega
fgallego@plainconcepts.com
Roadmap
Introduction
MLFlow Tracking
MLFlow Projects
MLFlow Models
Conclusions
Roadmap
Introduction
MLFlow Tracking
MLFlow Projects
MLFlow Models
Conclusions
Machine Learning Lifecycle
Data
prep
TrainDeploy
Raw
data
5
Problems
• Reproduce experiments
• Compare experiments
• Fine tune previous experiments
across teams
• Share data, parameters or
metrics
• Deploy trained models
7
It is difficult to productionize and share
8
Custom ML Platforms
• Facebook FBLearner, Google
TFX, Uber Michelangelo
• Advantages:
– Standarise the ML loop
• Disadvantages:
– Limited to a few algorithms or
frameworks
– Tied to the company’s
infrastructure
9
Are there any similar solutions in an open manner?
10
11
Introducing MLFlow
• It works with any ML library &
language
• It runs the same way anywhere
• It is designed to be useful both
for 1 person, small teams or big
teams
MLFlow community
13
Supported Integrations: June’19
14
MLFlow components
15
Tracking Projects Models
Roadmap
Introduction
MLFlow Tracking
MLFlow Projects
MLFlow Models
Conclusions
MLFlow Tracking
• Record and query experiments:
– Data
– Code
– Model parameters
– Results (performance metrics)
– Model
17
Tracking
Motivation
18
Centralised repository of useful information to analyse
several runs of training.
How it is working
19
Key concepts
• Parameters
• Metrics
• Tags and notes
• Artifacts
• Source
• Version
20
Code example
21
22
Demo
Roadmap
Introduction
MLFlow Tracking
MLFlow Projects
MLFlow Models
Conclusions
MLFlow Projects
• Packaging format for
reproducible ML runs
• Defines dependencies for
reproducibility
• Execution API for running
projects locally or remote
24
Projects
Motivation
25
Diverse set of tools and environments involves difficulty
to productionalize and share ML work
How it is working
26
Key concepts
• MLproject file
• Entry points
• Environments
– Conda
– Docker
– System
• Run
27
Code example
28
mlflow run git@github.com:mlflow/mlflow-example.git -P alpha=0.5
mlflow run <uri> -m databricks --cluster-spec <json-cluster-spec>
29
Demo
Roadmap
Introduction
MLFlow Tracking
MLFlow Projects
MLFlow Models
Conclusions
MLFlow Models
• Packaging format for ML Models
• Defines dependencies for
reproducibility
• Deployment APIs
31
Models
Motivation
32
ML Frameworks
Batch & Stream Scoring
Serving tools
Inference code
How it is working
33
Key concepts
• MLmodel file
• Storage format
• Entry points
• Flavours
• Custom model
34
Code example
35
36
Demo
Roadmap
Introduction
MLFlow Tracking
MLFlow Projects
MLFlow Models
Conclusions
MLFlow rocks!
• Log important parameters,
metrics, and other data that is
important to the machine
learning model
• Track the environment a model
is run on
• Run any machine learning codes
on that environment
• Deploy and export models to
various platforms with multiple
packaging formats
38
MLFlow 1.0 (4-jun)
• Support for step tracking
• Improved Search features
• Batched logging of metrics
• Support for HDFS
• Windows support for the client
• Build Docker images to deploy
• ONNX model flavour
39
MLFlow last updates (1.4: 31-oct)
• Windows support
• Tags and descriptions
• Google Cloud run models
• Log directories as artifacts
• CLI command to export to CSV
• Keras compatibility with TF 2.0
• Model Registry in preview
40
Future of MLFlow
41
Pythonsevilla2019 - Introduction to MLFlow

More Related Content

What's hot (20)

PPTX
MLOps Virtual Event | Building Machine Learning Platforms for the Full Lifecycle
Databricks
 
PDF
"Managing the Complete Machine Learning Lifecycle with MLflow"
Databricks
 
PPTX
MLOps and Data Quality: Deploying Reliable ML Models in Production
Provectus
 
PDF
Databricks Overview for MLOps
Databricks
 
PDF
Apply MLOps at Scale
Databricks
 
PDF
End to end Machine Learning using Kubeflow - Build, Train, Deploy and Manage
Animesh Singh
 
PDF
Managing the Complete Machine Learning Lifecycle with MLflow
Databricks
 
PDF
Seamless MLOps with Seldon and MLflow
Databricks
 
PDF
Vertex AI: Pipelines for your MLOps workflows
Márton Kodok
 
PDF
ML-Ops: Philosophy, Best-Practices and Tools
Jorge Davila-Chacon
 
PPTX
MLOps.pptx
AllenPeter7
 
PDF
Using MLOps to Bring ML to Production/The Promise of MLOps
Weaveworks
 
PPTX
Microsoft Azure Technical Overview
gjuljo
 
PDF
MLflow: Infrastructure for a Complete Machine Learning Life Cycle
Databricks
 
PPTX
Azure DataBricks for Data Engineering by Eugene Polonichko
Dimko Zhluktenko
 
PDF
MLOps for production-level machine learning
cnvrg.io AI OS - Hands-on ML Workshops
 
PDF
Apache Kafka Streams + Machine Learning / Deep Learning
Kai Wähner
 
PDF
ML-Ops how to bring your data science to production
Herman Wu
 
PPTX
MLOps in action
Pieter de Bruin
 
PDF
MLOps – Applying DevOps to Competitive Advantage
DATAVERSITY
 
MLOps Virtual Event | Building Machine Learning Platforms for the Full Lifecycle
Databricks
 
"Managing the Complete Machine Learning Lifecycle with MLflow"
Databricks
 
MLOps and Data Quality: Deploying Reliable ML Models in Production
Provectus
 
Databricks Overview for MLOps
Databricks
 
Apply MLOps at Scale
Databricks
 
End to end Machine Learning using Kubeflow - Build, Train, Deploy and Manage
Animesh Singh
 
Managing the Complete Machine Learning Lifecycle with MLflow
Databricks
 
Seamless MLOps with Seldon and MLflow
Databricks
 
Vertex AI: Pipelines for your MLOps workflows
Márton Kodok
 
ML-Ops: Philosophy, Best-Practices and Tools
Jorge Davila-Chacon
 
MLOps.pptx
AllenPeter7
 
Using MLOps to Bring ML to Production/The Promise of MLOps
Weaveworks
 
Microsoft Azure Technical Overview
gjuljo
 
MLflow: Infrastructure for a Complete Machine Learning Life Cycle
Databricks
 
Azure DataBricks for Data Engineering by Eugene Polonichko
Dimko Zhluktenko
 
MLOps for production-level machine learning
cnvrg.io AI OS - Hands-on ML Workshops
 
Apache Kafka Streams + Machine Learning / Deep Learning
Kai Wähner
 
ML-Ops how to bring your data science to production
Herman Wu
 
MLOps in action
Pieter de Bruin
 
MLOps – Applying DevOps to Competitive Advantage
DATAVERSITY
 

Similar to Pythonsevilla2019 - Introduction to MLFlow (20)

PPTX
Nasscom ml ops webinar
Sameer Mahajan
 
PDF
MLflow: Infrastructure for a Complete Machine Learning Life Cycle with Mani ...
Databricks
 
PDF
Convenient Containerization with MLFLow Project
Knoldus Inc.
 
PPTX
ML Ops Tools ML flow and Hugging Face(2).pptx
MohamedHomoda3
 
PDF
Advanced MLflow: Multi-Step Workflows, Hyperparameter Tuning and Integrating ...
Databricks
 
PDF
Building a MLOps Platform Around MLflow to Enable Model Productionalization i...
Databricks
 
PDF
Unifying Twitter around a single ML platform - Twitter AI Platform 2019
Karthik Murugesan
 
PPTX
[DSC Europe 23] Petar Zecevic - ML in Production on Databricks
DataScienceConferenc1
 
PDF
Scaling up Machine Learning Development
Matei Zaharia
 
PDF
MLflow with Databricks
Liangjun Jiang
 
PDF
Mlflow with databricks
Liangjun Jiang
 
PDF
The A-Z of Data: Introduction to MLOps
DataPhoenix
 
PDF
Tuning ML Models: Scaling, Workflows, and Architecture
Databricks
 
PDF
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
Florian Roscheck
 
PDF
Enabling Scalable Data Science Pipeline with Mlflow at Thermo Fisher Scientific
Databricks
 
PPTX
Open, Secure & Transparent AI Pipelines
Nick Pentreath
 
PPTX
Kubeflow: portable and scalable machine learning using Jupyterhub and Kuberne...
Akash Tandon
 
PPTX
Databricks for MLOps Presentation (AI/ML)
Knoldus Inc.
 
PDF
TensorFlow 101
Raghu Rajah
 
PDF
MLflow: Infrastructure for a Complete Machine Learning Life Cycle
Databricks
 
Nasscom ml ops webinar
Sameer Mahajan
 
MLflow: Infrastructure for a Complete Machine Learning Life Cycle with Mani ...
Databricks
 
Convenient Containerization with MLFLow Project
Knoldus Inc.
 
ML Ops Tools ML flow and Hugging Face(2).pptx
MohamedHomoda3
 
Advanced MLflow: Multi-Step Workflows, Hyperparameter Tuning and Integrating ...
Databricks
 
Building a MLOps Platform Around MLflow to Enable Model Productionalization i...
Databricks
 
Unifying Twitter around a single ML platform - Twitter AI Platform 2019
Karthik Murugesan
 
[DSC Europe 23] Petar Zecevic - ML in Production on Databricks
DataScienceConferenc1
 
Scaling up Machine Learning Development
Matei Zaharia
 
MLflow with Databricks
Liangjun Jiang
 
Mlflow with databricks
Liangjun Jiang
 
The A-Z of Data: Introduction to MLOps
DataPhoenix
 
Tuning ML Models: Scaling, Workflows, and Architecture
Databricks
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
Florian Roscheck
 
Enabling Scalable Data Science Pipeline with Mlflow at Thermo Fisher Scientific
Databricks
 
Open, Secure & Transparent AI Pipelines
Nick Pentreath
 
Kubeflow: portable and scalable machine learning using Jupyterhub and Kuberne...
Akash Tandon
 
Databricks for MLOps Presentation (AI/ML)
Knoldus Inc.
 
TensorFlow 101
Raghu Rajah
 
MLflow: Infrastructure for a Complete Machine Learning Life Cycle
Databricks
 
Ad

Recently uploaded (20)

PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Python basic programing language for automation
DanialHabibi2
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
July Patch Tuesday
Ivanti
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Python basic programing language for automation
DanialHabibi2
 
Ad

Pythonsevilla2019 - Introduction to MLFlow

Editor's Notes

  • #20: Backend stores are entity store (filestore and database) and artifact repository (s3, azure blob, Google cloud, dbfs)
  • #21: Parameters: key-value inputs to your code Metrics: numeric values Tags and notes: additional information about a run Artifacts: arbitrary files, including data and models Source: code Version: version of the code
  • #27: Backend stores are entity store (filestore and database) and artifact repository (s3, azure blob, Google cloud, dbfs)
  • #34: Backend stores are entity store (filestore and database) and artifact repository (s3, azure blob, Google cloud, dbfs)
  • #39: Conclusion Workflow tools can greatly simplify the ML lifecycle • Improve usability for both data scientists and engineers • Same way software dev lifecycle tools simplify development Learn more about MLflow at mlflow.org