Speak and Shout

Tuesday, December 21, 2004

Sequence prediction

I spent last night working on a sequence prediction program in Python. I'd been thinking about it for a day before I decided to code it. Inspired by John Nash's approach in A Beautiful Mind, I purposefully didn't look at any material on the web before I attacked the problem. I wanted to see how well I would do with my own creative energies.

I guess it wasn't too bad for an evening's work. I got the program to work with some basic additive and multiplicative sequences.

It turns out what I'm trying to do would be better accomplished with Newton's Forward Difference Formula. I'm just not looking forward to solving linear equations in code.

Maybe when I get back from vacation in FL.

<$I18N$LinksToThisPost>:

Create a Link

<< Home