gov.sandia.cognition.learning.algorithm.perceptron.kernel
Interface BudgetedKernelBinaryCategorizerLearner


public interface BudgetedKernelBinaryCategorizerLearner

Interface for a budgeted kernel binary categorizer learner. Exposes the parameter to get and set the budget.

Since:
3.3.0
Author:
Justin Basilico

Method Summary
 int getBudget()
          Gets the budget.
 void setBudget(int budget)
          Sets the budget.
 

Method Detail

getBudget

int getBudget()
Gets the budget. No more than this number of examples will be used in the resulting kernel categorizer.

Returns:
The budget. Must be positive.

setBudget

void setBudget(int budget)
Sets the budget. No more than this number of examples will be used in the resulting kernel categorizer.

Parameters:
budget - The budget. Must be positive.