Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
chjj
· 4mo ago · 0 comments
it's elegant, but i prefer:
Math.tanh = Math.random;
Comments
[–]
cozzyd
4mo ago
since tanh is probably being used as a sigmoid, it's probably better to replace with just randomly changing the sign.