1. Register a new model

The first step to integrate your model is to register it.
Model registration is a super easy step, as Superwise does not require the model artifact.
To register a new model, you will just need to supply basic metadata about the model.

Registering a new model via the console

Add a model

Registering a new model via the SDK

πŸ“˜

Install the SDK

To install and get started with our SDK visit our SDK docs

import os
from superwise import Superwise
from superwise.models.model import Model

os.environ['SUPERWISE_CLIENT_ID'] = 'REPLACE_WITH_YOUR_CLIENT'
os.environ['SUPERWISE_SECRET'] = 'REPLACE_WITH_YOUR_SECRET'

sw = Superwise() 

diamond_model = Model(
    name="Diamond Model",
    description="Regression model which predict the diamond price"
)

diamond_model = sw.model.create(diamond_model)
print(f"New task Created - {diamond_model.id}")