apache/spark — pull request #3626 by alanctgardner (2014-12-05 21:45:04+00:00)
Title: [MLLIB] SPARK-4362: Added classProbabilities method for Naive Bayes

Added methods which accept an RDD or array and return a map of (label -> posterior prob.) for each input set rather than only returning the key with the maximum value.