Upload models / datasets#

Client constructor#

OpenlayerClient([api_key])

Client class that interacts with the Openlayer Platform.

Project creation and loading#

OpenlayerClient.create_project(name, task_type)

Creates a project on the Openlayer platform.

OpenlayerClient.load_project(name)

Loads an existing project from the Openlayer platform.

Upload functions#

OpenlayerClient.add_model(name, task_type, ...)

Uploads a model to the Openlayer platform.

OpenlayerClient.add_dataset(task_type, ...)

Uploads a dataset to the Openlayer platform (from a csv).

OpenlayerClient.add_dataframe(task_type, df, ...)

Uploads a dataset to the Openlayer platform (from a pandas DataFrame).

Model / Task types#

ModelType(value)

A selection of machine learning modeling frameworks supported by Openlayer.

TaskType(value)

A selection of machine learning tasks supported by Openlayer.

Objects#

Model(json)

An object containing information about a model on the Openlayer platform.

Dataset(json)

An object containing information about a dataset on the Openlayer platform.

Model.to_dict()

Returns object properties as a dict.

Dataset.to_dict()

Returns object properties as a dict.