</BUG>
}
public boolean isValid() {
try {
<BUG>parameters.getIntParam(CUTOFF_PARAM, CUTOFF_DEFAULT);

parameters.getIntParam(ITERATIONS_PARAM, ITERATIONS_DEFAULT);
</BUG>
} catch (NumberFormatException e) {
return false;

public int getCutoff() {
return trainingParameters.getIntParameter(CUTOFF_PARAM, CUTOFF_DEFAULT);
}
public int getIterations() {
return trainingParameters.getIntParameter(ITERATIONS_PARAM, ITERATIONS_DEFAULT);
}
public boolean isValid() {
try {
trainingParameters.getIntParameter(CUTOFF_PARAM, CUTOFF_DEFAULT);
trainingParameters.getIntParameter(ITERATIONS_PARAM, ITERATIONS_DEFAULT);
} catch (NumberFormatException e) {
return false;
