Logic-based expert systems - , Computer Engineering

Assignment Help:

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.


Related Discussions:- Logic-based expert systems -

Explain about the client/server computing, Explain about the Client/Server ...

Explain about the Client/Server Computing? Although there are different various configurations, various hardware and software platforms and even various network protocols into

Scope of expert system, The scope of the experts system is very limite...

The scope of the experts system is very limited. It cannot work outside the field it is being used. The users knowledge is required to adjust to new situation. To reduce

Cgi programming, For this assignment you should construct a comprehensive w...

For this assignment you should construct a comprehensive web site for Dangar Winery of Puddledock Road Armidale, makers of fine table wines and ports since 1983. Chief winemaker, A

Write a subroutine in c which toggles the cursor, Q . Write a subroutine in...

Q . Write a subroutine in C which toggles the cursor? Write a subroutine in C which toggles the cursor. It takes one argument which toggles the value between on (1) and off (0)

Translate assembly language program to machine , A useful exercise in under...

A useful exercise in understanding assembly language and its relation to machine language is to take a short assembly language program and translate it to machine language by hand.

Moral and ethical implications, • Moral and Ethical Implications o Will ...

• Moral and Ethical Implications o Will this be safe to have on the road    Will the computers on board be able to handle extreme circumstances • Hazardous conditions o Ex

Signaling pvm process, Q. Signaling PVM process? int pvm_sendsig( ...

Q. Signaling PVM process? int pvm_sendsig( int tid, int signum ) Transmits a signal to other PVM process. tid is task identifier of PVM process to receive signal.

Define physical context, Question : Context aware mobile web applicatio...

Question : Context aware mobile web applications are the important to achieve ubiquity, device independence and personalization. The context provides detailed information about

Binary, 8:1 Mux for a given function, f=S (0, 1,5,7,9, 13)..

8:1 Mux for a given function, f=S (0, 1,5,7,9, 13)..

Explain analysis and synthesis phase of a compiler, Explain analysis and sy...

Explain analysis and synthesis phase of a compiler. The synthesis and analysis phases of a compiler are: Analysis Phase: In this breaks the source program in constituent

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd