0% found this document useful (0 votes)
62 views6 pages

Person Gender Marital Status Income Level Bought?

The document contains information about 10 people, listing their gender, marital status, income level, and whether they bought something or not. It shows that 3 out of 10 people bought something, including 2 single males and 1 divorced male. When analyzed by attributes, it found that males and those with average income were more likely to buy than other groups. The document also includes tables and metrics for evaluating the attributes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views6 pages

Person Gender Marital Status Income Level Bought?

The document contains information about 10 people, listing their gender, marital status, income level, and whether they bought something or not. It shows that 3 out of 10 people bought something, including 2 single males and 1 divorced male. When analyzed by attributes, it found that males and those with average income were more likely to buy than other groups. The document also includes tables and metrics for evaluating the attributes.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Person Gender Marital Status Income Level Bought?

1 Female Single High No


2 Male Married Average No
3 Male Single Low No
4 Female Married High No
5 Male Divorced Average Yes
6 Male Married Low No
7 Female Divorced High No
8 Male Single Average Yes
9 Male Married Low No
10 Male Single Average Yes

Buy
Yes No Total Fraction
Gender Female 0 3 3 0.3 0 0
Male 3 4 7 0.7 -0.523882 -0.461346

Buy
Yes No Total Fraction
Income Level High 0 3 3 0.3 0 0
Average 3 1 4 0.4 -0.311278 -0.5
Low 0 3 3 0.3 0 0

Buy
Yes No Total Fraction
Marital Status Single 2 2 4 0.4 -0.5 -0.5
Married 0 4 4 0.4 0 0
Divorced 1 1 2 0.2 -0.5 -0.5
Entropy Impurity
0 0.68966
-0.985228

Entropy Impurity
0 0.324511
-0.811278
0

Entropy Impurity
-1 0.6
0
-1
Person Gender Marital StaIncome Level Bought?
1 Female Single High No
2 Male Married Average No
3 Male Single Low No
4 Female Married High No
5 Male Divorced Average Yes
6 Male Married Low No
7 Female Divorced High No
8 Male Single Average Yes
9 Male Married Low No
10 Male Single Average Yes

Level 1
Yes 3
No 7

Bought
Yes No Total Fraction E-yes
Gender Male 3 4 7 0.7 -0.523882
Female 0 3 3 0.3 0

Bought
Yes No Total Fraction E-yes
Marital Status Single 2 2 4 0.4 -0.5
Married 0 4 4 0.4 0
Divorced 1 1 2 0.2 -0.5

Bought
Yes No Total Fraction E-yes
Income Level Low 0 3 3 0.3 0
Average 3 1 4 0.4 -0.311278
High 0 3 3 0.3 0

Level 2
Yes 3
No 1

Bought
Yes No Total Fraction E-yes
Gender Male 3 1 4 1 -0.311278
Female 0 0 0 0 0

Bought
Yes No Total Fraction E-yes
Marital Status Single 2 0 2 0.5 0
Married 0 1 1 0.25 0
Divorced 1 0 1 0.25 0
E-no Entropy Impurity
-0.461346 -0.985228 0.68966
0 0

E-no Entropy Impurity


-0.5 -1 0.6
0 0
-0.5 -1

E-no Entropy Impurity


0 0 0.324511
-0.5 -0.811278
0 0

E-no Entropy Impurity


-0.5 -0.811278 0.811278
0 0

E-no Entropy Impurity


0 0 0
0 0
0 0

You might also like