verticapy.machine_learning.vertica.linear_model.Ridge.to_memmodel#
- Ridge.to_memmodel() LinearModel #
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 ascikit-learn
model.Note
Look at
LinearModel
for more information.