public void addResults(String label) {
		// Create results array
		double[] res = new double[size()];
		for (int i = 0; i < res.length; i++) {
			Entity e = entities.get(i);
			if (e.hasOutput()) res[i] = e.getOutput();
			else res[i] = Double.NaN;
		}

		// Add to results
		results.add(res);
		labels.add(label);
	}