set_project

getml.engine.set_project(name)[source]

Creates a new or loads an existing project.

If there is no project holding name present on the engine, a new one will be created. See the User guide for more information.

Args:

name (str): Name of the new project.

Raises:

ConnectionRefusedError: If unable to connect to engine TypeError: If any of the input arguments is of wrong type.

Note:

All data frame objects and models in the getML engine are bundled in projects. When loading an existing project, the current memory of the engine will be flushed and all changes applied to DataFrame instances after calling their save() method will be lost. Afterwards, all Pipeline will be loaded into memory automatically. The data frame objects, on the other hand, won’t be loaded since they consume significantly more memory than the models and can be access manually using load_data_frame() or load().

See also: delete_project() and list_projects().