Coder Social home page Coder Social logo

mlflow_exploration's Introduction

mlflow_exploration

About

This repo contains various notebooks and scripts where I experiment with MLflow regarding experiment tracking, model evaluation, and registry, while using a docker container emulating MLflow server.

The following is a short description of what can be found in each folder.

Getting started

A quickstart tutorial, using MLflow 2.8.0, where learn how to start a MLflow Tracking Server and the MLflow UI Server locally. We create a MLflow experiment with a unique name and identifying tags. We connect to the Tracking Server with the MLflow Client and search for experiments, while using relevant identifying tag values. Then we train a model using the wine dataset and log the trained model, metrics, parameters, and artifacts.

Quickstart

Another quickstart tutorial, based on an older version of the MLflow docs, similar to the previous folder, where we train a model using the wine dataset and log the trained model, metrics, parameters, and artifacts.

sharing_with_docker

This folder contains an MLflow project that trains a RandomForestRegressor scikit model on the UC Irvine Wine Quality Dataset. The project is an example of how we can share ML code and improve reproducibility. It uses a Docker image to capture the dependencies needed to run training code. Running a project in a Docker environment allows for capturing non-Python dependencies, as opposed to a conda environment.

Useful commands

Launching MLflow Tracking Server:

  • mlflow server --host 127.0.0.1 --port 8080

With the Tracking Server operational, it’s time to start the MLflow UI. Launch it from a new command prompt. As with the Tracking Server, ensure this window remains open:

  • mlflow ui --host 127.0.0.1 --port 8090

mlflow_exploration's People

Contributors

ialvata avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.