diff options
author | Yanbo Liang <ybliang8@gmail.com> | 2016-10-05 23:03:09 -0700 |
---|---|---|
committer | Yanbo Liang <ybliang8@gmail.com> | 2016-10-05 23:03:09 -0700 |
commit | 7aeb20be7e999523784aca7be1a7c9c99dec125e (patch) | |
tree | 90015f378a4281a504eb36e12e90cd701f70bcb5 /.gitattributes | |
parent | b678e465afa417780b54db0fbbaa311621311f15 (diff) | |
download | spark-7aeb20be7e999523784aca7be1a7c9c99dec125e.tar.gz spark-7aeb20be7e999523784aca7be1a7c9c99dec125e.tar.bz2 spark-7aeb20be7e999523784aca7be1a7c9c99dec125e.zip |
[MINOR][ML] Avoid 2D array flatten in NB training.
## What changes were proposed in this pull request?
Avoid 2D array flatten in ```NaiveBayes``` training, since flatten method might be expensive (It will create another array and copy data there).
## How was this patch tested?
Existing tests.
Author: Yanbo Liang <ybliang8@gmail.com>
Closes #15359 from yanboliang/nb-theta.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions