public interface PredictDataSetOperation<Self,Testing,Prediction>
extends scala.Serializable
Predictor
. This predict operation works on DataSets.
Predictor
s either have to implement this trait or the PredictOperation
trait. The
implementation has to be made available as an implicit value or function in the scope of
their companion objects.
The first type parameter is the type of the implementing Predictor
class so that the Scala
compiler includes the companion object of this class in the search scope for the implicit
values.
Modifier and Type | Method and Description |
---|---|
DataSet<Prediction> |
predictDataSet(Self instance,
ParameterMap predictParameters,
DataSet<Testing> input)
Calculates the predictions for all elements in the
DataSet input |
DataSet<Prediction> predictDataSet(Self instance, ParameterMap predictParameters, DataSet<Testing> input)
DataSet
input
instance
- The Predictor instance that we will use to make the predictionspredictParameters
- The parameters for the predictioninput
- The DataSet containing the unlabeled examplesCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.