Map of algorithm names to classes.
Map of algorithm names to classes.
:: DeveloperApi :: Override this method to further optimize the process that runs multiple evaluations (during tuning, for example).
:: DeveloperApi :: Override this method to further optimize the process that runs multiple evaluations (during tuning, for example). By default, this method calls eval for each element in the engine parameters list.
An instance of SparkContext.
A list of EngineParams for running batch evaluation.
An instance of WorkflowParams that controls the workflow.
A list of engine parameters and evaluation result (from eval) tuples.
Returns a new Engine instance, mimicking case class's copy method behavior.
Returns a new Engine instance, mimicking case class's copy method behavior.
Map of data source names to class.
Map of data source names to class.
This is implemented such that org.apache.predictionio.controller.Evaluation can use this method to generate inputs for org.apache.predictionio.controller.Metric.
This is implemented such that org.apache.predictionio.controller.Evaluation can use this method to generate inputs for org.apache.predictionio.controller.Metric.
An instance of SparkContext.
An instance of EngineParams for running a single evaluation.
An instance of WorkflowParams that controls the workflow.
A list of evaluation information and RDD of query, predicted result, and actual result tuple tuple.
:: DeveloperApi :: Implement this method to convert a JValue (read from an engine variant JSON file) to an instance of EngineParams.
:: DeveloperApi :: Implement this method to convert a JValue (read from an engine variant JSON file) to an instance of EngineParams.
Content of the engine variant JSON as JValue.
Content of the engine variant JSON as JValue.
An instance of EngineParams converted from JSON.
Map of preparator names to class.
Map of preparator names to class.
Map of serving names to class.
Map of serving names to class.
Training this engine would return a list of models.
Training this engine would return a list of models.
An instance of SparkContext.
An instance of EngineParams for running a single training.
An instance of WorkflowParams that controls the workflow.
A list of models.
:: Experimental :: FastEvalEngine is a subclass of Engine that exploits the immutability of controllers to optimize the evaluation process