3 ms·
Naive solution (1 line): https://gist.github.com/applecrazy/deda2fac6e83c07b93e0017314de6cce https://gist.github.com/applecrazy/deda2fac6e83c07b93e001731... E
by applecrazy 8y ago
Naive solution (1 line):
https://gist.github.com/applecrazy/deda2fac6e83c07b93e0017314de6cce https://gist.github.com/applecrazy/deda2fac6e83c07b93e001731...
Edit: I literally took newlines, converted to \n in a string, and then exec()ed the whole thing. Here's a repl of it working: https://repl.it/@applecrazy/Code-Golfing-a-Neural-Net https://repl.it/@applecrazy/Code-Golfing-a-Neural-Net
- vesche 8y agoOh dear, I got played. PM address if you want the beer, you sly dog. Obligatory, I'm a normal dude: http://vesche.github.io/ http://vesche.github.io/ Edit: Wait, you can't PM on here... PM on reddit /u/vesche
- applecrazy 8y agoWell, I don't drink (see my bio), but thanks for the offer. :P
- rjplatte 8y agoI will accept the beer in his stead.