Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

google search terms as population members of a genetic algorithm

by fbinard (Beadle)
on Jul 22, 2005 at 02:10 UTC ( [id://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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-03-28 18:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found