Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7. What is the gain of the splits below using Classification Error measure (Note: you have to use Classification Error as the Impurity measure here

7. What is the gain of the splits below using Classification Error measure (Note: you have to use Classification Error as the Impurity measure here and not Gini or Entropy. Also make sure to use two decimal precision points, e.g. 3.14, in all your calculations) Parent Node: Class C1 count: 17 Class C2 count: 23 Total instances: 40 Proportion of C1: 17/40 Proportion of C2: 23/40 Classification Error (Parent) = 1 - max(17/40, 23/40) = 0.425 Node N1: Class C1 count in N1: 15 Class C2 count in N1: 12 Total instances in N1: 27 Proportion of C1 in N1: 15/27 Proportion of C2 in N1: 12/27 Classification Error (N1) = 1 - max(15/27, 12/27) = 0.444 Node N2: Class C1 count in N2: 2 Class C2 count in N2: 11 Total instances in N2: 13 Proportion of C1 in N2: 2/13 Proportion of C2 in N2: 11/13 Classification Error (N2) = 1 - max(2/13, 11/13) = 0.154

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

Step: 3

blur-text-image

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

A First Course in Differential Equations with Modeling Applications

Authors: Dennis G. Zill

11th edition

1305965728, 978-1305965720

More Books

Students also viewed these Mathematics questions

Question

Sustainability in global business-to-business markets

Answered: 1 week ago