docs: public static RegressionDataSet getSampledDataSet(RegressionDataSet dataSet, int[] sampledCounts)
      {
          RegressionDataSet destination = new RegressionDataSet(dataSet.getNumNumericalVars(), dataSet.getCategories());
          for (int i = 0; i < sampledCounts.length; i++)
              for (int j = 0; j < sampledCounts[i]; j++)
              {
                  DataPoint dp = dataSet.getDataPoint(i);
                  destination.addDataPoint(dp, dataSet.getTargetValue(i));
              }
          return destination;
      }