diff options
author | Xiangrui Meng <meng@databricks.com> | 2015-05-21 10:30:08 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2015-05-21 10:30:08 -0700 |
commit | 13348e21b6b1c0df42c18b82b86c613291228863 (patch) | |
tree | 83915ccd4d2ff42e0da660f1f9e26c8c893eaff4 /extras | |
parent | a25c1ab8f04a4e19d82ff4c18a0b1689d8b3ddac (diff) | |
download | spark-13348e21b6b1c0df42c18b82b86c613291228863.tar.gz spark-13348e21b6b1c0df42c18b82b86c613291228863.tar.bz2 spark-13348e21b6b1c0df42c18b82b86c613291228863.zip |
[SPARK-7752] [MLLIB] Use lowercase letters for NaiveBayes.modelType
to be consistent with other string names in MLlib. This PR also updates the implementation to use vals instead of hardcoded strings. jkbradley leahmcguire
Author: Xiangrui Meng <meng@databricks.com>
Closes #6277 from mengxr/SPARK-7752 and squashes the following commits:
f38b662 [Xiangrui Meng] add another case _ back in test
ae5c66a [Xiangrui Meng] model type -> modelType
711d1c6 [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-7752
40ae53e [Xiangrui Meng] fix Java test suite
264a814 [Xiangrui Meng] add case _ back
3c456a8 [Xiangrui Meng] update NB user guide
17bba53 [Xiangrui Meng] update naive Bayes to use lowercase model type strings
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions