public static enum KernelPoint.BudgetStrategy extends Enum<KernelPoint.BudgetStrategy>
Enum Constant and Description |
---|
MERGE_RBF
The budget is maintained by merging two support vectors to minimize
the error in the squared norm.
|
PROJECTION
The budget is maintained by projecting the incoming vector onto
the set of current vectors.
|
RANDOM
The budget is maintained by randomly dropping a previous support
vector.
|
STOP
The budget is maintained by refusing to add new data points once the
budget is reached.
|
Modifier and Type | Method and Description |
---|---|
static KernelPoint.BudgetStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KernelPoint.BudgetStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KernelPoint.BudgetStrategy PROJECTION
KernelPoint.setErrorTolerance(double)
the projection is used, and
the input is added to the support vector set if the error was too
large. public static final KernelPoint.BudgetStrategy MERGE_RBF
RBFKernel
. Using any other kernel may cause invalid
resultspublic static final KernelPoint.BudgetStrategy STOP
public static final KernelPoint.BudgetStrategy RANDOM
public static KernelPoint.BudgetStrategy[] values()
for (KernelPoint.BudgetStrategy c : KernelPoint.BudgetStrategy.values()) System.out.println(c);
public static KernelPoint.BudgetStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.