org.apache.predictionio.controller
Implement this method to restore a persisted model that extends the PersistentModel trait.
Implement this method to restore a persisted model that extends the PersistentModel trait. All arguments of this method are provided automatically by PredictionIO.
ID of the run that trained this model.
Algorithm parameters that were used to train this model.
An optional Apache Spark context. This will be injected if the model was generated by a PAlgorithm.
Implement an object that extends this trait for PredictionIO to support loading a persisted model from local filesystem during serving deployment.
The underlying implementation is Utils.load.
Algorithm parameters class.
Model class.
LocalFileSystemPersistentModel