Live Stoner Chat Prime numbers and genetic algorithms.

Joined
Oct 22, 2013
Messages
1,690
Reputation
0
Reaction score
540
Points
0
I've long been into AI and programming, years ago i had a book about genetic algorithms - writing programs that evolved solutions based on trial and error, so programs that seem to learn.

I used the info to write a simple program that could eventually distinguish between male and female names with no set rules or prior knowledge about the input, just a person telling the program whether it was wrong or right each time it guessed the sex for a name typed into it,or inputted from a list.

Yes, i was a boring teenager ;+}

After the program had built up a database it performed well, it created it's own rules about what was male and what was female about a (Western) name.

Things like double-consonants were recognised as a high probability for a female name (haNNah, saLLy, but not wiLLiam).

So it was a fun thing to learn and do, a program that came up with rules and learnt from each example provided it.

I was thinking about prime numbers today and idly wondering if a GA program could be written to generate prime numbers, rather than calculate them, then i found this :

http://www.academicpub.org/jao/paperInfo.aspx?PaperID=14773


atb,

steely
 
This is a very exciting topic, AI, programming evolution and related stuff.
I must say I feel a bit of envy towards you programmers, I wish I could program too, but never found enough patience for it. Some day...

I think the problem of generating primes is always related to computation power and loop checking, which with today's computers require lots of work, time and heat:)
Starting a genetic algorithm capable of self evolving is an interesting idea(since it seems genetic al. can be useful everywhere), but I have my doubts it could(in theory) be maintained of enough low complexity to produce(calculate) more primes than a non-genetic al. based calculator running for infinity(entropy-lol!). I mean, surely at some point it can surpass it(shown in pdf), this way using less time; but ultimately it would have to be too complex for further new primes calculation. I assume this based on the lack of obvious pattern in primes distribution and on my lack of knowledge of the topic:))

Could quantum computers solve the issue? I think so.


Great topic, steelrat
:peace:


---
Here's a great "docu" with Ben Goertzel and another interesting character(talking robot), also one of the most important videos ever made. In my opinion:)
The dialogue with the robot is TOTAL mindfuck!! (around 22:15) It chills me everytime I watch it.

[video=youtube;owppju3jwPE]https://www.youtube.com/watch?v=owppju3jwPE[/video]
 
Not too familiar with this stuff.

But as your previous program that figured out if the person was a female or male, initial user input was required, until the program created it's own database and was able to figure out if the person was female or male based on their name.

Using that theory, wouldn't the user have to input a few number, from there the computer would generate a database and realize that prime numbers can only be divided by it's own number and 1

So user inputs 3...computer end: var x = int If x/x and x/1 then x=prime. X is then stored in the database and computer builds knowledge upon it's own database that it created
 
I used to argue with my math teacher in school about prime numbers. I told him there was no such thing lol. Told him numbers are like a language and it would be different with alien math. (Was a stoner student back in the day.) Told him you either have something (number) or dont (0) and your interpretated that with a value and gave it a number. He told me he likes how I think but im still wrong lol. Just a funny story that this thread reminded me of is all. I wont pretend to know anything about what u guys are talking about.
 
Thanks for the link Bal, good doc.

I like your thinking real carlos.

And stoner students have the best ideas natertots ;+}


atb,

steely
 
Back
Top