Detail

Example Scikit-Learn Model

zhuozhao_uchicago/iris_svm
Copy
Scikit-learn estimator
SVC
biology

Input

List of records to evaluate with model. Each record is a list of 4 variables.
Type: ndarray
Shape: ['None', '4']

Output

Probabilities for membership in each of 3 classes
Type: ndarray
Shape: ['None', '3']

Run with DLHub SDK

from dlhub_sdk.client import DLHubClient
X = get_my_data() #replace this
dl = DLHubClient()
dl.run('zhuozhao_uchicago/iris_svm', X)

Get More Info with DLHub SDK

from dlhub_sdk.client import DLHubClient
dl = DLHubClient()
dl.describe_servable('zhuozhao_uchicago/iris_svm')

DLHub SDK Installation

pip install dlhub_sdk

DLHub SDK documentation