Skip to content

👩‍🎨 Maisie – User-oriented system for painless managing, storing, sharing, organizing and deploying Machine Learning models. Features a command line interface, a web application and a python package that integrates seamlessly with your favorite tools.

License

Notifications You must be signed in to change notification settings

maisie-dev/maisie

Repository files navigation

Maisie - ML Models Management System

Maisie (stable) Azure DevOps Badge
Maisie (development) Azure DevOps Badge
Maisie Sphinx Theme Azure DevOps Badge
Documentation Read the Docs Badge
PyPI PyPI Badge
DockerHub DockerHub Pulls Badge

Could archiving, storing, managing and organizing machine learning models be done efficiently and with great focus on user experience? Sure, Maisie does just that.

Maisie is a friendly, easy to use assistant that consists of:

  • Web Application written in React
  • Backend API written in Python, Flask
  • Client Application/Package written in Python and hosted on PyPI

It integrates seamlessly with your favorite tools and provides you with all the important data, such as:

  • Git revisions for all trained models, as well as information about source branches
  • Searchable, filterable hyperparameters, parameters and metrics
  • A single identifying dataset name, as well as an optional description
  • Permanent URLs for easy sharing and downloading of stored models

You can get the most current package from PyPI

$ pip install Maisie

Using it in your training environment is fairly straightforward:

import maisie
from sklearn.externals import joblib

# Define your model here

model.fit(X, y)
model_filename = "example_model.pkl"
joblib.dump(model, model_filename)

# Define your metrics, fetch parameters and hyperparameters

models = maisie.Models()
models.upload(
    name="My first uploaded model",
    filename=model_filename,
    dataset_name="Singly Identifying Dataset Name",
    metrics={"accuracy": accuracy},
    hyperparameters=hyperparameters,
    parameters=parameters,
)

This repository provides a pre-configured docker-compose.yml file that contains sensible default options.

Before starting the containers, you should create a local .env file using the included .env.sample.

To start up all services, run:

$ docker-compose up

To stop your services, you can press Ctrl+C/Ctrl+D. If you started the services in the background using docker-compose up -d, the correct way to do this would be:

$ docker-compose stop

You can learn more about Docker Compose by clicking here.

Both frontend and backend images are automatically published to Docker Hub as soon as new stable release is made available.

Links

For reference, you can look at the sample Ansible playbook that deploys all containers to a specified host using the locally configured .env file.

  1. Clone the repository from the develop branch
$ git clone -b develop [email protected]:nokia-wroclaw/innovativeproject-ml-models-management.git
  1. Install pre-commit
  2. Inside the project's root directory install all required githooks:
$ pre-commit install
  1. To start all required services for local development, run:
$ docker-compose up
  1. You're all set up!
  1. Pick one of the open issues or create a new one
  2. Create a new branch named issue-[number]-[short description] derived from the develop branch, for example
$ git checkout -b issue-42-project-removal-permissions develop
  1. Make sure your implementation fixes the actual problem and is well tested.

When implementing new features, you should start by creating a new branch named feature-[short description] derived from the develop branch, for example

$ git checkout -b feature-new-user-profile develop

To run all tests and check whether all required pre-commit githooks are satisfied, run

$ pre-commit run --all-files

Your commit message should briefly summarize the changes (if possible) in plain English. To learn how to write a proper commit message, check out this article.

When ready, create a new pull request compared with the develop branch set as a base branch.

For the lastest stable release, the documentation can be seen at docs.maisie.dev.

About

👩‍🎨 Maisie – User-oriented system for painless managing, storing, sharing, organizing and deploying Machine Learning models. Features a command line interface, a web application and a python package that integrates seamlessly with your favorite tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •