GitHub user akopich opened a pull request:

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

    [SPARK-22111][MLLIB] OnlineLDAOptimizer should filter out empty documents 
beforehand

    ## What changes were proposed in this pull request?
    
    The empty documents are filtered out in the `initialize` method and are 
never included in mini-batches.  `batchSize`, and `nonEmptyDocsN` are now the 
same thing.
    
    ## How was this patch tested?
    
    Existing unit-tests.


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

    $ git pull https://github.com/akopich/spark master

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

    https://github.com/apache/spark/pull/19565.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 #19565
    
----
commit 721f235934f26e75172d39f0398365606616267f
Author: Valeriy Avanesov <avane...@wias-berlin.de>
Date:   2017-10-24T14:08:39Z

    [SPARK-22111][MLLIB] OnlineLDAOptimizer should filter out empty documents 
beforehand
    
    ## What changes were proposed in this pull request?
    
    The empty documents are filtered out in the `initialize` method and are 
never included in mini-batches.  `batchSize`, and `nonEmptyDocsN` are now the 
same thing.
    
    ## How was this patch tested?
    
    Existing unit-tests.

----


---

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

Reply via email to