Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sigmoid ¶
Calculate an approximation to the Sigmoid function 1 / ( 1 + e^x ). * This is executed very frequently during neural net evaluation, so * careful optimisation here pays off. * * Statistics on Sigmoid(x) calls: * * >99% of the time, x is positive. * * 82% of the time, 3 < abs(x) < 8. * * 02/2017: The numbers above are 10+ years old * (old neural nets, possibly pruning nets not yet in use). * Current stats : * * 85% of the time, x is positive, comprising 80% < 10 and 20% > 10 * * 15% of the time, x is negative with 99%+ > -10
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.