Hacker News new | ask | show | jobs
by chjj 20 days ago
it's elegant, but i prefer:

    Math.tanh = Math.random;
1 comments

since tanh is probably being used as a sigmoid, it's probably better to replace with just randomly changing the sign.