MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / setFolds

Method setFolds

JSAT/src/jsat/datatransform/featureselection/SFS.java:400–405  ·  view source on GitHub ↗

Sets the number of folds to use for cross validation when estimating the error rate @param folds the number of folds to use for cross validation when estimating the error rate

(int folds)

Source from the content-addressed store, hash-verified

398 * @param folds the number of folds to use for cross validation when estimating the error rate
399 */
400 public void setFolds(int folds)
401 {
402 if(folds <= 0 )
403 throw new IllegalArgumentException("Number of CV folds must be positive, not " + folds);
404 this.folds = folds;
405 }
406
407 /**
408 *

Callers 1

SFSMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected