public interface KernelizableBinaryCategorizerOnlineLearner extends SupervisedBatchAndIncrementalLearner<Vectorizable,java.lang.Boolean,LinearBinaryCategorizer>
LinearizableBinaryCategorizerOnlineLearner
.LinearizableBinaryCategorizerOnlineLearner
Modifier and Type | Method and Description |
---|---|
<InputType> |
createInitialLearnedObject(Kernel<? super InputType> kernel)
Creates the initial learned object with a given kernel.
|
<InputType> |
createKernelLearner(Kernel<? super InputType> kernel)
Creates a new kernel-based learner using the standard learning interfaces
based on this learner and its parameters.
|
<InputType> |
learn(Kernel<? super InputType> kernel,
java.lang.Iterable<? extends InputOutputPair<? extends InputType,java.lang.Boolean>> data)
Run this algorithm on a batch of data using the given kernel function.
|
<InputType> |
update(DefaultKernelBinaryCategorizer<InputType> target,
InputOutputPair<? extends InputType,java.lang.Boolean> data)
Performs a kernel-based incremental update step on the given object
using the given supervised data.
|
<InputType> |
update(DefaultKernelBinaryCategorizer<InputType> target,
InputType input,
boolean output)
Performs a kernel-based incremental update step on the given object
using the given supervised data.
|
<InputType> |
update(DefaultKernelBinaryCategorizer<InputType> target,
InputType input,
java.lang.Boolean output)
Performs a kernel-based incremental update step on the given object
using the given supervised data.
|
<InputType> |
update(DefaultKernelBinaryCategorizer<InputType> target,
java.lang.Iterable<? extends InputOutputPair<? extends InputType,java.lang.Boolean>> data)
Performs a kernel-based incremental update step on the given object
using the given supervised data.
|
update
learn
learn
createInitialLearnedObject, update, update
clone
<InputType> DefaultKernelBinaryCategorizer<InputType> createInitialLearnedObject(Kernel<? super InputType> kernel)
InputType
- The input type for supervised learning. Will be passed to the
kernel function.kernel
- The kernel function to use.<InputType> void update(DefaultKernelBinaryCategorizer<InputType> target, java.lang.Iterable<? extends InputOutputPair<? extends InputType,java.lang.Boolean>> data)
InputType
- The input type for supervised learning. Will be passed to the
kernel function.target
- The target object to update.data
- The supervised training data.<InputType> void update(DefaultKernelBinaryCategorizer<InputType> target, InputOutputPair<? extends InputType,java.lang.Boolean> data)
InputType
- The input type for supervised learning. Will be passed to the
kernel function.target
- The target object to update.data
- The supervised training data.<InputType> void update(DefaultKernelBinaryCategorizer<InputType> target, InputType input, java.lang.Boolean output)
InputType
- The input type for supervised learning. Will be passed to the
kernel function.target
- The target object to update.input
- The supervised input value.output
- The supervised output value (label).<InputType> void update(DefaultKernelBinaryCategorizer<InputType> target, InputType input, boolean output)
InputType
- The input type for supervised learning. Will be passed to the
kernel function.target
- The target object to update.input
- The supervised input value.output
- The supervised output value (label).<InputType> DefaultKernelBinaryCategorizer<InputType> learn(Kernel<? super InputType> kernel, java.lang.Iterable<? extends InputOutputPair<? extends InputType,java.lang.Boolean>> data)
InputType
- The input type for supervised learning. Will be passed to the
kernel function.kernel
- The kernel function to use.data
- The supervised training data.<InputType> SupervisedBatchAndIncrementalLearner<InputType,java.lang.Boolean,DefaultKernelBinaryCategorizer<InputType>> createKernelLearner(Kernel<? super InputType> kernel)
InputType
- The input type for supervised learning. Will be passed to the
kernel function.kernel
- The kernel function to use.