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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file mylearn-0.0.2.tar.gz.

File metadata

  • Download URL: mylearn-0.0.2.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.4.0-131-generic

File hashes

Hashes for mylearn-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ed03e9154b4aeb51142a91e88d4a0a8ef9cf6fda9728939b3ed339cf1973ae36
MD5 a40242b05a0e0c600a91b91535b42886
BLAKE2b-256 a515c683d956f5bd0c42867408c3f4625c16a509b172896a10e81f76fedc9365

See more details on using hashes here.

File details

Details for the file mylearn-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: mylearn-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.4.0-131-generic

File hashes

Hashes for mylearn-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 269194dec4536b01e94d31037e224e9d9ec1e1b337054424f164ba8a6ed1cfe5
MD5 e2a3bd92c3350c57a8ca1d274c8397ec
BLAKE2b-256 3f1c40333929f1246e4a39ca002a710e7ebb1c635fd85ec346255a373a71c181

See more details on using hashes here.

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