Open pabouh opened 10 years ago
Also came across this in version 3.2.0 of the examples. It seems that the network just needs to be trained with something like..
while(!train.isTrainingDone()) { train.iteration(); }
..then things work as expected.
It seems to have an error in the file : org.encog.examples.ml.bayesian.SimpleK2. When I run the example, this appears:
x2 probability : null Calculated P(+x2|+x1): NaN Final network structure: P(x1) P(x2) P(x3)
From the comment,we can at least inspect that "x2 probability" is 0.71. ?