Blazee makes it easy to deploy Machine Learning models on the cloud and turn them into an awesome prediction API.
Project description
Python Library for Blazee
Intro
Blazee is the easiest and fastest way to turn your Machine Learning models and pipelines into a production ready prediction API.
It allows you to deploy trained models straight from a Jupyter Notebook or any other model training environment, and access them live from anywhere using the Blazee HTTP API.
This library can also be used
Supported Frameworks
At the moment, we support the following frameworks:
- Scikit Learn (Supervised learning models and pipeline)
- Keras
- PyTorch
- XGBoost
- LightGBM
Coming soon:
- H2O
- XGBoost
- LightGBM
- Tensorflow
Installation
Install from pip
pip install blazee
Sign up and get an API Key from https://blazee.io
Usage
# Train your model like you usually do
>>> from sklearn.linear_model import LogisticRegressionCV
>>> clf = LogisticRegressionCV()
>>> ...
>>> clf.train(X)
# Deploy your model on Blazee
# Get your API Key on https://blazee.io
>>> from blazee import Blazee
>>> bz = Blazee(YOUR_API_KEY)
>>> model = bz.deploy_model(clf)
Uploading model to Blazee...
Successfully deployed model bdea76f4-fa0f-4ef1-8bc5-f36978a4488e
Deploying model... This will take a few moments
# Predict a single sample
>>> pred = model.predict(X[0])
>>> pred.prediction
1
>>> pred.probas
{0: 0.08, 1:0.91, 2: 0.01}
# Or predict a batch
>>> preds = model.batch_predict(X)
# Deploy another version of the model
>>> clf2 = SGDClassifier()
>>> ...
>>> clf2.train(X)
>>> model.update(clf2)
Support
Contact us at support@blazee.io or open a Github Issue for any question or bug report.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blazee-0.1.5.tar.gz.
File metadata
- Download URL: blazee-0.1.5.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e37922b803c6f2fe5c19ba7e1614bf70f85f974e62d1fd264ad36b09d3e2d36a
|
|
| MD5 |
ae8c03d687c4e0cdcf07c1f3326f859f
|
|
| BLAKE2b-256 |
7a7d21f583fd785ef0f89f722d22edf854f69a8bd61f91fb8d5ccaf3f98155fe
|
File details
Details for the file blazee-0.1.5-py3-none-any.whl.
File metadata
- Download URL: blazee-0.1.5-py3-none-any.whl
- Upload date:
- Size: 28.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d0ce314f092fead855ef5090a1a87ccf63d6e64d128b340baa1869ce6fcccdb
|
|
| MD5 |
8951b922b558a0c3c21f5a1615e5b7f2
|
|
| BLAKE2b-256 |
d10afd22b38bb1a78783704853262c177fea098438224ceb03d3969edbd8b454
|