diff --git a/AVCDecisionTreeForest.m b/AVCDecisionTreeForest.m index 1e564e4d..51c939a6 100644 --- a/AVCDecisionTreeForest.m +++ b/AVCDecisionTreeForest.m @@ -190,7 +190,7 @@ Mathematica is (C) Copyright 1988-2012 Wolfram Research, Inc. If[min == max, data, h = (max - min)/nStrata; - Map[Floor[(# - min)/h]*h + min &, data] + Map[Round[(# - min), h] + min &, data] ] ]; Stratify[data_, nStrata_Integer] := data;