Logic-based expert systems - artificial intelligence, Computer Engineering

Logic-based Expert Systems - Artificial intelligence:

Expert systems are agents which are programmed to make decisions about real world situations. They are put together by utilizing knowledge illicitation techniques to additional information from human experts. A specific fruitful area is in diagnosis of diseases, where expert systems are utilized to select what disease a patient has given their symptoms.

Expert systems are one of the major success stories of Artificial Intelligence. Russell and Norvig give a very nice example from medicine:

"A leading expert on lymph-node pathology describes a fiendishly hard case to the expert system, and checks the system's diagnosis. He scoffs at the response to the system. Only slightly worried, the creators of the system suggest he command the computer for an explanation of the diagnosis.In this casethe machine points out the main factors influencing its decision and explains the subtle interaction of many of the symptoms. Eventually, the experts admit his error."

Often,  the  instructions  from  the  expert  are  encoded  as  if-then  instruct  in  first-order  logic  and  the implementation of the expert system may be fairly simply achieved in a programming language such as Prolog.

We can take our card game from the previous chapter as an instance for the implementation of a logic-based expert system. The instructions were: 4 cards are laid on the table face up. The Player 1 selectsthe first card, and in turns, they take it till they both have two cards each. To see who has won, they each add their 2 card numbers, and the winner is the 1 with the biggest even number. The winner scores the even number they have. If there is no even number, or both players gain the same even number, then the game is draw.

It could be argued that undertaking a minimax search is not very essential for this game, because we could simply just specify a set of rules for each player, so that they select cards rationally., we will derive down some Prolog rules to demonstrate thiswhich specify how player one should select the first card.

For instance, imagine the cards dealt were: 4, 5, 6, 10. In this case, the best selection of action for player 1 is to choose the ten, followed presumably by the 4, because player 2 will pick the 6. We have to abstract from this particular example to the general case: we see that there were 3 even numbers and 1 odd one, so player 1 is guaranteed another even number to match the one they chose. This is also true if there are 4 even numbers. So we have our first rule:

  • If there are 3 or 4 even numbered cards, then player one should choose the highest even numbered card in their first go.

When there are 3 or 4 odd cards it is not hard to see that the most rational action for player one is to select the highest odd numbered card:

  • If there are 3 or 4 odd numbered cards, then player 1 should select the highest odd numbered card in their first go.

The only other situation is when there are 2 even and 2 odd cards. I will leave it as an exercise to convince you that there are no instructions governing the choice of player one's first card: they can simply choose randomly, because they are not going to win unless player two makes a mistake, inthis type of case.

Posted Date: 10/2/2012 7:23:17 AM | Location : United States







Related Discussions:- Logic-based expert systems - artificial intelligence, Assignment Help, Ask Question on Logic-based expert systems - artificial intelligence, Get Answer, Expert's Help, Logic-based expert systems - artificial intelligence Discussions

Write discussion on Logic-based expert systems - artificial intelligence
Your posts are moderated
Related Questions
Superscalar architecture was designed to increase the speed of the scalar processor. But it has been realized it's not easy to apply. Subsequent are a number of problems faced in t

Define buffering.  A buffer is a memory area that keeps data while they are transferred among two devices or among a device and an application. Buffering is done for three reas

Illustrate how 74147 series TTL can be used as a decimal-to-BCD encoder. Ans. Available IC in 74 series is 74147 that is a priority encoder. Such IC has active low inp

Could TCP allow IP to checksum the data? TCP cannot permit IP to checksum data yet IP has its own checksum for its header. IP layer is fundamentally responsible for routing of

A socket is one end-point of a two-way communication link among two programs running on the network. Socket classes are used to show the connection among a client program and a ser

Multiple valued logics: Multiple valued logics, where altered types of truth value such as "unknown" are may be allowed. These have some of the particular advantages of fuzzy


Explain all the categories that are served by Common Control switching. Common Control Switching System: It is a functional block diagram of a common control switching system i

What is microfilm? This is a photographic reproduction of a document greatly decreased in size from the original on fine grain, high resolution film. Microfilm needs a reader f

Q. What do you mean by Daisy chain? This scheme provides a hardware poll. With this scheme, an interrupt acknowledge line is chain by different interrupt devices. All I/O inter