bquast / rnn

Recurrent Neural Networks in R
https://qua.st/rnn
73 stars 28 forks source link

int2bin / bin2int bug #28

Open hack-r opened 7 years ago

hack-r commented 7 years ago

They say these functions are not working correctly:

https://stackoverflow.com/questions/46062834/bin2int-function-in-r-package-rnn-appears-to-have-a-bug

X2  <- 1:154
X21 <- int2bin(X2, length = 15)

bin2int(X21)