Hello,
Trainer.java is not working. It fails with error:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at Trainer.main(Trainer.java:174)
Line 174: final double[] vector = moments.get(i);
But moments variable is only initialized and never filled. Something is missing?
Anonymous
You can close this one. You have to set constant POSSIBLE in Trainer.java to your array of characters.