madlib/madlib — pull request #193 by renyi533 (2012-08-08 06:01:18+00:00)
Title: Fix madlib-619/madlib-611(naive bayes). 

The changes are: 1) replacing cross joins, which is very slow for training sets with a lot of features, whenever possible. 2) replacing union with outer join to improve performance. 3) verify the supplied attrNum is consistent with the training set.