Skip to content

Add a Warning / Error when sigmoid activation functions are used #212

@nicogross

Description

@nicogross

The sigmoid activation function 1/(1+e^-x) is missing two properties which are required by LRP:
f(0) = 0, sign(f(-x)) = -1 (and sign(f(x)) = +1 which is true for the sigmoid function)

I tried using the simple LRP-0 rule on a network calculating sigmoid(2*(-1) + 1*1)) and got un-intuitive results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreFeature/bug concerning core functionalityenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions