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_BUDGETkernel| 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, setBudgetcreateInitialLearnedObject, getKernel, setKernel, updateupdateclone, learn, learn, updateequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclonelearnlearnupdatepublic Stoptron()
Stoptron with default parameters and a null kernel.public void update(DefaultKernelBinaryCategorizer<InputType> target, InputType input, boolean label)
AbstractOnlineKernelBinaryCategorizerLearnerupdate 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.