private final double confidence;
public ApproximateSumGroupedAccumulator(int valueChannel, Optional<Integer> maskChannel, Optional<Integer> sampleWeightChannel, double confidence)
{
super(valueChannel, SINGLE_VARBINARY, SINGLE_VARBINARY, maskChannel, sampleWeightChannel);
this.counts = new LongBigArray();
this.samples = new LongBigArray();
this.sums = new DoubleBigArray();
this.variances = new DoubleBigArray();
this.confidence = confidence;
}