Implement this method to produce a prediction from a query and trained model.
Implement this method to produce a prediction from a query and trained model.
Trained model produced by train.
An input query.
A prediction.
Implement this method to produce a model from prepared data.
Implement this method to produce a model from prepared data.
Prepared data for model training.
Trained model.
Do not use directly or override this method, as this is called by PredictionIO workflow to train a model.
Do not use directly or override this method, as this is called by PredictionIO workflow to train a model.
Developer note: In train: PD => M, M is a local object. We have to parallelize it.
Base class of a parallel-to-local algorithm.
A parallel-to-local algorithm can be run in parallel on a cluster and produces a model that can fit within a single machine.
Prepared data class.
Trained model class.
Input query class.
Output prediction class.