Skip to main content

mylearn: my Machine Learning framework

Project description

mylearn: my Machine Learning framework


mylearn is a Machine Learning framework based on Airflow and MLflow for designing machine learning systems in a production perspective.

Work in progress... Stay tuned!

Index

  1. Prerequisites
  2. Installation & Setup
  3. Usage

Prerequisites

pyenv

To be completed with how to install and setup pyenv

poetry

To be completed with how to install and setup poetry

Installation & Setup

mylearn leverages poetry and poethepoet to make its installation and setup surprisingly simple.

Installation

It is recommended to install requirements within a virtualenv located at the project root level, although not required.

poetry config virtualenvs.in-project true

Installation is run with

poetry install

Airflow Setup

Airflow setup is initialized via a poe command

poe airflow-init

Airflow Scheduler & Webserver can be run with

poe airflow-scheduler
poe airflow-webserver

Airflow UI can be opened at localhost (port 8080), and you can login with username and password admin.

If you want to clean your Airflow setup before rerunning poe airflow-init, you need to kill Airflow Scheduler & Webserver and run

poe airflow-clean

MLflow Setup

MLflow UI can be opened at localhost (port 5000) after execution of the following command:

poe mlflow-ui

Usage

MLflow Pipelines Regression Template

The mlflow-template pipeline, based on the MLflow Pipelines Regression Template, can be run independently with

poe mlflow-run

or via an Airflow Directed Acyclic Graph (DAG) by triggering the mlflow-template DAG via Airflow UI or with

TO BE COMPLETED

Other examples

Work in progress... Stay tuned!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mylearn-0.0.2.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

mylearn-0.0.2-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page