aboutsummaryrefslogtreecommitdiff
path: root/assembly
diff options
context:
space:
mode:
authorYanbo Liang <ybliang8@gmail.com>2016-10-05 23:03:09 -0700
committerYanbo Liang <ybliang8@gmail.com>2016-10-05 23:03:09 -0700
commit7aeb20be7e999523784aca7be1a7c9c99dec125e (patch)
tree90015f378a4281a504eb36e12e90cd701f70bcb5 /assembly
parentb678e465afa417780b54db0fbbaa311621311f15 (diff)
downloadspark-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 'assembly')
0 files changed, 0 insertions, 0 deletions