Machine Learning on Kubernetes by Faisal Masood Ross Brigoli
Author:Faisal Masood, Ross Brigoli
Language: eng
Format: epub
Publisher: Packt Publishing Limited
Published: 2022-05-20T00:00:00+00:00
Figure 6.26 â MLflow customized data collection notebook
Let's understand these functions in the next few steps. The code snippet in code cell number 6 is as follows:
with mlflow.start_run(tags={ "mlflow.source.git.commit" : mlflow_util.get_git_revision_hash() , "mlflow.source.git.branch": mlflow_util.get_git_branch(), "code.repoURL": mlflow_util.get_git_remote() }) as run: model.fit(X, y) mlflow_util.record_libraries(mlflow) mlflow_util.log_metric(mlflow, "custom_mteric", 1.0) mlflow_util.log_param(mlflow, "docker_image_name", os.environ["JUPYTER_IMAGE"])
The preceding code will include a custom tag labeled code.repoURL. This makes it easier to trace back the original source code that produced the model in a given experiment run.
You can associate any tags while calling the start_run function. Tag keys that start with mlflow are reserved for internal use. You can see that we have associated the GIT commit hash with the first property. This will help us in following through on what experiment belongs to what code version in your code repository.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
AI & Machine Learning | Bioinformatics |
Computer Simulation | Cybernetics |
Human-Computer Interaction | Information Theory |
Robotics | Systems Analysis & Design |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8303)
Test-Driven Development with Java by Alan Mellor(6739)
Data Augmentation with Python by Duc Haba(6657)
Principles of Data Fabric by Sonia Mezzetta(6408)
Learn Blender Simulations the Right Way by Stephen Pearson(6303)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(6176)
Hadoop in Practice by Alex Holmes(5961)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5809)
RPA Solution Architect's Handbook by Sachin Sahgal(5573)
Big Data Analysis with Python by Ivan Marin(5372)
The Infinite Retina by Robert Scoble Irena Cronin(5264)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5152)
Pretrain Vision and Large Language Models in Python by Emily Webber(4336)
Infrastructure as Code for Beginners by Russ McKendrick(4099)
Functional Programming in JavaScript by Mantyla Dan(4040)
The Age of Surveillance Capitalism by Shoshana Zuboff(3959)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3812)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3615)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3589)
