Member-only story
Caged Brain - Can Computer Predict Your Next Move? đ§ vs đ¤
AI Predictions with Simple Statistical Methods
In todayâs article, we are going to build a prediction system with simple statistical methods. We are going to show that Machine Learning applications arenât limited to neural networks only and we can achieve a decent predictive behavior with Computational Statistics. By the end of this article, you will be able to implement a very basic, yet impressive prediction system.
Inspiration
Caged Brain project was heavily inspired by Scott Aaronsonâs Oracle:
In a class I taught at Berkeley, I did an experiment where I wrote a simple little program that would let people type either âfâ or âdâ and would predict which key they were going to push next. Itâs actually very easy to write a program that will make the right prediction about 70% of the time. Most people donât really know how to type randomly. Theyâll have too many alternations and so on. There will be all sorts of patterns, so you just have to build some sort of probabilistic model. Even a very crude one will do well. I couldnât even beat my own program, knowing exactly how it worked. I challenged people to try this and the program was getting between 70% and 80% prediction rates. Then, we found one student that the program predicted exactly 50% of the time. We asked him what his secret was and he responded that he âjust used his free will.â
Scott Aaronson, Quantum Computing Since Democritus.
Caged Brain
We are going to build a predictive system encapsulated in a very simple game. While the user, is going to pick either âLEFTâ or âRIGHTâ, the computer is going to analyze userâs moves and predict the next one. Userâs goal is to be unpredictable and make computer fail in its predictions (green color). The lower the computerâs prediction % the better!