Skip to main content

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

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

ServeIt-0.0.1.dev1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

ServeIt-0.0.1.dev1-py2.py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 2 Python 3

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