GithubHelp home page GithubHelp logo

harshcoder21 / uptrain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from uptrain-ai/uptrain

1.0 0.0 0.0 2.76 MB

upTrain.ai open-source package for model monitoring and refinement

License: Apache License 2.0

Python 100.00%

uptrain's Introduction

UpTrain -- A framework to facilitate retraining of ML models

GitHub license

What is UpTrain?

With ML models now being used almost everywhere, the mindset is shifting from a “research-first” to a “product-first” approach. Data (being the new oil) is collected continuously, which implies that models need to be trained continuously.

UpTrain is an automated machine-learning model refinement tool.

UpTrain is designed for ML practitioners who want to improve the performance of an already deployed model. With UpTrain, they can define domain-specific signals and customized reports to continuously monitor, debug and improve their ML models.

You can install upTrain via the GitHub repository:

# Clone the upTrain git repository
git clone https://github.com/uptrainai/uptrain.git

# Install the requirements (recommended to do this in a new environment)
cd uptrain
pip install -r requirements.txt

# Install the UpTrain package.
python setup.py install

# Run your first example
cd examples/orientation_classification
jupyter lab

How the UpTrain framework works?

UpTrain monitors the difference between the dataset the model was trained upon, and the real-world data points the model encounters during production (the wild!). This "difference" can be custom statistical measures designed by ML practitioners based on their use case. Additionally, it monitors for edge cases defined as rule-based smart signals on the model input. Whenever the framework sees a distribution shift or an increased frequency of edge cases, it raises an alert while identifying the subset of data that experienced these issues. Finally, it retrains the model on that data, improving its performance in the wild.

upTrain_flow_diagram

Integrate UpTrain to your ML pipeline in <5 minutes

After installing the UpTrain package, the user can define a config that tells the tool about the metrics to monitor and the signals to capture. The signals can be edge cases to check, and the metric can be data distribution shifts. Based on the monitoring results, the tool automatically refines the model by using the optimal subset of the real-world dataset. An illustration is provided below.

get started in 5 minutes

Stay Updated

We are continuously improving the package by simplifying the interface as well as adding tons of features. Support us by giving the project a star!

uptrain's People

Contributors

sourabhagr avatar vipgupta avatar

Stargazers

 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.