Target, Walmart, Macy’s & Kohl’s: Demand Forecasting in a Dynamic World
Demand Forecasting ML models present huge potential for retailers to generate a lot of revenue and streamline the business. While...
Prompt engineering sucks. Break free from the endless tweaking with this revolutionary approach - Learn more
Securing AI systems is tricky, ignoring it is risky. Discover the easiest way to secure your AI end to end - Learn more
TL;DR:
pip3 install mlnotify
# STEP 1: Import package
import mlnotify
# STEP 2: Do your thing.
my_model.fit(...)
# STEP 3: Open https://mlnotify.aporia.com
# Enter training ID, and get notified when training is done!
After training hundreds of models, every data scientist knows that waiting for your training to end is tedious. It takes a long time and requires you to Alt+Tab back and forth every now and then to check up on it.
I thought it might be cool to have a tool that will do the waiting for me and send me a notification once it’s done.
MLNotify is an open-source tool that watches model training for you and sends a notification once training is complete.
Usage
To try MLNotify, we’ve prepared a quick snippet for you to copy-paste:
import mlnotify
from sklearn import datasets, svm
iris = datasets.load_iris()
print("Training model...")
clf = svm.SVC(tol=1e-100, max_iter=10 ** 9)
clf.fit(X=iris.data, y=iris.target)
This should train a simple model for a few minutes. Once training begins, MLNotify will print your unique tracking URL for it:
You can scan the QR, copy the URL, or go to https://mlnotify.aporia.com and enter the code.
You’ll then see the progress of your training. You can enable web, mobile, or email notifications to know exactly when your training finishes.
When training ends, you’ll be notified automatically!
Hurray! No more switching tabs and manually checking for training 🙂
MLNotify is a Python library that hooks into the fit() method of popular ML libraries, and notifies upon completion of the method execution.
See supported libraries here or use the manual API if your library is not supported.
The library features a plugin system to extend its functionality.
Now the important question, what should you do while training?
Now that we’ve cleared a lot of time, what should we do with it? It’s an important issue that’s been pondered and debated by data scientists since the beginning of time.
Some suggestions:
We have plenty of ideas for MLNotify’s roadmap, but we would love to get your help!
The project is available on GitHub: https://github.com/aporia-ai/mlnotify so please feel free to add new features and capabilities.
Have fun!
Demand Forecasting ML models present huge potential for retailers to generate a lot of revenue and streamline the business. While...
During the past few weeks, tech companies have dominated the news, from a massive slide in share prices to Elon...
Recently we created MLNotify, an open-source tool that notifies data scientists the second their model finishes training via web, mobile...