code: private void updateStats(final List<Double> lambdas, OnLineStatistics[][] stats, int indx, double val, double[] mins, double weight)
      {
          for (int k = 0; k < lambdas.size(); k++)
              stats[k][indx].add(transform(val, lambdas.get(k), mins[indx]), weight);
      }
docs: Updates the online stats for each value of lambda
  
  @param lambdas the list of lambda values
  @param stats the array of statistics trackers
  @param indx the feature index to add to
  @param val the value at the given feature index
  @param mins the minimum value array
  @param weight the weight to the given update