aboutsummaryrefslogtreecommitdiff
path: root/R/install-dev.sh
diff options
context:
space:
mode:
authorwm624@hotmail.com <wm624@hotmail.com>2017-01-16 06:05:59 -0800
committerYanbo Liang <ybliang8@gmail.com>2017-01-16 06:05:59 -0800
commit12c8c2160829ad8ccdab1741530361cdabdcd39d (patch)
treedd8dcfbc084b620ce8e1ea68ec6b26491757e20f /R/install-dev.sh
parente635cbb6e61dee450db0ef45f3d82ac282a85d3c (diff)
downloadspark-12c8c2160829ad8ccdab1741530361cdabdcd39d.tar.gz
spark-12c8c2160829ad8ccdab1741530361cdabdcd39d.tar.bz2
spark-12c8c2160829ad8ccdab1741530361cdabdcd39d.zip
[SPARK-19066][SPARKR] SparkR LDA doesn't set optimizer correctly
## What changes were proposed in this pull request? spark.lda passes the optimizer "em" or "online" as a string to the backend. However, LDAWrapper doesn't set optimizer based on the value from R. Therefore, for optimizer "em", the `isDistributed` field is FALSE, which should be TRUE based on scala code. In addition, the `summary` method should bring back the results related to `DistributedLDAModel`. ## How was this patch tested? Manual tests by comparing with scala example. Modified the current unit test: fix the incorrect unit test and add necessary tests for `summary` method. Author: wm624@hotmail.com <wm624@hotmail.com> Closes #16464 from wangmiao1981/new.
Diffstat (limited to 'R/install-dev.sh')
0 files changed, 0 insertions, 0 deletions