You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by zhengruifeng <gi...@git.apache.org> on 2016/05/05 08:21:29 UTC

[GitHub] spark pull request: [SPARK-15150][DOC] Add python example for LDA

GitHub user zhengruifeng opened a pull request:

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

    [SPARK-15150][DOC] Add python example for LDA

    ## What changes were proposed in this pull request?
    Add python example for LDA
    
    
    ## How was this patch tested?
    manual tests
    `./bin/spark-submit examples/src/main/python/ml/lda_example.py`

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

    $ git pull https://github.com/zhengruifeng/spark lda_pe

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

    https://github.com/apache/spark/pull/12927.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 #12927
    
----
commit 278c453a5912b54406cd9d623f742fd9c2a9de61
Author: Zheng RuiFeng <ru...@foxmail.com>
Date:   2016-05-05T08:16:08Z

    add lda py example

commit b98ad7c2906f93797e087a796a758e60fe3ef96e
Author: Zheng RuiFeng <ru...@foxmail.com>
Date:   2016-05-05T08:18:29Z

    add to user guide

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217709741
  
    **[Test build #58102 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58102/consoleFull)** for PR 12927 at commit [`1219ca1`](https://github.com/apache/spark/commit/1219ca11b5c503e8322532f2f7d18cbd0d90d61e).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217690734
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58088/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218353847
  
    **[Test build #58317 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58317/consoleFull)** for PR 12927 at commit [`eab9511`](https://github.com/apache/spark/commit/eab9511f04968bf766aaf06f2a0773e1a0ffdacf).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217690728
  
    **[Test build #58088 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58088/consoleFull)** for PR 12927 at commit [`8625754`](https://github.com/apache/spark/commit/862575408396266b1695851b76933e26cbfafc59).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218408249
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58356/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218399029
  
    **[Test build #58356 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58356/consoleFull)** for PR 12927 at commit [`83918d4`](https://github.com/apache/spark/commit/83918d434ecadeead795359114ff4a3f0c088545).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217435590
  
    **[Test build #57991 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57991/consoleFull)** for PR 12927 at commit [`d7916b4`](https://github.com/apache/spark/commit/d7916b46986e570b906a9ae7bfe4aca90e8b8399).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218408067
  
    **[Test build #58356 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58356/consoleFull)** for PR 12927 at commit [`83918d4`](https://github.com/apache/spark/commit/83918d434ecadeead795359114ff4a3f0c088545).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217435665
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57991/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][DOC] Add python example for LDA

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217102943
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57865/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218349347
  
    **[Test build #58316 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58316/consoleFull)** for PR 12927 at commit [`65dd7ca`](https://github.com/apache/spark/commit/65dd7ca1c242724a8a0064c78cef71ba1fce0563).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217690733
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217360439
  
    **[Test build #57968 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57968/consoleFull)** for PR 12927 at commit [`2270148`](https://github.com/apache/spark/commit/2270148526d2a8f8f4abf7eddbf9e440a73b197c).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217690544
  
    **[Test build #58088 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58088/consoleFull)** for PR 12927 at commit [`8625754`](https://github.com/apache/spark/commit/862575408396266b1695851b76933e26cbfafc59).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217709756
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58102/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by yanboliang <gi...@git.apache.org>.
Github user yanboliang commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12927#discussion_r62297944
  
    --- Diff: examples/src/main/python/ml/lda_example.py ---
    @@ -0,0 +1,64 @@
    +#
    +# Licensed to the Apache Software Foundation (ASF) under one or more
    +# contributor license agreements.  See the NOTICE file distributed with
    +# this work for additional information regarding copyright ownership.
    +# The ASF licenses this file to You under the Apache License, Version 2.0
    +# (the "License"); you may not use this file except in compliance with
    +# the License.  You may obtain a copy of the License at
    +#
    +#    http://www.apache.org/licenses/LICENSE-2.0
    +#
    +# Unless required by applicable law or agreed to in writing, software
    +# distributed under the License is distributed on an "AS IS" BASIS,
    +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +# See the License for the specific language governing permissions and
    +# limitations under the License.
    +#
    +
    +
    +from __future__ import print_function
    +
    +from pyspark.sql import SparkSession
    +
    +# $example on$
    +from pyspark.ml.clustering import LDA
    +from pyspark.mllib.linalg import Vectors
    +from pyspark.sql import Row
    +# $example off$
    +
    +
    +"""
    +A simple example demonstrating LDA.
    +"""
    +
    +
    +if __name__ == "__main__":
    +    spark = SparkSession.builder.appName("PythonLDAExample").getOrCreate()
    +
    +    # $example on$
    +    # Loads data
    +    data = spark.read.text("data/mllib/sample_lda_data.txt").rdd
    +    parsed = data \
    +        .map(lambda row: Row(features=Vectors.dense([float(x) for x in row.value.split(' ')])))
    +    dataset = spark.createDataFrame(parsed)
    +
    +    # Trains a LDA model
    +    lda = LDA(k=10, maxIter=10)
    +
    +    model = lda.fit(dataset)
    +
    +    ll = model.logLikelihood(dataset)
    +    lp = model.logPerplexity(dataset)
    +    print(ll)
    +    print(lp)
    --- End diff --
    
    print("The lower bound on the log likelihood of the entire corpus: " + str(ll))
    print("The upper bound bound on perplexity: " + str(lp))


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218391261
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][DOC] Add python example for LDA

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217101714
  
    **[Test build #57865 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57865/consoleFull)** for PR 12927 at commit [`b98ad7c`](https://github.com/apache/spark/commit/b98ad7c2906f93797e087a796a758e60fe3ef96e).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][DOC] Add python example for LDA

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217103441
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218353550
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217691058
  
    **[Test build #58089 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58089/consoleFull)** for PR 12927 at commit [`0191d6a`](https://github.com/apache/spark/commit/0191d6a5ea7c602f58a5e78aa3e05fc4855afb45).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][DOC] Add python example for LDA

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217102372
  
    **[Test build #57867 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57867/consoleFull)** for PR 12927 at commit [`543df2f`](https://github.com/apache/spark/commit/543df2fd11886dfa94a741d0030b257e4ec5faec).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][DOC] Add python example for LDA

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217103443
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57867/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217435664
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218391145
  
    **[Test build #58345 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58345/consoleFull)** for PR 12927 at commit [`f573fa6`](https://github.com/apache/spark/commit/f573fa64e0142c956815906a2f2a985d15c951f6).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by yanboliang <gi...@git.apache.org>.
Github user yanboliang commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218423298
  
    LGTM. Thanks!


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218371413
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by yanboliang <gi...@git.apache.org>.
Github user yanboliang commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12927#discussion_r62298023
  
    --- Diff: examples/src/main/python/ml/lda_example.py ---
    @@ -0,0 +1,64 @@
    +#
    +# Licensed to the Apache Software Foundation (ASF) under one or more
    +# contributor license agreements.  See the NOTICE file distributed with
    +# this work for additional information regarding copyright ownership.
    +# The ASF licenses this file to You under the Apache License, Version 2.0
    +# (the "License"); you may not use this file except in compliance with
    +# the License.  You may obtain a copy of the License at
    +#
    +#    http://www.apache.org/licenses/LICENSE-2.0
    +#
    +# Unless required by applicable law or agreed to in writing, software
    +# distributed under the License is distributed on an "AS IS" BASIS,
    +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +# See the License for the specific language governing permissions and
    +# limitations under the License.
    +#
    +
    +
    +from __future__ import print_function
    +
    +from pyspark.sql import SparkSession
    +
    +# $example on$
    +from pyspark.ml.clustering import LDA
    +from pyspark.mllib.linalg import Vectors
    +from pyspark.sql import Row
    +# $example off$
    +
    +
    +"""
    +A simple example demonstrating LDA.
    +"""
    +
    +
    +if __name__ == "__main__":
    +    spark = SparkSession.builder.appName("PythonLDAExample").getOrCreate()
    +
    +    # $example on$
    +    # Loads data
    +    data = spark.read.text("data/mllib/sample_lda_data.txt").rdd
    +    parsed = data \
    +        .map(lambda row: Row(features=Vectors.dense([float(x) for x in row.value.split(' ')])))
    +    dataset = spark.createDataFrame(parsed)
    +
    +    # Trains a LDA model
    +    lda = LDA(k=10, maxIter=10)
    +
    +    model = lda.fit(dataset)
    +
    +    ll = model.logLikelihood(dataset)
    +    lp = model.logPerplexity(dataset)
    +    print(ll)
    +    print(lp)
    +
    +    # describeTopics
    +    topics = model.describeTopics(3)
    +
    +    # Shows the result
    +    transformed = model.transform(dataset)
    +    topics.show(truncate=False)
    --- End diff --
    
    print("The topics described by their top-weighted terms")


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218371340
  
    **[Test build #58329 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58329/consoleFull)** for PR 12927 at commit [`eab9511`](https://github.com/apache/spark/commit/eab9511f04968bf766aaf06f2a0773e1a0ffdacf).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217361848
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217709602
  
    **[Test build #58101 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58101/consoleFull)** for PR 12927 at commit [`5e26019`](https://github.com/apache/spark/commit/5e2601933c2dac074a50e545d213b63cfccf3879).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by MLnick <gi...@git.apache.org>.
Github user MLnick commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218392563
  
    Please rebase your PR to current master and fix merge conflicts


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by MLnick <gi...@git.apache.org>.
Github user MLnick commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218425466
  
    Merged to master and branch-2.0. Thanks!


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by yanboliang <gi...@git.apache.org>.
Github user yanboliang commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12927#discussion_r62298043
  
    --- Diff: examples/src/main/scala/org/apache/spark/examples/ml/LDAExample.scala ---
    @@ -55,19 +55,21 @@ object LDAExample {
           .setMaxIter(10)
           .setFeaturesCol(FEATURES_COL)
         val model = lda.fit(dataset)
    -    val transformed = model.transform(dataset)
     
         val ll = model.logLikelihood(dataset)
         val lp = model.logPerplexity(dataset)
    +    println(ll)
    +    println(lp)
     
         // describeTopics
         val topics = model.describeTopics(3)
     
         // Shows the result
    +    val transformed = model.transform(dataset)
         topics.show(false)
         transformed.show(false)
    --- End diff --
    
    Ditto


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217709620
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58101/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by MLnick <gi...@git.apache.org>.
Github user MLnick commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12927#discussion_r62799764
  
    --- Diff: examples/src/main/java/org/apache/spark/examples/ml/JavaLDAExample.java ---
    @@ -17,80 +17,53 @@
     
     package org.apache.spark.examples.ml;
     // $example on$
    -import java.util.regex.Pattern;
    -
    -import org.apache.spark.api.java.JavaRDD;
    -import org.apache.spark.api.java.function.Function;
     import org.apache.spark.ml.clustering.LDA;
     import org.apache.spark.ml.clustering.LDAModel;
    -import org.apache.spark.mllib.linalg.Vector;
    -import org.apache.spark.mllib.linalg.VectorUDT;
    -import org.apache.spark.mllib.linalg.Vectors;
     import org.apache.spark.sql.Dataset;
     import org.apache.spark.sql.Row;
     import org.apache.spark.sql.SparkSession;
    -import org.apache.spark.sql.catalyst.expressions.GenericRow;
    -import org.apache.spark.sql.types.Metadata;
    -import org.apache.spark.sql.types.StructField;
    -import org.apache.spark.sql.types.StructType;
     // $example off$
     
     /**
    - * An example demonstrating LDA
    + * An example demonstrating LDA.
      * Run with
      * <pre>
      * bin/run-example ml.JavaLDAExample
      * </pre>
      */
     public class JavaLDAExample {
     
    -  // $example on$
    -  private static class ParseVector implements Function<String, Row> {
    -    private static final Pattern separator = Pattern.compile(" ");
    -
    -    @Override
    -    public Row call(String line) {
    -      String[] tok = separator.split(line);
    -      double[] point = new double[tok.length];
    -      for (int i = 0; i < tok.length; ++i) {
    -        point[i] = Double.parseDouble(tok[i]);
    -      }
    -      Vector[] points = {Vectors.dense(point)};
    -      return new GenericRow(points);
    -    }
    -  }
    -
       public static void main(String[] args) {
    -
    -    String inputFile = "data/mllib/sample_lda_data.txt";
    -
    -    // Parses the arguments
    +    // Creates a SparkSession
         SparkSession spark = SparkSession
           .builder()
           .appName("JavaLDAExample")
           .getOrCreate();
     
    -    // Loads data
    -    JavaRDD<Row> points = spark.read().text(inputFile).javaRDD().map(new ParseVector());
    -    StructField[] fields = {new StructField("features", new VectorUDT(), false, Metadata.empty())};
    -    StructType schema = new StructType(fields);
    -    Dataset<Row> dataset = spark.createDataFrame(points, schema);
    +    // $example on$
    +    // Loads data.
    +    Dataset<Row> dataset = spark.read().format("libsvm")
    +      .load("data/mllib/sample_lda_libsvm_data.txt");
     
    -    // Trains a LDA model
    -    LDA lda = new LDA()
    -      .setK(10)
    -      .setMaxIter(10);
    +    // Trains a LDA model.
    +    LDA lda = new LDA().setK(10).setMaxIter(10);
         LDAModel model = lda.fit(dataset);
     
    -    System.out.println(model.logLikelihood(dataset));
    -    System.out.println(model.logPerplexity(dataset));
    -
    -    // Shows the result
    +    double ll = model.logLikelihood(dataset);
    +    double lp = model.logPerplexity(dataset);
    +    System.out.println("The lower bound on the log likelihood of the entire corpus: " + ll);
    +    System.out.println("The upper bound bound on perplexity: " + lp);
    +    
    +    // describeTopics.
    --- End diff --
    
    Describe topics


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217707939
  
    **[Test build #58101 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58101/consoleFull)** for PR 12927 at commit [`5e26019`](https://github.com/apache/spark/commit/5e2601933c2dac074a50e545d213b63cfccf3879).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218353487
  
    **[Test build #58316 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58316/consoleFull)** for PR 12927 at commit [`65dd7ca`](https://github.com/apache/spark/commit/65dd7ca1c242724a8a0064c78cef71ba1fce0563).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][DOC] Add python example for LDA

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217103395
  
    **[Test build #57867 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57867/consoleFull)** for PR 12927 at commit [`543df2f`](https://github.com/apache/spark/commit/543df2fd11886dfa94a741d0030b257e4ec5faec).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217709755
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217433489
  
    **[Test build #57991 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57991/consoleFull)** for PR 12927 at commit [`d7916b4`](https://github.com/apache/spark/commit/d7916b46986e570b906a9ae7bfe4aca90e8b8399).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by MLnick <gi...@git.apache.org>.
Github user MLnick commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12927#discussion_r62799854
  
    --- Diff: examples/src/main/python/ml/lda_example.py ---
    @@ -0,0 +1,64 @@
    +#
    +# Licensed to the Apache Software Foundation (ASF) under one or more
    +# contributor license agreements.  See the NOTICE file distributed with
    +# this work for additional information regarding copyright ownership.
    +# The ASF licenses this file to You under the Apache License, Version 2.0
    +# (the "License"); you may not use this file except in compliance with
    +# the License.  You may obtain a copy of the License at
    +#
    +#    http://www.apache.org/licenses/LICENSE-2.0
    +#
    +# Unless required by applicable law or agreed to in writing, software
    +# distributed under the License is distributed on an "AS IS" BASIS,
    +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +# See the License for the specific language governing permissions and
    +# limitations under the License.
    +#
    +
    +
    +from __future__ import print_function
    +
    +# $example on$
    +from pyspark.ml.clustering import LDA
    +# $example off$
    +from pyspark.sql import SparkSession
    +
    +
    +"""
    +An example demonstrating LDA.
    +Run with:
    +  bin/spark-submit examples/src/main/python/ml/lda_example.py
    +"""
    +
    +
    +if __name__ == "__main__":
    +    # Creates a SparkSession
    +    spark = SparkSession \
    +        .builder \
    +        .appName("PythonKMeansExample") \
    +        .getOrCreate()
    +
    +    # $example on$
    +    # Loads data.
    +    dataset = spark.read.format("libsvm").load("data/mllib/sample_lda_libsvm_data.txt")
    +
    +    # Trains a LDA model.
    +    lda = LDA(k=10, maxIter=10)
    +    model = lda.fit(dataset)
    +
    +    ll = model.logLikelihood(dataset)
    +    lp = model.logPerplexity(dataset)
    +    print("The lower bound on the log likelihood of the entire corpus: " + str(ll))
    +    print("The upper bound bound on perplexity: " + str(lp))
    +
    +    # describeTopics
    --- End diff --
    
    ditto 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][DOC] Add python example for LDA

Posted by HyukjinKwon <gi...@git.apache.org>.
Github user HyukjinKwon commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217105871
  
    @dongjoon-hyun Sorry for cc a lot but it would be great if I can hear your thoughts.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217361850
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57968/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217361802
  
    **[Test build #57968 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57968/consoleFull)** for PR 12927 at commit [`2270148`](https://github.com/apache/spark/commit/2270148526d2a8f8f4abf7eddbf9e440a73b197c).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217691066
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58089/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][DOC] Add python example for LDA

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217102941
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217708122
  
    **[Test build #58102 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58102/consoleFull)** for PR 12927 at commit [`1219ca1`](https://github.com/apache/spark/commit/1219ca11b5c503e8322532f2f7d18cbd0d90d61e).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218371414
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58329/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218408246
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218353891
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by MLnick <gi...@git.apache.org>.
Github user MLnick commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218378275
  
    minor comment on some comments, otherwise LGTM. @yanboliang ?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218391266
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58345/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218353892
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58317/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217690886
  
    **[Test build #58089 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58089/consoleFull)** for PR 12927 at commit [`0191d6a`](https://github.com/apache/spark/commit/0191d6a5ea7c602f58a5e78aa3e05fc4855afb45).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by MLnick <gi...@git.apache.org>.
Github user MLnick commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12927#discussion_r62799900
  
    --- Diff: examples/src/main/scala/org/apache/spark/examples/ml/LDAExample.scala ---
    @@ -20,57 +20,48 @@ package org.apache.spark.examples.ml
     // scalastyle:off println
     // $example on$
     import org.apache.spark.ml.clustering.LDA
    -import org.apache.spark.mllib.linalg.{Vectors, VectorUDT}
    -import org.apache.spark.sql.{Row, SparkSession}
    -import org.apache.spark.sql.types.{StructField, StructType}
     // $example off$
    +import org.apache.spark.sql.SparkSession
     
     /**
    - * An example demonstrating a LDA of ML pipeline.
    + * An example demonstrating LDA.
      * Run with
      * {{{
      * bin/run-example ml.LDAExample
      * }}}
      */
     object LDAExample {
    -
    -  final val FEATURES_COL = "features"
    -
       def main(args: Array[String]): Unit = {
    -
    -    val input = "data/mllib/sample_lda_data.txt"
    -    // Creates a Spark context and a SQL context
    +    // Creates a SparkSession
         val spark = SparkSession
           .builder
           .appName(s"${this.getClass.getSimpleName}")
           .getOrCreate()
     
         // $example on$
    -    // Loads data
    -    val rowRDD = spark.read.text(input).rdd.filter(_.nonEmpty)
    -      .map(_.split(" ").map(_.toDouble)).map(Vectors.dense).map(Row(_))
    -    val schema = StructType(Array(StructField(FEATURES_COL, new VectorUDT, false)))
    -    val dataset = spark.createDataFrame(rowRDD, schema)
    +    // Loads data.
    +    val dataset = spark.read.format("libsvm")
    +      .load("data/mllib/sample_lda_libsvm_data.txt")
     
    -    // Trains a LDA model
    -    val lda = new LDA()
    -      .setK(10)
    -      .setMaxIter(10)
    -      .setFeaturesCol(FEATURES_COL)
    +    // Trains a LDA model.
    +    val lda = new LDA().setK(10).setMaxIter(10)
         val model = lda.fit(dataset)
    -    val transformed = model.transform(dataset)
     
         val ll = model.logLikelihood(dataset)
         val lp = model.logPerplexity(dataset)
    +    println(s"The lower bound on the log likelihood of the entire corpus: $ll")
    +    println(s"The upper bound bound on perplexity: $lp")
     
    -    // describeTopics
    +    // describeTopics.
    --- End diff --
    
    ditto


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218383684
  
    **[Test build #58345 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58345/consoleFull)** for PR 12927 at commit [`f573fa6`](https://github.com/apache/spark/commit/f573fa64e0142c956815906a2f2a985d15c951f6).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217709619
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218366438
  
    **[Test build #58329 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58329/consoleFull)** for PR 12927 at commit [`eab9511`](https://github.com/apache/spark/commit/eab9511f04968bf766aaf06f2a0773e1a0ffdacf).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][DOC] Add python example for LDA

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217102882
  
    **[Test build #57865 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57865/consoleFull)** for PR 12927 at commit [`b98ad7c`](https://github.com/apache/spark/commit/b98ad7c2906f93797e087a796a758e60fe3ef96e).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by yanboliang <gi...@git.apache.org>.
Github user yanboliang commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12927#discussion_r62297852
  
    --- Diff: examples/src/main/scala/org/apache/spark/examples/ml/LDAExample.scala ---
    @@ -55,19 +55,21 @@ object LDAExample {
           .setMaxIter(10)
           .setFeaturesCol(FEATURES_COL)
         val model = lda.fit(dataset)
    -    val transformed = model.transform(dataset)
     
         val ll = model.logLikelihood(dataset)
         val lp = model.logPerplexity(dataset)
    +    println(ll)
    +    println(lp)
    --- End diff --
    
    println(s"The lower bound on the log likelihood of the entire corpus: $ll")
    println(s"The upper bound bound on perplexity: $lp")


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-217691065
  
    Merged build finished. Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218353551
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58316/
    Test PASSed.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Add python example...

Posted by zhengruifeng <gi...@git.apache.org>.
Github user zhengruifeng commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12927#discussion_r62324992
  
    --- Diff: examples/src/main/python/ml/lda_example.py ---
    @@ -0,0 +1,64 @@
    +#
    +# Licensed to the Apache Software Foundation (ASF) under one or more
    +# contributor license agreements.  See the NOTICE file distributed with
    +# this work for additional information regarding copyright ownership.
    +# The ASF licenses this file to You under the Apache License, Version 2.0
    +# (the "License"); you may not use this file except in compliance with
    +# the License.  You may obtain a copy of the License at
    +#
    +#    http://www.apache.org/licenses/LICENSE-2.0
    +#
    +# Unless required by applicable law or agreed to in writing, software
    +# distributed under the License is distributed on an "AS IS" BASIS,
    +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    +# See the License for the specific language governing permissions and
    +# limitations under the License.
    +#
    +
    +
    +from __future__ import print_function
    +
    +from pyspark.sql import SparkSession
    +
    +# $example on$
    +from pyspark.ml.clustering import LDA
    +from pyspark.mllib.linalg import Vectors
    +from pyspark.sql import Row
    +# $example off$
    +
    +
    +"""
    +A simple example demonstrating LDA.
    +"""
    +
    +
    +if __name__ == "__main__":
    +    spark = SparkSession.builder.appName("PythonLDAExample").getOrCreate()
    +
    +    # $example on$
    +    # Loads data
    +    data = spark.read.text("data/mllib/sample_lda_data.txt").rdd
    +    parsed = data \
    +        .map(lambda row: Row(features=Vectors.dense([float(x) for x in row.value.split(' ')])))
    +    dataset = spark.createDataFrame(parsed)
    +
    +    # Trains a LDA model
    +    lda = LDA(k=10, maxIter=10)
    +
    +    model = lda.fit(dataset)
    +
    +    ll = model.logLikelihood(dataset)
    +    lp = model.logPerplexity(dataset)
    +    print(ll)
    +    print(lp)
    +
    +    # describeTopics
    +    topics = model.describeTopics(3)
    +
    +    # Shows the result
    +    transformed = model.transform(dataset)
    +    topics.show(truncate=False)
    --- End diff --
    
    ok, it will be better


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-15150][EXAMPLE][DOC] Update LDA example...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/12927#issuecomment-218349893
  
    **[Test build #58317 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58317/consoleFull)** for PR 12927 at commit [`eab9511`](https://github.com/apache/spark/commit/eab9511f04968bf766aaf06f2a0773e1a0ffdacf).


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org