GitHub user feynmanliang opened a pull request:

    https://github.com/apache/spark/pull/8077

    [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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/feynmanliang/spark SPARK-9788

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/8077.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #8077
    
----
commit 4cab97207a370ea8f4894fae0ac462ed1f57d640
Author: Feynman Liang <[email protected]>
Date:   2015-08-10T19:44:23Z

    Default gammaShape

commit bf4e68561df85fdf8d5482ddd9c34f4ac0605dfc
Author: Feynman Liang <[email protected]>
Date:   2015-08-10T20:38:27Z

    Asymmetric docConcentration

commit 9d6a71e884a821e3a1f40825427713559723d0fc
Author: Feynman Liang <[email protected]>
Date:   2015-08-10T20:42:53Z

    Add asymmetricAlpha alias

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to