cgb2.set(-0.4f, 0, 0);
cgb2.set(0.2f, 1, 0);
AparapiCDTrainer t = TrainerFactory.cdSigmoidTrainer(rbm, new SimpleInputProvider(new float[][] { { 1, 0, 1 }, { 1, 1, 0 } }, null), null, null, null, 1f, 0f, 0f, 0f, 1, 1, 1, false);
t.train();
assertEquals(0.86090606, cgb1.get(0, 0), 0.00001);
assertEquals(0.089616358, cgb1.get(1, 0), 0.00001);
assertEquals(-0.11872697, cgb1.get(2, 0), 0.00001);