org.apache.predictionio.controller
Returns the average of all algorithms' predictions.
Returns the average of all algorithms' predictions.
Original input query.
A list of algorithms' predictions.
:: DeveloperApi :: Engine developers should not use this directly.
:: DeveloperApi :: Engine developers should not use this directly. This is called by serving layer to combine multiple predicted results from multiple algorithms, and custom business logic before serving to the end user.
Query
List of predicted results
A single predicted result
:: Experimental :: Implement this method to supplement the query before sending it to algorithms.
:: Experimental :: Implement this method to supplement the query before sending it to algorithms.
Query
A supplemented Query
:: Experimental :: Engine developers should not use this directly.
:: Experimental :: Engine developers should not use this directly. This is called by serving layer to supplement process the query before sending it to algorithms.
Query
A supplement Query
A concrete implementation of LServing returning the average of all algorithms' predictions, where their classes are expected to be all Double.