The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Q.3(60 pts). You are just starting a quiet evening at home when an old friend calls to announce he is coming over for  dinner at your place. This being a big surprise, you immediately undertake emergency dinner preparations.
Â
           Within a few minutes, you have managed to load up the BARTENDER expert system on your PC so that you can select a drink.
Â
           BARTENDER is a backward‑chaining production system with rules given below. Note that when more than one rule has a consequent matching the current problem, those rules are tried in the order given in the list.
Â
Â
Â
Rule 1:Â Â Â Â IFÂ Â Â Â expensive wine is selected
               AND   it is 31st of December
               THEN  champagne
Â
Rule 2:    IF    expensive wine is selected  Â
               AND   first meal is steak
               THEN  red wine
Â
Rule 3: Â Â Â IFÂ Â Â Â cheap wine is selected
              AND   first meal is chicken
               AND   guest is not well‑liked
               THEN  apple wine
Â
Rule 4: Â Â Â IFÂ Â Â Â cheap wine is selected
               AND   first meal is unknown
               THEN  pink wine
Â
Rule 5: Â Â Â IFÂ Â Â Â beer is selected
               AND   first meal is Mexican beans
               THEN  Spanish beer
Â
Rule 6: Â Â Â IFÂ Â Â Â beer is selected
               THEN  Tuborg
Â
Rule 7: Â Â Â IFÂ Â Â Â guest is concerned about his health
               THEN  EfesÂ
Â
Rule 8: Â Â Â IFÂ Â Â Â guest is concerned about his health
               AND   carrots are not to be served
               THEN  carrot juice
Â
Rule 9: Â Â Â IFÂ Â Â Â wine is selected
               AND   guest should be impressed
               THEN  expensive wine
Â
Rule 10:Â Â IFÂ Â Â Â wine is selected
               THEN  cheap wine
Â
Rule 11:Â Â IFÂ Â Â Â guest is sophisticated
               THEN  wine
Â
Rule 12:Â Â IFÂ Â Â Â first meal is Mexican beans
               THEN  beer
Â
Rule 13:  IF    guest is not well‑liked
               AND   first meal is provided by Restaurant X
               THEN  beer
Â
Rule 14:Â Â IFÂ Â Â Â true
               THEN  water
Â
Â
Â
Â
BARTENDER's hypotheses are as follows:
    ‑ champagne
    ‑ red wine
    ‑ pink wine
    ‑ apple wine
    ‑ Spanish beer
    ‑ Tuborg
    ‑ Efes
    ‑ carrot juice
- water
Â
Now here are some facts to assume true, if an inquiry is made:
Â
    ‑ first meal is provided by Restaurant X
    ‑ first meal is Mexican beans
    ‑ guest is not well‑liked
    ‑ guest is sophisticated
    ‑ it is 31st of December
    ‑ first meal is chicken
Â
Â
And here are some facts to assume false, if an inquiry is made:
Â
    ‑ carrots are not to be served
    ‑ first meal is unknown
    ‑ guest is concerned about his health Â
    ‑ guest should be impressed
    ‑ first meal is steak
Â
Â
                                                    Â
Note that:
Â
    1. In working this problem, remember that the BARTENDER program has no means for problem solving except using the rules.
Â
    2. Assume that a user answers questions using BARTENDER's hypotheses given above.
Â
    3. Assume BARTENDER's control structure is such that it never asks the user if an assertion is true if there is any rule with that assertion in its THEN part. If there are such rules, but none verifies the assertion, the assertion is assumed to, be false.
Â
    4. Assume BARTENDER stops when one hypothesis is verified.
       Â
Â
Â
PART A
Â
Simulate BARTENDER's behaviour on the given facts. Take care to use the hypotheses in the given order. Indicate your answer by showing the sequence in which the rules fire and the name of the drink selected.
Â
Â
         Rule Number                     Selected Drink
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
PART B
Â
With some different set of facts, could BARTENDER ever recommend the red wine with Mexican beans? If not, why not?
Â
SOLUTION: (10 pts)
Â
Â
Â
Â
Â
Â
Â
Â
Â
Â
PART C
Â
With some different set of facts, could BARTENDER ever recommend carrot juice with steak? If not, why not?Â
Â
SOLUTION:(10 pts)
Â
Â
Â
Â
Â
Â
PART D
Â
Assume the existing rule set is added with a collection of meta‑ rules. Each meta‑rule is to be tried, possibly initiating some backward‑chaining, before the ordinary process of hypothesis checking and backward‑chaining begins. Here are the meta‑rules:
Â
M1: Â Â Â Â IFÂ Â the first meal is chicken
           THEN delete rules 12 and 13
Â
M2: Â Â Â Â IFÂ Â expensive wine is selected
           THEN delete rules 2 and 4
           AND replace rule 3 with rule 15 (below)
Â
Rule 15:IFÂ Â cheap wine is selected
             THEN Villa Doluca
          Â
Â
Now determine which drink will be selected again given the set of facts to be assumed true. You need only to specify the drink; do not bother to show the order the rules are used.
Â
SOLUTION:(10 pts)
Â
Â
Â
AKSARAY UNIVERSITYEEBM 568 Expert SystemsTake-Home Examination________________________________________________________________________Instructor:Prof.Dr. Mehmet R. TOLUNDate:26.04.2016Time Allowed:until April 28th2016, 15:30Name and Surname:……Haval S. AbdullahStudent Number:..152335805This exam paper contains3questions.Answerallquestions.QuestionMark GainedQ1Q2Q3Total---Good Luck---
Attachments:
-----------