/** * Adds a mean and standard deviation to the table. * * @param mean the mean. * @param standardDeviation the standard deviation. * @param rowKey the row key. * @param columnKey the column key. */ public void add(double mean, double standardDeviation, Comparable rowKey, Comparable columnKey) { add(new Double(mean), new Double(standardDeviation), rowKey, columnKey); }
/** * Adds a mean and standard deviation to the table. * * @param mean the mean. * @param standardDeviation the standard deviation. * @param rowKey the row key. * @param columnKey the column key. */ public void add(double mean, double standardDeviation, Comparable rowKey, Comparable columnKey) { add(new Double(mean), new Double(standardDeviation), rowKey, columnKey); }
List<Number> vals = keyToValue.getOrDefault(Arrays.asList(seriesId, categoryId), Arrays.<Number>asList(0.0, 0.0)); result.add(vals.get(0), vals.get(1), seriesId, categoryId);
variance = stat.getMemStat("var"); dataset.add(mean, Math.sqrt(variance), stat.getTask().toString(), release.getVersion());