InputType
- The input type that kernel learning happens on.public interface LinearizableBinaryCategorizerOnlineLearner<InputType> extends SupervisedBatchAndIncrementalLearner<InputType,java.lang.Boolean,DefaultKernelBinaryCategorizer<InputType>>
KernelizableBinaryCategorizerOnlineLearner
.KernelizableBinaryCategorizerOnlineLearner
Modifier and Type | Method and Description |
---|---|
LinearBinaryCategorizer |
createInitialLinearLearnedObject(VectorFactory<?> vectorFactory)
Creates the initial learned object.
|
SupervisedIncrementalLearner<Vectorizable,java.lang.Boolean,LinearBinaryCategorizer> |
createLinearLearner(VectorFactory<?> vectorFactory)
Creates a new linear learner using the standard learning interfaces
based on this learner and its parameters.
|
void |
update(LinearBinaryCategorizer target,
InputOutputPair<? extends Vectorizable,java.lang.Boolean> data,
VectorFactory<?> vectorFactory)
Performs a linear incremental update step on the given object using the
given supervised data.
|
void |
update(LinearBinaryCategorizer target,
java.lang.Iterable<? extends InputOutputPair<? extends Vectorizable,java.lang.Boolean>> data,
VectorFactory<?> vectorFactory)
Performs a linear incremental update step on the given object using the
given supervised data.
|
void |
update(LinearBinaryCategorizer target,
Vectorizable input,
boolean output,
VectorFactory<?> vectorFactory)
Performs a linear incremental update step on the given object using the
given supervised data.
|
void |
update(LinearBinaryCategorizer target,
Vectorizable input,
java.lang.Boolean output,
VectorFactory<?> vectorFactory)
Performs a linear incremental update step on the given object using the
given supervised data.
|
update
learn
learn
createInitialLearnedObject, update, update
clone
LinearBinaryCategorizer createInitialLinearLearnedObject(VectorFactory<?> vectorFactory)
vectorFactory
- The vector factory to use.void update(LinearBinaryCategorizer target, java.lang.Iterable<? extends InputOutputPair<? extends Vectorizable,java.lang.Boolean>> data, VectorFactory<?> vectorFactory)
target
- The target object to update.data
- The supervised training datavectorFactory
- The vector factory to use.void update(LinearBinaryCategorizer target, InputOutputPair<? extends Vectorizable,java.lang.Boolean> data, VectorFactory<?> vectorFactory)
target
- The target object to update.data
- The supervised training datavectorFactory
- The vector factory to use.void update(LinearBinaryCategorizer target, Vectorizable input, java.lang.Boolean output, VectorFactory<?> vectorFactory)
target
- The target object to update.input
- The supervised input value.output
- The supervised output value (label).vectorFactory
- The vector factory to use.void update(LinearBinaryCategorizer target, Vectorizable input, boolean output, VectorFactory<?> vectorFactory)
target
- The target object to update.input
- The supervised input value.output
- The supervised output value (label).vectorFactory
- The vector factory to use.SupervisedIncrementalLearner<Vectorizable,java.lang.Boolean,LinearBinaryCategorizer> createLinearLearner(VectorFactory<?> vectorFactory)
vectorFactory
- The vector factory to use.