diff options
author | Feynman Liang <fliang@databricks.com> | 2015-08-11 14:21:53 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2015-08-11 14:21:53 -0700 |
commit | be3e27164133025db860781bd5cdd3ca233edd21 (patch) | |
tree | 4eeaf5b899f41fa21403b49a8c4f748cdeeaba9a /examples | |
parent | 423cdfd83d7fd02a4f8cf3e714db913fd3f9ca09 (diff) | |
download | spark-be3e27164133025db860781bd5cdd3ca233edd21.tar.gz spark-be3e27164133025db860781bd5cdd3ca233edd21.tar.bz2 spark-be3e27164133025db860781bd5cdd3ca233edd21.zip |
[SPARK-9788] [MLLIB] Fix LDA Binary Compatibility
1. Add “asymmetricDocConcentration” and revert docConcentration changes. If the (internal) doc concentration vector is a single value, “getDocConcentration" returns it. If it is a constant vector, getDocConcentration returns the first item, and fails otherwise.
2. Give `LDAModel.gammaShape` a default value in `LDAModel` concrete class constructors.
jkbradley
Author: Feynman Liang <fliang@databricks.com>
Closes #8077 from feynmanliang/SPARK-9788 and squashes the following commits:
6b07bc8 [Feynman Liang] Code review changes
9d6a71e [Feynman Liang] Add asymmetricAlpha alias
bf4e685 [Feynman Liang] Asymmetric docConcentration
4cab972 [Feynman Liang] Default gammaShape
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions