Question: About machine learning -supervised learning this answer is 1. D 2. B Could you explain in detail? Thank you 1. Consider the following 1D dataset

About machine learning -supervised learning

this answer is 1. D 2. B

Could you explain in detail?

Thank you

1. Consider the following 1D dataset where the first element (numeric) in each pair represents the attribute

(a.k.a feature) and the second element (string) is the class label:

[(0.8, `Montreal'), (0.85, `Toronto'), (0.9, `Toronto'), (1, `Montreal'), (1.5, `Montreal')]

What is the entropy of this dataset?

A. 0.37

B. 0.47

C. 0.57

D. 0.67

E. 0.77

2. What is the Gini index of this dataset?

A. 0.378

B. 0.48

C. 0.58

D. 0.68

E. 0.78

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!