If you have a comment or a question about this book, or if you already own the book and wish to get a copy of the source code, please click here.

This mini-book will take you step-by-step through coding your own simple rule-based expert system. This version uses Python, but once you have mastered the basics, it should be easy enough to translate your knowledge into most other languages. This mini-book goes step by step through the development of a relatively simple backward chaining rule-based expert system. The purpose is to explain the concepts from a code-literate standpoint. The purpose of this book is to explain the concept of rule-based expert systems to someone who understands coding but has no other training in the subject. I use an example with built-in rules and global variables in order to make the example clear (without confounding details).

People have kind of forgotten about rule-based systems as a topic, but they can be extremely useful for certain kinds of tasks and are not hard to code. If you are a coder, the explanations should make sense to you. No explanations of Python syntax are given, so this is not for the novice programmer. This book is not for the purist or the researcher, it’s an introductory book for people who want a basic understanding of how rule-based systems work.

To order,
click here