31...40 <=30 <=30 >40 <=30 low >40 medium no low yes 31...40 medium medium yes 31...40 high ves medium ves no yes medium no excellent fair fair fair excellent excellent fair excellent yes no yes yes no yes yes ΠΟ Learning Outcome(s): LO2 Instructors: Apply and evaluate data mining algorithms with respect to problems they are specifically designed for Question Three 1.5 Marks Given the testing dataset and the constructed decision tree below. Calculate the accuracy, error rate, sensitivity, specificity, precision, and recall. The model. predicts if a person will buy a computer or not based on his/her information. no no age <=30 <=30 <-30 >40 student? yes income high high 31...40 high yes medium age? 31..40 yes student no ΠΟ no no >40 credit rating? excellent fair no credit rating buys.computer fair excellent fair yes fair no no yes no

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Given the testing dataset and the constructed decision tree below. Calculate the accuracy, error rate, sensitivity, specificity, precision, and recall. The model predicts if a person will buy a computer or not based on his/her information.

Note: Please see the attachment pic

31...40 low
<=30
<=30
>40
<=30
31...40
medium
>40
low
yes
no
yes
medium yes
medium yes
medium
medium no
31...40 high yes
no
excellent
fair
fair
fair
excellent
excellent
fair
excellent
yes
no
yes
yes
no
yes
ves
no
Learning
Outcome(s): LO2
Instructors: Apply
and evaluate data
mining algorithms
with respect to
problems they are
specifically
designed for.
J
Question Three
Given the testing dataset and the constructed decision tree below. Calculate the
accuracy, error rate, sensitivity, specificity, precision, and recall. The model
predicts if a person will buy a computer or not based on his/her information.
no
no
age
<=30
<=30
31...40
>40
>40
>40
<=30
student?
yes
income
high
high
high
yes
medium
low
low
age?
31..40
yes
student
no
no
no
no
yes
yes
>40
excellent
no
credit rating?
fair
excellent
fair
credit rating buys computer
fair
fair
fair
excellent
yes
no
no
yes
no
yes
(₁
no
1.5 Marks
Transcribed Image Text:31...40 low <=30 <=30 >40 <=30 31...40 medium >40 low yes no yes medium yes medium yes medium medium no 31...40 high yes no excellent fair fair fair excellent excellent fair excellent yes no yes yes no yes ves no Learning Outcome(s): LO2 Instructors: Apply and evaluate data mining algorithms with respect to problems they are specifically designed for. J Question Three Given the testing dataset and the constructed decision tree below. Calculate the accuracy, error rate, sensitivity, specificity, precision, and recall. The model predicts if a person will buy a computer or not based on his/her information. no no age <=30 <=30 31...40 >40 >40 >40 <=30 student? yes income high high high yes medium low low age? 31..40 yes student no no no no yes yes >40 excellent no credit rating? fair excellent fair credit rating buys computer fair fair fair excellent yes no no yes no yes (₁ no 1.5 Marks
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
JQuery and Javascript
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education