Y
Hacker News
new
|
ask
|
show
|
jobs
by
chjj
20 days ago
it's elegant, but i prefer:
Math.tanh = Math.random;
1 comments
cozzyd
20 days ago
since tanh is probably being used as a sigmoid, it's probably better to replace with just randomly changing the sign.
link