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
A Learner trait defines the needed operations for any learner algorithm implemented. It provides methods for training the model for a stream of Example RDDs. Any Learner will contain a data structure derived from Model.