November 12, 2010

Particle Swarm Optimization in Python

I found and installed the ECSPY evolutionary computation package and fiddled around with it. Considering I learned how to define and use functions in Python now, the example code (txt) for this Particle Swarm Optimiztation (PSO) chart below is beginning to make sense.

Particle Swarm Image

Long time Neural Market Trends readers might be wondering why I’m suddenly posting about Python and not Rapidminer? It’s a valid question and I do have answers.

First off, I always wanted to learn a programming language because I’ve felt that not knowing a programming language has held me back career wise, especially when I’m manipulating and data mining oodles of financial data.

Second, Python is a great way to get my feet wet learning programming! Its fun and easy so far! Ultimately the goal is to learn Java so I can truly extend Rapidminer by creating custom operators, but learning Java at this stage of the game is like swallowing a whole elephant at once; not going to happen! So I’ll start with eating a Python first.

Python tutorials

Previous post
Genetik Solver appears to be no more - ITS BACK! Wow, Well at least its presence on the Internet. It appears to be gone and I can’t locate the .XLA file anywhere to save my life.  I wrote
Next post
Can Twitter Sentiment Analysis Predict the Stock Market Ugly over at just posted a link about research that sentiment mined over 10 million tweets from 2008 and was able to predict daily