Show full workings

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Show full workings

Post by answerhappygod »

Show full workings
Show Full Workings 1
Show Full Workings 1 (47.38 KiB) Viewed 34 times
In the following table, we have 5 instances with 3 attributes Suburb, Area, New, a Class Label. Each row is showing an instance. (N.B. Calculations up to two decimal points) Suburb Area New Class 1 S1 Large N 1 2 S2 Large N 1 3 S3 Large Y 1 4 S4 Large Y 2 5 S5 Medium Y 2 6 S6 Large Y 3 7 S4 Large Y 3 8 S7 Small N 3 (a) Calculate the information gain and gain ratio of "New" feature on the dataset. [7 marks] (N.B. use log2 to compute the results of each step to get full marks.)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply