Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
7Activity
0 of .
Results for:
No results containing your search query
P. 1
AIprog

AIprog

Ratings:

4.5

(2)
|Views: 517 |Likes:
Published by zzztimbo
ai programming in java
ai programming in java

More info:

Published by: zzztimbo on Oct 06, 2007
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/12/2011

pdf

text

original

 
 
Practical Artificial Intelligence Programming in Java
Version 1.2, last updated January 1, 2006. by Mark Watson.This work is licensed under the Creative Commons Attribution NoDerivs NonCommercial License.
Additional license terms:
 
No commercial use without author's permission
 
The work is published "AS IS" with no implied or expressed warranty - you accept all risks for the use of both theFree Web Book and any software program examples that are bundled with the work.
This web book may be distributed freely in an unmodified form. Please report any errors to
markw@markwatson.com
and look occasionally at Open Content (Free Web Books) at
www.markwatson.com
for newer versions.
Requests from the author
I live in a remote area, the mountains of Northern Arizona and work remotely via the Internet. Although I really enjoywriting Open Content documents like this Web Book and working on Open Source projects, I earn my living as aconsultant. I specialize in artificial intelligence applications, software design, and development in Java, Common Lisp,and Ruby. Please keep me in mind for consulting jobs!
 
 
Table of Contents
Table of Contents........................................................................................................................................................................................2 Preface........................................................................................................................................................................................................5
Acknowledgements.................................................................................................................................................................................................5
 Introduction................................................................................................................................................................................................6 
Notes for users of UNIX and Linux.......................................................................................................................................................................7Use of the Unified Modeling Language (UML) in this book...............................................................................................................................7
Chapter 1. Search.....................................................................................................................................................................................101.1 Representation of State Space, Nodes in Search Trees and Search Operators................................................................................10
1.2 Finding paths in mazes...................................................................................................................................................................................121.3 Finding Paths in Graphs................................................................................................................................................................................191.4 Adding heuristics to Breadth First Search....................................................................................................................................................261.5 Search and Game Playing..............................................................................................................................................................................27
1.5.1 Alpha-Beta search................................................................................................................................................................................................................271.5.2 A Java Framework for Search and Game Playing................................................................................................................................................................281.5.3 TicTacToe using the alpha beta search algorithm................................................................................................................................................................331.5.4 Chess using the alpha beta search algorithm........................................................................................................................................................................38
Chapter 2. Natural Language Processing...............................................................................................................................................46 
2.1 ATN Parsers....................................................................................................................................................................................................47
2.1.1 Lexicon data for defining word types..................................................................................................................................................................................502.1.2 Design and implementation of an ATN parser in Java.........................................................................................................................................................512.1.3 Testing the Java ATN parser.................................................................................................................................................................................................57
2.2 Using Prolog for NLP.....................................................................................................................................................................................58
2.2.1 Prolog examples of parsing simple English sentences.........................................................................................................................................................582.2.2 Embedding Prolog rules in a Java application.....................................................................................................................................................................61
Chapter 3. Expert Systems........................................................................................................................................................................64 
3.1 A tutorial on writing expert systems with Jess.............................................................................................................................................643.2 Implementing a reasoning system with Jess.................................................................................................................................................703.3 Embedding Jess Expert Systems in Java Programs.....................................................................................................................................74
 
 
Chapter 4. Genetic Algorithms.................................................................................................................................................................78
4.1 Java classes for Genetic Algorithms..............................................................................................................................................................814.2 Example System for solving polynomial regression problems.....................................................................................................................85
Chapter 5. Neural networks.....................................................................................................................................................................89
5.1 Hopfield neural networks...............................................................................................................................................................................905.2 Java classes for Hopfield neural networks....................................................................................................................................................915.3 Testing the Hopfield neural network example class.....................................................................................................................................935.5 Backpropagation neural networks................................................................................................................................................................955.6 A Java class library and examples for using back propagation neural networks......................................................................................975.7 Solving the XOR Problem............................................................................................................................................................................1055.8 Notes on using back propagation neural networks....................................................................................................................................106
6. Machine Learning using Weka..........................................................................................................................................................108
6.1 Using machine learning to induce a set of production rules......................................................................................................................1086.2 A sample learning problem..........................................................................................................................................................................1096.3 Running Weka...............................................................................................................................................................................................110
Chapter 7. Statistical Natural Language Processing............................................................................................................................112
7.1 Hidden Markov Models................................................................................................................................................................................1127.2 Training Hidden Markov Models................................................................................................................................................................1147.3 Using the trained Markov model to tag text...............................................................................................................................................116
Chapter 8. Bayesian Networks...............................................................................................................................................................117  Bibliography............................................................................................................................................................................................118 Index........................................................................................................................................................................................................120

Activity (7)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
erwin1123 liked this
Vô Danh Sư liked this
amekazi liked this
Nina Nouni liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->