@Override
	public double[] predict(double[] obs) {
		bn.setInputValues(new DenseVector(obs));
		bn.run();
		Vector v = bn.getOutputValues();
		double[] r = new double[v.size()];
		for (int i = 0; i < v.size(); i++) r[i] = v.get(i);
		return r;
	}