public double probabilityOfTrue(Counter<String> features) { double probTrue = 0; for (DecisionTree tree : trees) { probTrue += tree.probabilityOfTrue(features); } return probTrue / trees.length; }