horn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ZJaffee <...@git.apache.org>
Subject [GitHub] incubator-horn pull request: Quick fix from HORN-9
Date Mon, 23 Nov 2015 19:09:00 GMT
GitHub user ZJaffee opened a pull request:

    https://github.com/apache/incubator-horn/pull/8

    Quick fix from HORN-9

    I noticed another error that was brought in, the derivative of the Sigmoid function is
supposed to be 
    ```
    f(x) = 1.0 / (1 + Math.exp(-x))
    df(x)/dx = f(x)(1-f(x))
    ```
    currently the class has the functions written as 
    ```
    apply(x) = 1.0 / (1 + Math.exp(-x))
    applyDerivative(x) = (x)(1-x)
    ```

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

    $ git pull https://github.com/ZJaffee/incubator-horn master

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

    https://github.com/apache/incubator-horn/pull/8.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 #8
    
----
commit 99c3f4e8ab393ba19355a280ac141d4827fb7140
Author: Zachary Jaffee <zjaffee@us.ibm.com>
Date:   2015-11-23T19:02:46Z

    Quick fix from HORN-9

----


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

Mime
View raw message