Defines how to retrieve the model of the type for which this operation was defined
Defines how to retrieve the model of the type for which this operation was defined
The Predictor instance that we will use to make the predictions
The parameters for the prediction
A DataSet with the model representation as its only element
Calculates the prediction for a single element given the model of the Predictor.
Calculates the prediction for a single element given the model of the Predictor.
The unlabeled example on which we make the prediction
The model representation of the prediction algorithm
A label for the provided example of type Prediction
Type class for predict operation. It takes an element and the model and then computes the prediction value for this element.
It is sufficient for a Predictor to only implement this trait to support the evaluate and predict method.
The concrete type of the Predictor that we will use for predictions
The representation of the predictive model for the algorithm, for example a Vector of weights
The type of the example that we will use to make the predictions (input)
The type of the label that the prediction operation will produce (output)