Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE DO NOT USE EXTERNAL LIBRARIES, IF POSSIBLE PLEASE PROVIDE A SCRRENSHOT OF YOU RUNNING THE PROGRAM Collaboration Statement: You may work with other students;

PLEASE DO NOT USE EXTERNAL LIBRARIES, IF POSSIBLE PLEASE PROVIDE A SCRRENSHOT OF YOU RUNNING THE PROGRAM

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Collaboration Statement: You may work with other students; however, each student MUST write up and hand in his or her own assignment separately. DO NOT copy code from other students. If you work with other students, be sure to indicate with whom you have worked in the comments of your submission. You may need to explain portions of your code to receive full credit Please read the attached paper section 2. An animal classification expert system using VP Expert. Figure 1 gives 10 rules that will classify an animal as a tiger, cheetah, giraffe, or zebra Your assignment is to create a forward chaining rule-based system using Python to classify if an animal is a cheetah, tiger, giraffe, or zebra. You will code the 10 rules that are given by the handout on expert systems. Once you have written a program, input the following combinations and report on your programs output. Also make sure to record and show the sequence of rules that fire Determine a combination that will allow you to select a giraffe as the output using only the categories in the table above (You cannot set if the animal is a mammal, carnivore/ungulate or the animal directly) Code will correctly classify: - Zebra (20 points) - Cheetah (20 points) - Tiger (20 points) - Giraffe (20 points) Log and order of rules that were fired (10 points) Deductions- Using any external libraries -30 (capped at 0 ) Code does not run/Errors present 50 (capped at 0 ) Animal Classification Example Press any key to start the consultation Does the animal have hair? Yes Does the animal have a tawny colour? Hoes the animal have dark spots? Yes Does the animal have a long neck? Yes Does the animal have hooves ? Yes Your animal may be a Giraffe Press any key to continue

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions

Question

2. Who makes sure objectives are set?

Answered: 1 week ago