CloudAlgorithm implements Cloneable { protected double computeCloud(final double[] cloudIn) { final double[] output = new double[1]; neuralNet.process(cloudIn, output); return output[0]; } CloudAlgorithm(File auxDataDir, String configName); double computeCloudProbability(double[] cloudIn);  }
@Test public void testComputeCloud() { final double[] in = new double[]{0.0778002, 0.0695650, 0.0591455, 0.0545394, 0.0460968, 0.0415193, 0.0420742, 0.0421471, 0.0421236, 0.293535, 1012.98, 762.190, 0.622985, 0.996135, -0.0447822}; double out = testAlgorithm.computeCloud(in); assertEquals("cloud NN result", 0.004993, out, 0.00001); }