* the currentFold to set
*/
public void setCurrentFold(final int theCurrentFold) {
if (this.owner != null) {
throw new TrainingError(
"Can't set the fold on a non-top-level set.");
}
if (theCurrentFold >= this.numFolds) {
throw new TrainingError(
"Can't set the current fold to be greater than "
+ "the number of folds.");
}
this.currentFold = theCurrentFold;
this.currentFoldOffset = this.foldSize * this.currentFold;