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 interact with projects on the Openlayer platform.

Examples

Related guide: How to create and load projects.

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 add models and datasets to the it. Refer to Project.add_model and Project.add_dataset or Project.add_dataframe for detailed examples.