Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

google search terms as population members of a genetic algorithm

by fbinard (Beadle)
on Jul 22, 2005 at 02:10 UTC ( #477072=CUFP: print w/ replies, xml ) Need Help??

I wanted to have fun with the google API, so I combined it with a genetic algorithm. It evolves search terms. The fitness function uses the parts of the answers that is returned by the google search server as parameters.

I've ran out of idea as to what to do with it. If someone thinks of something, all the code is here. Or let me know.

The top level file is GoogleEvolver.pl. It could be adapted to do something else very easily just by changing parameters in the fitness function (the function that evaluates individuals). All the rest (selection, sexual reproduction, mutation, population control) is implemented.

Comment on google search terms as population members of a genetic algorithm

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://477072]
Front-paged by ysth
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2014-08-22 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (160 votes), past polls