vastorbit.machine_learning.vast.linear_model.PoissonRegressor.to_memmodel¶
- PoissonRegressor.to_memmodel() LinearModel¶
Converts the model to an InMemory object that can be used for different types of predictions.
- Returns:
Representation of the model.
- Return type:
InMemoryModel
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
MemModelobjects 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-learnmodel.Note
Look at
LinearModelfor more information.