-
Notifications
You must be signed in to change notification settings - Fork 40
[BLOG] Hyperparameter and Data Centric Model Optimization with MLflow #337
Copy link
Copy link
Open
Labels
ack/guideI have read through and am familiar with the contributing guideI have read through and am familiar with the contributing guideack/legalI have read and understand the legal considerations for blog postingI have read and understand the legal considerations for blog postingblog/best-practicesI want to write about usage patterns of MLflowI want to write about usage patterns of MLflowblog/deep-diveI want to write an in-depth guide blogI want to write an in-depth guide blogtopic/coreI'm writing about MLflow public APIs or core featuresI'm writing about MLflow public APIs or core featurestopic/trackingI'm writing about MLflow trackingI'm writing about MLflow trackingtopic/trainingI'm writing about using MLflow for training modelsI'm writing about using MLflow for training models
Metadata
Metadata
Assignees
Labels
ack/guideI have read through and am familiar with the contributing guideI have read through and am familiar with the contributing guideack/legalI have read and understand the legal considerations for blog postingI have read and understand the legal considerations for blog postingblog/best-practicesI want to write about usage patterns of MLflowI want to write about usage patterns of MLflowblog/deep-diveI want to write an in-depth guide blogI want to write an in-depth guide blogtopic/coreI'm writing about MLflow public APIs or core featuresI'm writing about MLflow public APIs or core featurestopic/trackingI'm writing about MLflow trackingI'm writing about MLflow trackingtopic/trainingI'm writing about using MLflow for training modelsI'm writing about using MLflow for training models
Summary
This template is intended to capture a few base requirements that are needed to be met prior to filing a PR that contains a new blog post submission.
Please fill out this form in its entirety so that an MLflow maintainer can review and work with you in the process of drafting your blog content and in reviewing your blog submission PR.
PRs that are filed without a linked Blog Post Submission issue and a subsequent agreement on the content and topics covered for the blog post are not guaranteed to be reviewed or merged.
Acknowledgements
ack/guideI have read through the contributing guideNot done yet, but definitely once proposal is accepted
ack/readmeI have configured my local development environment so that I can build a local instance of the MLflow website by following the development guideack/legalI have verified that there are no legal considerations associated with the nature of the blog post, its content, or references to organizations, ideas, or individuals contained within my post. If I mention a particular organization, idea, or person, I will provide evidence of consent to post by any organization or individual that is mentioned prior to filing my PR.Proposed Title
Hyperparameter and Data Centric Model Optimization with MLflow
Abstract
You are working on your new machine learning project with data and model parameters that you are probably not sure that are going work and make your model thrive into production.
So you start experimenting and change thing here and there, but you are to lazy to structure your project that way to know what model hyperparameters and data splits you used just 5’ ago.
There it comes MLflow! To help you gain the lost time of dead end experiments and lend a hand in the tedious and time consuming task of best model discovery.
Types of grid experiments
In a typical ML project, there are two main approaches to train your models.
Discuss a little more on two approaches and elaborate why MLflow fits well on both of them using nested runs.
Coding examples
Coding examples will be implemented with production grade level code (object-oriented)
In this approach we keep the data the same, and improve the model architecture and hparams.
A paradigm with regression and a DNN, using MLflow, Tensorflow & Optuna.
Iterating on nested runs, the champion model will be finalized from the best of the child runs scoring on the testing set and will be logged in the parent run.
Once we have found the best model parameters we can test our model stability in difference data split using Kfold CV.
Iterating on nested runs, the champion model will be finalized from the best of the child runs scoring on the testing set and will be logged in the parent run
Ingredients:
Final Thoughts and things to consider:
Resources
MLflow tutorials, Model & Data centric references
Blog Type
blog/how-to: A how-to guide to using core MLflow functionality, focused on a common use case user journeyblog/deep-dive: An in-depth guide that covers a specific feature in MLflowblog/use-case: A comprehensive overview of a real-world project that leverages MLflowblog/best-practices: A comprehensive tutorial that covers usage patterns of MLflow, focusing on an MLOps journeyblog/tips: A short blog covering tips and tricks for using MLflow APIs or the MLflow UI componentsblog/features: A feature-focused announcement that introduces a significant new feature that is recently or not-yet releasedblog/meetup: A report on an MLflow community event or other Linux Foundation MLflow Ambassador Program eventblog/news: Summaries of significant mentions of MLflow or major initiatives for the MLflow projectTopics Covered in Blog
topic/genai: Highlights MLflow's use in training, tuning, or deploying GenAI applicationstopic/tracking: Covering the use of Model Tracking APIs and integrated Model Flavorstopic/deployment: Featuring topics related to the deployment of MLflow models and the MLflow Model Registrytopic/training: Concerned with the development loop of training and tuning models using MLflow for trackingtopic/mlflow-service: Topics related to the deployment of the MLflow Tracking Service or the MLflow Deployments Servertopic/core: Topics covering core MLflow APIs and related featurestopic/advanced: Featuring guides on Custom Model Development or usage of the plugin architecture of MLflowtopic/ui: Covering features of the MLflow UItopic/other: < please fill in >Thank you for your proposal! An MLflow Maintainer will reach out to you with next steps!