vastorbit.machine_learning.vast.preprocessing.MinMaxScaler.export_models¶
- static MinMaxScaler.export_models(name: str, path: str, kind: Literal['pmml', 'VAST', 'VAST_models', 'tensorflow', 'tf', None] = None) bool¶
Exports machine learning models.
- Parameters:
name (str) – Model’s name.
path (str) –
Absolute path of an output directory to store the exported models.
Warning
This function operates solely on the server side and is not accessible locally. The
pathprovided should match the location where the file(s) will be exported on the server.kind (str, optional) –
- One of the following:
pmml
VAST
tensorflow
- Returns:
Trueif the model was successfully exported.- Return type:
bool
Examples
Let’s consider we’ve fitted a VAST model named ‘my_model’. It is stored in the ‘my_schema’ schema and available in the Database.
You can export it easily:
from vastorbit.machine_learning.vast.base import VASTModel VASTModel.export_models( name = 'my_schema.my_model', kind = 'pmml', # Pick up the export type. )
Warning
This function operates solely on the server side and is not accessible locally.