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.
Implement this method to produce predictions from batch queries.
Implement this method to produce predictions from batch queries.
Evaluation call this method. Since in PAlgorithm, M may contain RDDs, it
is impossible to call predict(model, query)
without localizing queries
(which is very inefficient). Hence, engine builders using PAlgorithm need
to implement this method for evaluation purpose.
Trained model produced by train.
Batch of queries with indices.
An RDD of indexed predictions.
Do not use directly or override this method, as this is called by PredictionIO workflow to perform batch prediction.
Do not use directly or override this method, as this is called by PredictionIO workflow to perform batch prediction.
Do not use directly or override this method, as this is called by PredictionIO workflow to perform prediction.
Do not use directly or override this method, as this is called by PredictionIO workflow to perform prediction.
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.
Base class of a parallel algorithm.
A parallel algorithm can be run in parallel on a cluster and produces a model that can also be distributed across a cluster.
Prepared data class.
Trained model class.
Input query class.
Output prediction class.