Skip to content
Expert system that decides best pitch to throw in given situation in baseball game.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img add image Aug 31, 2018
.gitignore Add usage GIF and gitignore Jan 9, 2016
PITCHER.clp Add main JESS file Jan 9, 2016
README.md Update README.md Aug 31, 2018

README.md

PITCHER

PITCHER is an Expert System I wrote using CLIPS & the Java Expert Systems Shell (http://herzberg.ca.sandia.gov). It asks the user a series of questions relating to a baseball situation, and then it provides the user with the pitch it thinks is optimal for the pitcher to throw.

Sample Run

The main features I added to this project were:

  • robust rule system for decision-making process
  • handling of non-standard input

The most difficult part was the knowledge engineering. I interviewed my high school baseball coach and asked him what he would do in many situations, and after taking notes on his decision-making process, I managed to convert his knowledge into concrete rules. Rules asserted facts with integral values, allowing for many comparisons using standard Java operators (<, >, =).

To run:

Run in a LISP environment with an inference engine (such as CLIPS):

(batch PITCHER.clp)

You can’t perform that action at this time.