Package | Description |
---|---|
gov.sandia.cognition.learning.algorithm.baseline |
Provides baseline (dummy) learning algorithms.
|
gov.sandia.cognition.learning.function |
Provides function objects for learning algorithms.
|
Modifier and Type | Method and Description |
---|---|
ConstantEvaluator<java.lang.Double> |
MeanLearner.learn(java.util.Collection<? extends InputOutputPair<?,java.lang.Double>> data)
Creates a constant evaluator that returns the mean output value of the
given dataset.
|
ConstantEvaluator<java.lang.Double> |
WeightedMeanLearner.learn(java.util.Collection<? extends InputOutputPair<?,java.lang.Double>> data)
Creates a constant evaluator for the weighted mean output value of the
given dataset.
|
ConstantEvaluator<OutputType> |
MostFrequentLearner.learn(java.util.Collection<? extends InputOutputPair<? extends java.lang.Object,OutputType>> data)
Creates a constant evaluator that for the most frequent output value of
the given dataset.
|
ConstantEvaluator<OutputType> |
WeightedMostFrequentLearner.learn(java.util.Collection<? extends InputOutputPair<? extends java.lang.Object,OutputType>> data)
Creates a constant evaluator based on the most frequent output in a given
collection of input-output pairs, taking the weight into account.
|
Modifier and Type | Method and Description |
---|---|
static <OutputType> |
ConstantEvaluator.create(OutputType value)
Creates a new
ConstantEvaluator for the given value. |