Save the model to some persistent storage.
Save the model to some persistent storage.
This method should return true if the model has been saved successfully so that PredictionIO knows that it can be restored later during deployment. This method should return false if the model cannot be saved (or should not be saved due to configuration) so that PredictionIO will re-train the model during deployment. All arguments of this method are provided by automatically by PredictionIO.
ID of the run that trained this model.
Algorithm parameters that were used to train this model.
An Apache Spark context.
DEPRECATED. Use LocalFileSystemPersistentModel instead.
(Since version 0.9.2) Use LocalFileSystemPersistentModel instead.