Artificial Intelligence Holmes program using python with source code

AI-Holmes program

Holmes is like an AI shell where it converts your terminal into holmes and does some unique things. It is an example of fairly complex programming language which is written in Python. Holmes is a forward and backward interface system. Multiple interference engines with the selection of facts and rules, Holmes deals with all of them.

The user has to operate on holmes with some knowledge. And for the particular domain, an expert system is encoded with interference and knowledge of Holmes. In this module,  because of the command line, the whole system looks fluffy.

In this kind of system, we have got a forward and backward which definitely interacts with the users. As you are familiar with the Python, kbase might be quite easier for you.  If you use multiple kbase in python then you may use it instead of Holmes().

As you can see from the above pictures that how it looks when you run a program. I haven’t shown you much about homes because you can download the whole system and then you can read the instructions that are provided.

Things you need to know to run this program:
  1. You must install python 2.7 or python 3.
  2. You must install the python libraries like math, kbase and match.
  3. And you can install these libraries by typing: sudo pip / pip3 install and the library name.
  4. Before installing libraries, you have to install pip or pip 3 that is sudo apt-get install pip / pip3.
  5. There are two ways for redirecting input and output that is python holmes.py < file1 > file2
  6. There are lots of programs when you download the whole system.
  7. You must not delete any of the programs or your program will not run.

Holmes is one of the best module for maths and it consist of five modules that are :

  1. holmes.py is the main driver module.
  2. kbase.py is the knowledge base administrative routines.
  3. match.py is the pattern matcher.
  4. forward.py is the forward chaining inference engine.
  5. backward.py is  the backward chaining inference engine.

And finally click on below button to download this whole AI holmes program.

Download

Thank you,

And the credit goes to  OREILLY