fixed naive bayes config.  fixed loss for mllib_test.py regression test