DataType - The type of the data that the algorithm uses to perform
the learning. For example, a
Collection<InputOutputPair<Vector, Double>> or
String.ResultType - The type of object created by the learning algorithm.
For example, a FeedforwardNeuralNetwork.@CodeReview(reviewer="Kevin R. Dixon", date="2008-07-22", changesNeeded=false, comments="Interface looks fine.") public interface BatchLearner<DataType,ResultType> extends CloneableSerializable
BatchLearner interface defines the general functionality
of an object that is the implementation of a data-driven, batch machine
learning algorithm. It unifies the interfaces for both supervised and
unsupervised learning, but as such is extremely general. The interface
defines that a learning algorithm takes in some type of data and produces
some type of object as output from the data.
BatchLearner
object (usually as a Java Bean) and then the data is passed in using the
learn method to create the result object of the learning algorithm.
IncrementalLearner| Modifier and Type | Method and Description |
|---|---|
ResultType |
learn(DataType data)
The
learn method creates an object of ResultType using
data of type DataType, using some form of "learning" algorithm. |
cloneResultType learn(DataType data)
learn method creates an object of ResultType using
data of type DataType, using some form of "learning" algorithm.data - The data that the learning algorithm will use to create an
object of ResultType.