set_project¶
-
getml.engine.
set_project
(name)¶ 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.
- Parameters
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 theirsave()
method will be lost. Afterwards, allPipeline
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 usingload_data_frame()
orload()
.See also:
delete_project()
andlist_projects()
.