openlayer.OpenlayerClient.load_project#

OpenlayerClient.load_project(name)#

Loads an existing project from the Openlayer platform.

Parameters
namestr

Name of the project to be loaded. The name of the project is the one displayed on the Openlayer platform.

Note

If you haven’t created the project yet, you should use the create_project method.

Returns
Project

An object that is used to upload models and datasets to the Openlayer platform that also contains information about the project.

Examples

Instantiate the client and load the project:

>>> import openlayer
>>> client = openlayer.OpenlayerClient('YOUR_API_KEY_HERE')
>>>
>>> project = client.load_project(name="Churn prediction")

With the Project object loaded, you are able to upload models and datasets to the platform. Refer to add_model and obj:add_dataset or obj:add_dataframe for detailed examples.