Re: beastly_maths - a genetic algorithm
- From: All-Seeing-I <allseeingi@xxxxxxx>
- Date: Fri, 30 Oct 2009 16:43:45 -0700 (PDT)
On Oct 30, 6:14 pm, Martin Andersen <d...@xxxxxxx> wrote:
Sapient Fridge wrote:
In message
<53838670-8e58-4654-bd07-bc17e49ab...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
spintronic <spintro...@xxxxxxxxxxx> writes
On 30 Oct, 21:00, Sapient Fridge <use_reply_addr...@xxxxxxxxxxxxxx>
wrote:
In message
<18f6db02-f0e9-4161-b5c4-9a2bb2d28...@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
spintronic <spintro...@xxxxxxxxxxx> writes
On 30 Oct, 17:35, Sapient Fridge <use_reply_addr...@xxxxxxxxxxxxxx>target
wrote:
If anyone is interested I've uploaded a new version of my genetic
algorithm to which searches for expressions which evaluate to a
value e.g.
5+5+3-5^3+8^1*6*4^5+1^5^5-4*5-2-1^4-5*8+5+7 = 48990
fileIt's written in perl and has simple instructions at the top of the
explaining how to run it. Note that the file name has changed from
the previous version I posted (though the old link will still work):
http://www.spamsights.org/misc/beastly_maths.txt
scoringThe new version (Aardvark.Buffalo) has a slightly better fitness
algorithm along with improved comments and output.
For background as to why this was written read this:
http://groups.google.com/group/talk.origins/msg/29dc74b9af18ba50Somehow, I feel like Sapient Fridge tapped me on the shoulder, and ran
away with the cookie jar.
Chuckle, I admit that you do have some cause for complaint there.
Your idea of a using a genetic algorithm to find expressions to reach a
target number was a good one, and I can't resist an interesting
programming challenge.
Do you want me to credit you with the idea in the code comments?
do realise that RSA can be broken with this algorithm?
I seriously doubt it, but feel welcome to prove me wrong. You will
become famous very rapidly in the world of cryptography if you do.
Genetic algorithms only work when you can score your population in some
way. Breaking RSA would involve working out the prime factors for
*very* large numbers. It's impossible to assign fitness scores to
something like that as you either have the factors or you don't. A two
value scoring system (true/false) will not work for genetic algorithms.
Your honesty and talent is wasted on this guy.- Hide quoted text -
- Show quoted text -
You call Pseudo-code talent?
[chuckle]
.
- References:
- beastly_maths - a genetic algorithm
- From: Sapient Fridge
- Re: beastly_maths - a genetic algorithm
- From: spintronic
- Re: beastly_maths - a genetic algorithm
- From: Sapient Fridge
- Re: beastly_maths - a genetic algorithm
- From: spintronic
- Re: beastly_maths - a genetic algorithm
- From: Sapient Fridge
- Re: beastly_maths - a genetic algorithm
- From: Martin Andersen
- beastly_maths - a genetic algorithm
- Prev by Date: Re: Stradbroke Island
- Next by Date: Re: The "I Hate Jesus" t-shirt... Would you buy one?
- Previous by thread: Re: beastly_maths - a genetic algorithm
- Next by thread: Re: beastly_maths - a genetic algorithm
- Index(es):
Relevant Pages
|