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.
Mix in this trait if your model cannot be persisted to PredictionIO's metadata store for any reason and want to have it persisted to local filesystem instead. These traits contain concrete implementation and need not be implemented.
Algorithm parameters class.
IFSPersistentModelLoader