Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: FYI: AI-programmer

Reply
Thread Tools

Re: FYI: AI-programmer

 
 
Andrew Robinson
Guest
Posts: n/a
 
      02-22-2013
On 02/22/2013 07:21 PM, Ian Kelly wrote:
> On Fri, Feb 22, 2013 at 4:41 AM, Chris Angelico <> wrote:
>> That's not artificial intelligence, though. It's artificial program
>> generation based on a known target output. The "Fitness" calculation
>> is based on a specific target string. This is fine for devising a
>> program that will produce the entire works of Shakespeare, since there
>> is a target string for that (actually, several targets, plus you have
>> to work out whether you want the works of Shakespeare or the works of
>> some guy named Bacon... mmm bacon), but I suggest that a more
>> sophisticated and useful goal be implemented.

> Indeed, it seems to me that this is basically Richard Dawkins' weasel
> program, with the addition of a transformation step in the fitness
> function that amounts to running the string through a Brain****
> interpreter. There is a rather large gap between this and getting
> computers to generate programs that do anything interesting.
>
> I am curious about how he deals with infinite loops in the generated
> programs. Probably he just kills the threads after they pass some
> time threshold?

I'm under the impression that Python doesn't really allow you to kill a
thread after a time period.
It's not portable to do so....

http://eli.thegreenplace.net/2011/08...ion-in-python/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments