Prof. Sreedhar Babu
Department of Electrical Engineering Amrita Viswa Vidyapeetham Amritapuri, Kerala ammassridhar@gmail.com
Archana, Vineeth & Veena
Department of Computer Science & Applications Amrita Viswa Vidyapeetham Amritapuri, Kerala sudershanam24@gmail.com
Abstract— Expert systems are AI‟s greatest commercial success. It is a research-oriented application area of AI. An expert system uses knowledge specific to a problem domain to provide "expert quality" performance. Predicate logic is being used for knowledge representation which is further programmed using PROLOG inference engine for deriving intelligent conclusions. The current research paper introduces a rule-based expert system that provides a medical diagnosis for determining the health problems and classification of birds and animals. The user has to have some knowledge about these topics so that he can query the system. Three knowledge bases are provided for each domain. The specialized computer language PROLOG embedded into J2SE is used to develop this system. Keywords-component: Expert System; Knowledge-base; Medical Diagnosis, Rule-based ES, Knowledge representation PROLOG; J2SE. 1. INTRODUCTION : THE KOYAL EXPERT SYSTEM The current paper of Koyal has mainly two modules: 1.1. Knowledge Base 1.2. User Interface 1.1 Knowledge Base [1 & 2] Mainly, three knowledge bases are required for the system. They are bird‟s knowledge base for identifying a bird, animal knowledge base for identifying an animal and a disease knowledge base for medical diagnose. The system uses this knowledge base for finding solutions. Knowledge is represented in rule-based format. The rule of the system is in the form of: IF first premise and second premise, and ………. THEN conclusion
This is semantically same as a Prolog rule: conclusion:first_ premise, second_ premise, ………... Premises are written as attribute-value pair.
References: Websites: http://en.wikipedia.org/wiki/Expert_system http://www.wtec.org/loyola/kb/c1_s1.htm http://www.aaai.org/aitopics/pmwiki/pmwiki.php/AIT opics/ExpertSystems http://www.paine.org/students/lectures/lect3/node7.ht ml Fig. 5.1 is the architectural flow diagram of Koyal for the classification of birds, animals and the medical diagnosis. If the implementation stage is not carefully planned and controlled, it can cause chaos. Implementation involves careful planning, investigation of the current system and its constraints on implementation, design of methods to achieve the changeover, training of staff in the changeover procedure and evaluation of changeover methods. This phase of implementation has allowed us to integrate various cutting edge technologies in the project which involves the implementation of Prolog and Java. Testing phase included white box testing and black box testing thought most of the testing was performed as system testing. 5.2 IMPLEMENTATION The implementation phase of software development is concerned with the translation of the structural design specification into source code. The primary goal is to write source code and internal documentation. Testing, Debugging and modification are performed in this phase also. The first step in developing an expert system has been the creation of a Prototype model of the actual system on the basis of the reference model available. In case of an expert system each system‟s knowledge is domain specific so every system has its own advantage and disadvantage. We cannot consider the system as expert in every aspect. This will require time and much effort to develop such a spool proof system. After testing the prototype further modification were incorporated in it by including extra features and implementing the knowledge base part of our system. The prototype is then tested. After the user is satisfied with the function of the prototype the actual system is developed. JPL is a library using the SWI-Prolog foreign interface and the Java jni interface providing a bidirectional interface between Java and Prolog that can be used to embed Prolog in Java as well as for embedding Java in Prolog. In both setups it provides a reentrant bidirectional interface. jpl allows the loading of prolog engine to Java. Thereby we can load the prolog files which contain knowledge regarding the domains. Books: http://www.primenet.com/pcai/New_Home_Page/ai_in fo/expert_systems.html A Guide to Expert Systems by Donald A. Waterman Ist Edition, Addison-Wesley Publishing Company. [2] Russell, S. and P. Norvig, 2002. Artificial Intelligence: A Modern Approach, Prentice Hall, Second Edition. [3] Analysis and design of information systems by V.Rajaraman, 5th print, PH [1] Introduction to Artificial Intelligence and Expert Systems by Dan W. Patternson, PHI Pvt. Limited, Eighth Reprint 2000. [5] Expert Systems Theoty and Practices by Jean-Louis Ermine, PHp Publications, 2007 [6] Introduction to Expert Systems by Peter Jackson, Addison-Wesley, Pearson Education Asia ltd., Reprint 2000 [7] Foundation of Artificial Intelligences and Expert Systems" by V S Janakiraman, K Sarukesi, P Gopalakrishnan, Macmillan Series in Computed Science, Reprint 2001. [4]