org.apache.spark.streamdm.classifiers
Gets the current Model used for the Learner.
Gets the current Model used for the Learner.
the Model object used for training
Init the model based on the algorithm implemented in the learner.
Init the model based on the algorithm implemented in the learner.
the ExampleSpecification of the input stream.
Train the model based on the algorithm implemented in the learner, from the stream of Examples given for training.
Train the model based on the algorithm implemented in the learner, from the stream of Examples given for training.
a stream of Examples
The SGDLearner trains a LinearModel using the stochastic gradient descent algorithm. The type of loss function, the lambda learning reate parameter, and the number of features need to be specified in the associated Task configuration file.
It uses the following options: