From 86122fd90dfb8c26aa3b227ba1e90845481e7adc Mon Sep 17 00:00:00 2001 From: Joel Therrien Date: Thu, 10 Jan 2019 17:34:52 -0800 Subject: [PATCH] Remove comment that isn't true --- .../randomforest/covariates/numeric/NumericCovariate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ca/joeltherrien/randomforest/covariates/numeric/NumericCovariate.java b/src/main/java/ca/joeltherrien/randomforest/covariates/numeric/NumericCovariate.java index 1f00d51..9b23d08 100644 --- a/src/main/java/ca/joeltherrien/randomforest/covariates/numeric/NumericCovariate.java +++ b/src/main/java/ca/joeltherrien/randomforest/covariates/numeric/NumericCovariate.java @@ -52,7 +52,7 @@ public final class NumericCovariate implements Covariate { if(number == 0){ dataIterator = new UniqueValueIterator<>(sortedDataIterator); } - else{ // random splitting; we will not weight based on how many times a Row appears in the bootstrap sample + else{ final TreeSet indexSet = new TreeSet<>(); final int maxIndex = data.size();