The IOCCC29 winner writes each frame as fresh C source, compiles it, then runs it.
Support vector regression can predict numeric values effectively, and this article shows how to implement and train a kernel SVR model in C# using stochastic sub-gradient descent.