Teaching an AI to write Python code with Python code • Will cars dream?

#artificialintelligence 

OK, let's drop autonomous vehicles for a second. This post is about creating a machine that writes its own code. More specifically, we are going to train a character level Long Short Term Memory neural network to write code itself by feeding it Python source code. The training will run on a GPU instance on EC2, using Theano and Lasagne. If some of the words here sound obscure to you, I will do my best to explain what is happening. This experiment is greatly inspired by this awesome blog post that I highly recommend reading.