How to build a simple neural network in 9 lines of Python code
Marko Rauhamaa
marko at pacujo.net
Tue Jun 27 12:57:05 EDT 2017
Sam Chats <sam_chatsblahbuh at gioia.aioe.org>:
> https://medium.com/technology-invention-and-more/how-to-build-a-simpl
> e-neural-network-in-9-lines-of-python-code-cc8f23647ca1
Impressive, but APL's got Python beat. This one-liner implements the
Game of Life:
life←{↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵}
<URL: https://en.wikipedia.org/wiki/APL_(programming_language)#Gam
e_of_Life>
"Donc Dieu existe, répondez !"
Marko
More information about the Python-list
mailing list