Loading...

verticapy.machine_learning.vertica.preprocessing.StandardScaler.to_memmodel#

StandardScaler.to_memmodel() Scaler#

Converts the model to an InMemory object that can be used for different types of predictions.

Returns#

InMemoryModel

Representation of the model.

Examples#

If we consider that you’ve built a model named model, then it is easy to export it using the following syntax.

model.to_memmodel()

Note

MemModel objects serve as in-memory representations of machine learning models. They can be used for both in-database and in-memory prediction tasks. These objects can be pickled in the same way that you would pickle a scikit-learn model.

Note

Look at Scaler for more information.