Skip to main content

New Version of MLOps Platforms.

Project description

Modelify

Modelify takes over all devops jobs from data scientists and machine learning practitioners and brings their models to production.

Install

pip install modelify

Usage

Deploying LightGBM Model

import pandas as pd
from sklearn.datasets import load_iris
from lightgbm import LGBMClassifier, Dataset, train as train_lgbm
import modelify
from modelify import ModelInference
from modelify.helpers import create_schema

# import data
iris = load_iris()
df= pd.DataFrame(data= np.c_[iris['data'], iris['target']],
                     columns= iris['feature_names'] + ['target'])

# train test split
train, test = train_test_split(df, test_size=0.2 )
y_train = df["target"]
X_train = df.drop(columns=["target"])

# build your model
clr = LGBMClassifier()
clr.fit(X_train, y_train)

# deployment
inference = ModelInference(model=model, framework="LIGHTGBM", inputs=create_schema(X_train))

modelify.connect("YOUR_API_KEY")

modelify.deploy(inference, app_uid="YOUR_APP_UID")

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

modelify-0.0.2.8.tar.gz (49.7 kB view hashes)

Uploaded Source

Built Distribution

modelify-0.0.2.8-py3-none-any.whl (54.1 kB view hashes)

Uploaded 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