Artificial Intelligence
This has been a pet project of mine for a long time. Simply put, JSe AI: Taxonomy is a program that can learn. At the moment, it is somewhat human in that sometimes it "learns" new pathways and completely forgets old ones. (It is a glitch that popped up between the two methods I developed to 'teach' the thing.)
-r
PS:
I've actually put in the effort to make this program "compatible" with msie. I have NO PROOF, however, that it will actually function on that nonstandard shitty (though popular) browser. If it does, please leave a comment telling me as much.
PPS:
There are two aux. functions: The first is that you can make the program display code for what it has learned it basically spits out its object database (js: object, perl/php: hash, anyone else: associative array). If my website supported database functionality (to say nothing of cgi), I'd make this sucker more permanent. For now, if you close the browser or hit 'refresh' it forgets everything you've taught it and reverts back to the 35-or-so I taught it before I uploaded it to my isp. Enjoy!
<edit>
I had to fix the pre-defined list What happened was I was making it learn taxonomy of ALL OBJECTS and then I decided to scale back down (to just life-forms) because some of the questions got weird and the AI's guesses got weirder (it would guess Beatles' 1969 White Album for 'Is it white?'
The easiest thing to do was to delete the mountains and islands and classic music and then manually edit the object inheritance list. *sighs* but I did it, so that's what this edit is about. Thanks for viewing!<edit>
I have just finished fixing the last (small) bug (it correctly remembered things, but asked people to compare their new animal to the wrong one. It is a little complicated to explain the problem, but I fixed it. I then cut out the majority of the JS from the .dhtml file and put it into two .js files inside the js/ai subfolder. In other news: I may be teaching next semister at the nearby community college. I suggested (jokingly) today that I could teach AI modeling. But the more I think about it, I probably should suggest a class on programming aiming toward thinking machines (the ultimate programming assignment, if you ask me). But I made 3 suggestion (didn't I?) already and perhaps I can superimpose (or juxtapose!!!!) ai into one of the programming classes. Anyway: for the record this is my version of the taxonomy AI model. The computer asks you questions about an animal (or whatever) you're thinking of until it thinks it has enough information to guess your animal. If it is wrong, you tell it the animal you really were thinking of and then you input a yes/no question to distinguish your animal from the pack (it'll ask you specifically which animal to compare to, actually) then it'll show your_animal: Your question?and you answer by clicking the yes or no button appropriate to answer your question IMPORTANT: You can ask either type of question: Yes questinos are in no way preferred to No questions.
Enjoy!-=-







