/** * Sets the percentage of data to put in the training partition. Must be * greater than 0.0 and less than 1.0. * * @param trainingPercent The percentage of data to put in the training * partition. */ public void setTrainingPercent( final double trainingPercent) { RandomDataPartitioner.checkTrainingPercent(trainingPercent); this.trainingPercent = trainingPercent; }
/** * Sets the percentage of data to put in the training partition. Must be * greater than 0.0 and less than 1.0. * * @param trainingPercent The percentage of data to put in the training * partition. */ public void setTrainingPercent( final double trainingPercent) { RandomDataPartitioner.checkTrainingPercent(trainingPercent); this.trainingPercent = trainingPercent; }
/** * Sets the percentage of data to put in the training partition. Must be * greater than 0.0 and less than 1.0. * * @param trainingPercent The percentage of data to put in the training * partition. */ public void setTrainingPercent( final double trainingPercent) { RandomDataPartitioner.checkTrainingPercent(trainingPercent); this.trainingPercent = trainingPercent; }
RandomDataPartitioner.checkTrainingPercent(trainingPercent);
RandomDataPartitioner.checkTrainingPercent(trainingPercent);
RandomDataPartitioner.checkTrainingPercent(trainingPercent);