Can AI predict formulas by simply looking at raw observational data!
For expression generation I used the method mentioned in Deep Learning for Symbolic Mathematics and the script here. However to make things simpler to understand, I have rewrote the code to be much smaller and easily understandable. Though some helper functions have been taken as is.
There is some extra engineering requried to generate obeservations, which I tried to take from the above mentioned code base but eventually wrote my own simpler thing.
This Karpathy's tweet and the comment has some good suggestions to improve training!