GitHub user Syrux opened a pull request:

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

    [SPARK-20265][MLlib] Improve Prefix'span pre-processing efficiency

    ## What changes were proposed in this pull request?
    
    Improve PrefixSpan pre-processing efficency by preventing sequences of zero 
in the cleaned database. 
    The efficiency gain is reflected in the following graph : 
https://postimg.org/image/9x6ireuvn/
    
    ## How was this patch tested?
    
    Using MLlib's PrefixSpan existing tests and tests of my own on the 8 
datasets shown in the graph. All
    result obtained were stricly the same as the original implementation 
(without this change).
    dev/run-tests was also runned, no error were found.
    
    Author : Cyril de Vogelaere <cyril.devogela...@gmail.com>


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

    $ git pull https://github.com/Syrux/spark SPARK-20265

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

    https://github.com/apache/spark/pull/17575.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 #17575
    
----
commit 7af4945fbfb309f7a7784cba2b1fc4cb4945fba0
Author: Syrux <pokcy...@hotmail.com>
Date:   2017-04-08T10:17:04Z

    [SPARK-20265][MLlib] Improve Prefix'span pre-processing efficiency

----


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

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

Reply via email to