GitHub user WeichenXu123 opened a pull request:

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

    [SPARK-16499][ML][MLLib] improve ApplyInPlace function in ANN code

    ## What changes were proposed in this pull request?
    
    I re-code the following fuction using breeze's matrix operating function.
    def apply(x: BDM[Double], y: BDM[Double], func: Double => Double): Unit
    
    ## How was this patch tested?
    
    Existing test.

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

    $ git pull https://github.com/WeichenXu123/spark 
improve_ann_apply_in_place_fun

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

    https://github.com/apache/spark/pull/14156.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 #14156
    
----
commit c7b2059c5799404c3a3e99615e2ad7dc32989fda
Author: WeichenXu <[email protected]>
Date:   2016-07-11T11:57:19Z

    improve_ann_apply_in_place_fun

----


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