int outputSize = outputs.get(0).size();
BasicMLData acc = new BasicMLData(outputSize);
for (MLData out: outputs)
{
MLData thresholdedOut = threshold(out, threshold, lowValue, highValue);
acc = (BasicMLData) acc.plus(thresholdedOut);
}
acc = (BasicMLData) acc.times(1.0 / outputs.size());
return threshold(acc, threshold, lowValue, highValue);
}