openlayer.OpenlayerClient.create_project#
- OpenlayerClient.create_project(name, task_type, description=None)#
Creates a project on the Openlayer platform.
- Parameters
- namestr
Name of your project.
Important
The project name must be unique in a user’s collection of projects.
- task_type
TaskType
Type of ML task. E.g.
TaskType.TabularClassification
orTaskType.TextClassification
.- descriptionstr
Project description.
- Returns
- Project
An object that is used to add models and datasets to the Openlayer platform that also contains information about the project.
Examples
Instantiate the client and create the project:
>>> import openlayer >>> client = openlayer.OpenlayerClient('YOUR_API_KEY_HERE') >>> >>> from openlayer.tasks import TaskType >>> project = client.create_project( ... name="Churn prediction", ... task_type=TaskType.TabularClassification, ... description="My first error analysis playground", ... )
With the Project object created, you are able to start adding models and datasets to it. Refer to
add_model
andadd_dataset
oradd_dataframe
for detailed examples.