Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Artificial Intelligence Programming in Perl

by newrisedesigns (Curate)
on Jul 01, 2002 at 18:38 UTC ( #178636=note: print w/replies, xml ) Need Help??

in reply to Artificial Intelligence Programming in Perl

Granted, I don't have a well-rounded CS background as everyone else here, so don't flame me if i'm a little off base.

First of all, what makes a program?

That's easy. It can be loosely defined as a set of instructions to be interpretted and acted upon in order to complete a task. Sounds about right.

Okay, what makes a program smart?

I don't know how to begin to define that.

In regards to cjf's root post, I think that Perl is already suited to AI. I haven't seen any Perl programs start a conversation with me out of the blue, but Perl has what it takes to make programs "semi-sentience": strong logical features and a built-in regular expression engine. It can match, evaluate and logically act on input with little effort put out by even the greenest of programmers. For example, in order for a "talking computer" to pass the Turing Test it needs to mimic the actions and mannerisms of a human being. Perl Chatterbots can do that (rather convincingly, too).

Who says Perl doesn't have what it takes? The main reason, I believe Perl hasn't taken off is (as expressed previously in this thread) is that the academic world (as a whole, I know many academics that use Perl) hasn't embraced Perl for all it's wonders. To them it's still just for managing weblogs. For us monks that use Perl for everything, it's common knowledge that with proper planning and construction, a Perl program can do anything, be it interact with a human (help agents, chatterbots, what have you) or help a human gain/extract knowledge (see various stat tools, "repwalkers" by jcwren).

The reason that Perl hasn't become a bigger contender in the field of AI programming is because there's no one in the ring willing to give it a chance.

John J Reiser

If I'm off-base by this, please let me know. Thanks.

  • Comment on Re: Artificial Intelligence Programming in Perl

Replies are listed 'Best First'.
Re: Re: Artificial Intelligence Programming in Perl
by ariels (Curate) on Jul 02, 2002 at 08:18 UTC
    The reason that Perl hasn't become a bigger contender in the field of AI programming is because there's no one in the ring willing to give it a chance.
    I'd say the reason that Perl hasn't become a bigger contender in the field of AI programming is that there are no compelling AI applications written in Perl.

    I'd go further, and say that the reason AI hasn't become a bigger contender in any field is that there are no compelling AI applications. Sure, machine learning has been making some advances in recent years (SVMs and boosting come to mind). But:

    1. The advances are precisely in the "non-AI" fields -- the more "statistical" the classification problem, the better the performance of the methods.
    2. Humans do much better, except when the sheer volume of data overwhelms them. (So the chief advantage of modern ML is in simple data processing -- not in displaying any intelligence).
    3. ML seems to work initially due to the "80%-20%" problem: it is quite easy to solve 80% of any given classification problem (this is one of the reasons why so many classification techniques give such similar results). But this does nothing to help solve the remaining 20% of the problem.
      For instance, classifying 80% of webpages is easy (even if you discard the 97% p0rn, 80% of the remaining 3% is easy to achieve). Google does a fair job, and on smaller collections researchers can do much better. But all these systems make huge, embarrassing mistakes.

    After around 50 years, I think AI people could at least show applications rather than just "ideas".

      Hi Monks

      Isn't Deep Blue (the chess program) an excellent example of an application in AI? From what I know of the program, it can make novel decisions based on past "experience", which means that there's some "learning" taking place.

        No, I would not consider any chess program to be an example of an application in AI. Most, if not all, chess programs are just brute force algorithms, combined with extensive libraries for the opening game. After the opening, they just explore all possible plies (a ply is a half-move) to a certain depth, evaluate the postions, and prune to select the best moves so far. Then they repeat the process of "try all, evaluate, prune to select best so far" zero or more times.

        This doesn't even come close to how a human chess player works. Not much is know how exactly a human chess mind works, but (grand)masters only explore a few moves in depth when its their turn to move.

        As for the learning process of Deep Blue, the only ones that are "learning" are the programmers.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://178636]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2018-01-21 00:03 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.