Skip to main content

UpTrain - ML Observability and Retraining Framework

Project description

uptrain

Open-source, self-hosted, easy-to-configure tool to improve ML models in production.

UpTrain is released under the Apache 2.0 license. PyPI version Docs Community Website

Performance

UpTrain is an open-source, data-secure tool for ML practitioners to observe and refine their ML models by monitoring their performance, checking for (data) distribution shifts, and collecting edge cases to retrain them upon. It integrates seamlessly with your existing production pipelines and takes minutes to get started ⚡.

Key Features 💡

  • Data Drift Checks - identify distribution shifts in your model inputs.
  • Performance Monitoring - track the performance of your models in realtime and get alerted as soon as a dip is observed.
  • Edge Case Signals - user-defined signals and statistical techniques to detect out-of-distribution data-points.
  • Data Integrity Checks - checks for missing or inconsistent data, duplicate records, data quality, etc.
  • Customizable metrics - define custom metrics that make sense for your use case.
  • Automated Retraining - automate model retraining by attaching your training and inference pipelines.
  • Model Bias - track popularity bias in your recommendation models.
  • Data Security - your data never goes out of your machine.

🚨Coming soon🚨

  • Realtime Dashboards - to visualize your model's health.
  • Embeddings Support - specialized dashboards to understand model-inferred embeddings.
  • Slack Integration - get alerts on Slack.
  • Label Shfit - identify drifts in your predictions. Specially useful in cases when ground truth is unavailable.
  • Prediction Stability - filter cases where model prediction is not stable.
  • AI Explainability - understand relative importance of multiple features on predictions.
  • Adversarial Checks - combat adversarial attacks

And more.

Get started 🙌

You can quickly get started with Google colab here.

To run it in your machine, follow the steps below:

Install the package through pip:

pip install uptrain

Run your first example:

git clone git@github.com:uptrain-ai/uptrain.git
cd uptrain
pip install jupyterlab
jupyter lab

For more info, visit our get started guide.

Why UpTrain 🤔?

Machine learning (ML) models are widely used to make critical business decisions. Still, no ML model is 100% accurate, and, further, their accuracy deteriorates over time 😣. For example, Sales prediction becomes inaccurate over time due to a shift in consumer buying habits. Additionally, due to the black boxiness nature of ML models, it's challenging to identify and fix their problems.

UpTrain solves this. We make it easy for data scientists and ML engineers to understand where their models are going wrong and help them fix them before others complain 🗣️.

UpTrain can be used for a wide variety of Machine learning models such as LLMs, recommendation models, prediction models, Computer vision models, etc.

We are constantly working to make UpTrain better. Want a new feature or need any integrations? Feel free to create an issue or contribute directly to the repository.

Meme

License 💻

This repo is published under Apache 2.0 license. We're currently focused on developing non-enterprise offerings that should cover most use cases. In the future, we will add a hosted version which we might charge for.

Stay Updated ☎️

We are continuously adding tons of features and use cases. Please support us by giving the project a star ⭐!

Provide feedback (Harsher the better 😉)

We are building UpTrain in public. Help us improve by giving your feedback here

Contributors 🖥️

We welcome contributions to uptrain. Please see our contribution guide for details.

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

uptrain-0.0.4.tar.gz (39.5 kB view details)

Uploaded Source

Built Distribution

uptrain-0.0.4-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

Details for the file uptrain-0.0.4.tar.gz.

File metadata

  • Download URL: uptrain-0.0.4.tar.gz
  • Upload date:
  • Size: 39.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for uptrain-0.0.4.tar.gz
Algorithm Hash digest
SHA256 db4b7cdc7b7fbb58a8815923200e6e1d6ed909b8bbc79d4738620f70ba3dfe8f
MD5 56f85c49dfadfcb5fabfa414fdab3e35
BLAKE2b-256 7a80bad69ba339fc23dfcd23e8cfe8d906b67feeb078eb51107b0f482b792be5

See more details on using hashes here.

File details

Details for the file uptrain-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: uptrain-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 56.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for uptrain-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f3b13f4fede44e1c041c5b612d5f29b4435c13dbc81b39a19820b5f6fe8c8469
MD5 070278f21a07deb52e88a9bb76087949
BLAKE2b-256 7434de8d68a99575d64f3bad96646557b7874ea5fee31ded659c56e39926015e

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