InputType
- The input type to learn over, which is passed to the kernel function.@PublicationReference(author={"Francesco Orabona","Joseph Keshet","Barbara Caputo"}, title="Bounded Kernel-Based Online Learning", year=2009, type=Journal, publication="Journal of Machine Learning Research", pages={2643,2666}, url="http://portal.acm.org/citation.cfm?id=1755875") public class Stoptron<InputType> extends AbstractOnlineBudgetedKernelBinaryCategorizerLearner<InputType>
budget, DEFAULT_BUDGET
kernel
Constructor and Description |
---|
Stoptron()
Creates a new
Stoptron with default parameters and a null kernel. |
Stoptron(Kernel<? super InputType> kernel,
int budget)
Creates a new
Stoptron with the given parameters. |
Modifier and Type | Method and Description |
---|---|
void |
update(DefaultKernelBinaryCategorizer<InputType> target,
InputType input,
boolean label)
Updates the target categorizer based on the given input and its
associated output.
|
getBudget, setBudget
createInitialLearnedObject, getKernel, setKernel, update
update
clone, learn, learn, update
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone
learn
learn
update
public Stoptron()
Stoptron
with default parameters and a null kernel.public void update(DefaultKernelBinaryCategorizer<InputType> target, InputType input, boolean label)
AbstractOnlineKernelBinaryCategorizerLearner
update
in class AbstractOnlineKernelBinaryCategorizerLearner<InputType>
target
- The target categorizer to update.input
- The input value to learn from.label
- The output value associated with the input.