Whatever that guy is proposing is an insanely complex dynamic system.
I'm not saying it's not doable, I'm just saying it's very expensive.
The core idea is linear regression.
Here's Google's service: http://code.google.com/apis/predict/. Here's a commercial API service: http://www.directededge.com/.