verticapy.machine_learning.vertica.tsa.MA.register#
- MA.register(registered_name: str, raise_error: bool = False) bool #
Registers the model and adds it to in-DB Model versioning environment with a status of ‘under_review’. The model must be native and already saved in-DB to be registered.
Parameters#
- registered_name: str
Identifies an abstract name to which the model is registered.
- raise_error: bool, optional
If set to
True
and an error occurs, raises the error.
Returns#
- bool
Returns
True
when registeration is successful;False
otherwise.
Examples#
Let’s consider, we’ve fitted a model
model
. In order to register the model for tracking and versioning:model.register("model_v1")
Please refer to Model Tracking and Versioning for more details on model tracking and versioning.
Important
For this example, a specific model is utilized, and it may not correspond exactly to the model you are working with. To see a comprehensive example specific to your class of interest, please refer to that particular class.