Chapter 3 Gini Calculations Problems Paper You must make your own calculations of the Gini Index and you must show your calculations in the answer document
Chapter 3 Gini Calculations Problems Paper You must make your own calculations of the Gini Index and you must show your calculations in the answer document.Insufficient calculation steps will result in reduced points earned.
Instructions
This document was purposely created in Microsoft Word so you can enter your answers into the document. The problems focus on the use of the Gini Index.
YOUR ANSWERS MUST APPEAR WITHIN THE PROBLEM DOCUMENT.
10% WILL BE DEDUCTED IF YOU CREATE A NEW OR SEPARATE DOCUMENT.
10% WILL BE DEDUCTED IF YOU CREATE A TITLE PAGE TYPE OF DOCUMENT.
20% WILL BE IF YOU DO NOT SHOW YOUR CALCULATIONS FOR EACH ANSWER.
Please review the attached document and answer all 3 questions in the same document. Chapter 3 Problems
Instructions
This document was purposely created in Microsoft Word so you can enter your answers into
the document. The problems focus on the use of the Gini Index.
YOUR ANSWERS MUST APPEAR WITHIN THE PROBLEM DOCUMENT.
10% WILL BE DEDUCTED IF YOU CREATE A NEW OR SEPARATE DOCUMENT.
10% WILL BE DEDUCTED IF YOU CREATE A TITLE PAGE TYPE OF DOCUMENT.
20% WILL BE IF YOU DO NOT SHOW YOUR CALCULATIONS FOR EACH ANSWER.
You must make your own calculations of the Gini Index and you must show your calculations in
the answer document. Insufficient calculation steps will result in reduced points earned.
1. Use the following table to calculate your answers to the following questions.
a. What is the Gini index for the Customer ID?
b. Explain your answer in part (a).
c. What is the Gini index for the Male Gender?
d. What is the Gini index for the Female Gender?
e. Compute the weighted average for the Gender type?
f. Compute the Gini index for the Car Type attribute using multiway split.
Family car
Sports car
Luxury car
g. Compute the weighted average for the Car type.
h. Compute the Gini index for the Shirt Size attribute using multiway split.
Small shirt
Medium shirt
Large shirt
Extra Large shirt
i. Compute the weighted average for the Shirt Size.
j. Which attribute is better, Gender, Car Type, or Shirt Size? Why?
k. Explain why Customer ID should not be used as the attribute test condition even though it has the
lowest Gini.
2. Use the following table to calculate your answers to the following questions.
a. Compute the Gini index for the Outlook attribute using multiway split.
1) Rainy
2) Overcast
3) Sunny
4) Compute the weighted average for the Outlook?
b. Compute the Gini index for the Temp attribute using multiway split.
1) Hot
2) Mild
3) Cool
4) Compute the weighted average for the Temp?
c. Compute the Gini Index for Humidity.
1) High
2) Normal
d. Compute the Gini Index for Windy.
1) True
2) False
e. Which attribute is better, Outlook, Temp, Humidity, or Windy? Why?
3. Decision Trees
a. Considering the blue circles are one data set and the red stars are the second data set, calculate the
Gini Index for the data set.
b. It has been decided that the first split should be at X = 0.4
1) What is the impurity on the left?
2) What is the impurity on the right?
c. Next, split again at the point to the right of the rightmost blue circle, approximately 0.73
1) What is the impurity of the next left split, between X > 0.4 and X < 0.73?
2) What is the impurity of the next right split, between X > 0.73?
d. Finally, split the middle group at Y > 0.4
1) What is the impurity of each group/class?
Purchase answer to see full
attachment
We've got everything to become your favourite writing service
Money back guarantee
Your money is safe. Even if we fail to satisfy your expectations, you can always request a refund and get your money back.
Confidentiality
We don’t share your private information with anyone. What happens on our website stays on our website.
Our service is legit
We provide you with a sample paper on the topic you need, and this kind of academic assistance is perfectly legitimate.
Get a plagiarism-free paper
We check every paper with our plagiarism-detection software, so you get a unique paper written for your particular purposes.
We can help with urgent tasks
Need a paper tomorrow? We can write it even while you’re sleeping. Place an order now and get your paper in 8 hours.
Pay a fair price
Our prices depend on urgency. If you want a cheap essay, place your order in advance. Our prices start from $11 per page.