fixed nullpointer in training
Merge branch 'parse' of github.com:espehel/UbiLearn into parse