Live data from Hacker News

Show HN: Play rock paper and scissors against a untrained neural network

github.com

61–64 of 64 posts

Re: Show HN: Play rock paper and scissors against a untrained neural network

#63

Earlier quoted context omitted.

How are you emulating the clicking?

I normally write a c program or go linked to xlib to do this sort of work, but I just used xdotool in a bash script for this. https://gist.github.com/mbrumlow/49f0a3fa311cc3002e4e1fae2e2...

thanks! didn't know about xdotool

Re: Show HN: Play rock paper and scissors against a untrained neural network

#64

Earlier quoted context omitted.

The problem is that that the player's move is actually being fed to the training data before the computer makes its prediction. Take a look at the variable 'y' after making your move and you'll see that it includes the player's last move. Because 'y' is updated before the computer makes its prediction, this shows that the computer uses the player's current move as part of the training set to decide its move.

If true, this seems like it would be a huge scandal. Or at least an issue in Github.

it's not taking a pick at the player move. read the code, even after the pull request that brought this up the nn performed the same. even if the nn was taking a pick at the player's move, which is not, the data is shuffled before the training
Post reply on HN