2. A. Compute the Gini index for the entire data set with respect to the two classes AND the use of the entropy criterion. B. Compute the entropy for the portion of the data set with age greater than 50.
2. A. Compute the Gini index for the entire data set with respect to the two classes AND the use of the entropy criterion. B. Compute the entropy for the portion of the data set with age greater than 50.
Enhanced Discovering Computers 2017 (Shelly Cashman Series) (MindTap Course List)
1st Edition
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Chapter4: Programs And Apps: Productivity, Graphics, Security, And Other Tools
Section: Chapter Questions
Problem 8CT
Related questions
Question
2.
A. Compute the Gini index for the entire data set with respect to the two classes AND the use of the entropy criterion.
B. Compute the entropy for the portion of the data set with age greater than 50.
![Name Age Salary Donor?
Nancy 21 37,000
N
Jim
27
41,000
Allen
43 61,000
Jane
38 55,000
Steve 44 30,000
Peter 51 56,000
Sayani 53
70,000
Lata
56 74,000
Mary 59
Victor 61
Dale
63
25,000
68,000
51,000
ZZKZZ
N
Y
N
N
Y
Y
Y
N
Y
Y](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Ffc7c8b76-aed0-43f1-97bb-5401cd4038d1%2F742fb600-f79a-45e5-9577-2f7cc19e88a9%2F5r7thmj_processed.png&w=3840&q=75)
Transcribed Image Text:Name Age Salary Donor?
Nancy 21 37,000
N
Jim
27
41,000
Allen
43 61,000
Jane
38 55,000
Steve 44 30,000
Peter 51 56,000
Sayani 53
70,000
Lata
56 74,000
Mary 59
Victor 61
Dale
63
25,000
68,000
51,000
ZZKZZ
N
Y
N
N
Y
Y
Y
N
Y
Y
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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
![Enhanced Discovering Computers 2017 (Shelly Cashm…](https://www.bartleby.com/isbn_cover_images/9781305657458/9781305657458_smallCoverImage.gif)
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning
![Oracle 12c: SQL](https://www.bartleby.com/isbn_cover_images/9781305251038/9781305251038_smallCoverImage.gif)
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![Enhanced Discovering Computers 2017 (Shelly Cashm…](https://www.bartleby.com/isbn_cover_images/9781305657458/9781305657458_smallCoverImage.gif)
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning
![Oracle 12c: SQL](https://www.bartleby.com/isbn_cover_images/9781305251038/9781305251038_smallCoverImage.gif)
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
![New Perspectives on HTML5, CSS3, and JavaScript](https://www.bartleby.com/isbn_cover_images/9781305503922/9781305503922_smallCoverImage.gif)
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning