Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started