Artificial Intelligence in PHP

October 10, 2009

The title of this post sounds exciting, and it’s something I’ve been wanting to try for awhile. I’ll put a link in here to show you the sample code running.

I pretty downloaded and ran the code from Tremani, who have made an advanced artificial neural network in PHP. And it’s pretty easy to use so far.  The interface is simple.

Tell it how how big you want the network to be

Feed it your input data

Tell it your expected output for each testset, and hit the go button.

of course this is in PHP but and not literally a button.

but with very little work it could be setup with a button.

So these guys have done an awesome job of  making the setup and usage of an ANN this simple.. there is no reason why anyone can’t just start making little AI’s running around the net.

ok so I would like to try that. So now next steps.

  1. figure out a problem to solve
  2. figure out how to map that problem into inputs and outputs.
  3. then run it and figure out a way to test if it’s working

Sounds pretty good… so that is something I am going to try to play with.

Pretty excited about this

now I just need a genetic algorithm class that is this easy to use 🙂


One Response to “Artificial Intelligence in PHP”

  1. Ryan Says:

    They did mention this too:

    “As far as I know, there is none. From the textbook examples, it appears as though the number of hidden nodes is usually approx. 1 to 1,5 times the number of input nodes, but other textbooks encourage you to find out by trial-and-error.”
    — from their forums

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: