Machine learning prediction serving
Project description
# ServeIt
ServeIt deploys your trained models to a RESTful API for prediction serving. Current features include:
1. Model prediction serving
1. Model info endpoint creation
1. Logging
## Supported libraries
* Scikit-Learn
```python
from sklearn.datasets import load_iris
from sklearn.linear_model import LogisticRegression
from serveit.sklearn_server import SklearnServer
# fit a model on the Iris dataset
data = load_iris()
reg = LogisticRegression()
reg.fit(data.data, data.target)
# deploy model to a SkLearnServer
eds = SklearnServer(reg, reg.predict)
# add informational endpoints
eds.create_model_info_endpoint()
eds.create_info_endpoint('features', data.feature_names)
eds.create_info_endpoint('target_labels', data.target_names.tolist())
# start API
eds.serve()
```
## Limited functionality
* TensorFlow
* Keras
* PyTorch
ServeIt deploys your trained models to a RESTful API for prediction serving. Current features include:
1. Model prediction serving
1. Model info endpoint creation
1. Logging
## Supported libraries
* Scikit-Learn
```python
from sklearn.datasets import load_iris
from sklearn.linear_model import LogisticRegression
from serveit.sklearn_server import SklearnServer
# fit a model on the Iris dataset
data = load_iris()
reg = LogisticRegression()
reg.fit(data.data, data.target)
# deploy model to a SkLearnServer
eds = SklearnServer(reg, reg.predict)
# add informational endpoints
eds.create_model_info_endpoint()
eds.create_info_endpoint('features', data.feature_names)
eds.create_info_endpoint('target_labels', data.target_names.tolist())
# start API
eds.serve()
```
## Limited functionality
* TensorFlow
* Keras
* PyTorch
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ServeIt-0.0.1.dev1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for ServeIt-0.0.1.dev1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f75e0296c82607cc6f9b25f384a766560a52864263deba957280f87d29e5023d |
|
MD5 | f7bb9b98910a137a623c008a963d51aa |
|
BLAKE2b-256 | a643529b146adc6e9797a58321c6cb568b6f7941b99fa9ec7a24b3cbc82bfa17 |