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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file modelify-0.0.2.8.tar.gz.

File metadata

  • Download URL: modelify-0.0.2.8.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for modelify-0.0.2.8.tar.gz
Algorithm Hash digest
SHA256 e03c54ccd933e53efe8e2208fb1df3bb2d109113a350414cb4c7cfab143971b4
MD5 1451e1b1d559f0b132ae66e749df7dd8
BLAKE2b-256 48eb79dbd5cf921c1b22cb55c3059848dc74860950bb177b9bfa35bfa7f2ca5b

See more details on using hashes here.

File details

Details for the file modelify-0.0.2.8-py3-none-any.whl.

File metadata

  • Download URL: modelify-0.0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 54.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for modelify-0.0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8c19fa8daff2d4f35e47d5c353b8538b2f546c0a5c270a82b5487b315e079b04
MD5 644b2f300db022df9bae7ee9fe6baf39
BLAKE2b-256 467af422af67fd26f42deda5048759d20a969f4a2d4f1de633a6be0373419536

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page