Perhitungan Manual C45 Golf-3 Gini Split
Perhitungan Manual C45 Golf-3 Gini Split
Perhitungan Manual C45 Golf-3 Gini Split
sunny 85 85 0 no 1 Total
sunny 80 90 1 no Outlook
overcast 83 78 0 yes
rain 70 96 0 yes
rain 68 80 0 yes
rain 65 70 1 no Temperature
overcast 64 65 1 yes
sunny 72 95 0 no
sunny 69 70 0 yes Humadity
rain 75 80 0 yes
sunny 75 70 1 yes
overcast 72 90 1 yes Wind
overcast 81 75 0 yes
rain 71 80 1 no
Wind
Wind
Outlook Temperature Humidity Wind Play C4.5 Mut C4.5 Eko C4.5 RapidMiner
overcast 80.0 90.0 1 No Yes Yes yes
rain 68.0 80.0 1 Yes No No no
sunny 75.0 80.0 0 No Yes Yes no
overcast 81.0 75.0 1 No Yes Yes yes
Jumlah Yes No Entropy Gain Node
14 9 5 0.9403 1 Total
Opsi 1 Outlook
Sunny 5 2 3 0.9710
Overcast 4 4 0 0.0000 0.2467
Rain 5 3 2 0.9710
Opsi 2 Outlook
<=84 13 9 4 0.8905
0.1134
>84 1 0 1 0.0000
Opsi 3 Outlook
<=80 9 7 2 0.7642
0.1022
>80 5 2 3 0.9710
Opsi 4 Outlook
1 6 3 3 1.0000
0.0481
0 8 6 2 0.8113
<=77,5 8 5 3 0.9544
0.2365
>77,5 2 0 2 0.0000
<=82,5 6 4 2 0.9183
0.1245
>82,5 4 1 3 0.8113
1 4 1 3 0.8113
0 6 4 2 0.9183 0.1245
<=66,5 1 0 1 0.0000
0.1992
>66,5 7 5 2 0.8631
<=95,5 7 4 3 0.9852
0.0924
>95,5 1 1 0 0.0000
1 3 1 2 0.9183
0 5 4 1 0.7219 0.1589
<=70,5 4 3 1 0.8113
0.4591
0.4591
>70,5 2 0 2 0.0000
<=95,5 5 2 3 0.9710
0.1909
>95,5 1 1 0 0.0000
1 2 0 2 0.0000
0.4591
0 4 3 1 0.8113
<=66,5 1 0 1 0.0000
0.8113
>66,5 3 3 0 0.0000
<=70 2 1 1 1.0000
0.3113
>70 2 2 0 0.0000
<=75 2 1 1 1.0000
0.3113
>75 2 2 0 0.0000
1 1 0 1 0.0000
0.8113
0 3 3 0 0.0000
Jumlah Entropy Gain Rasio Gain
14 0.2467
Sunny 5
1.5774 0.1564
Overcast 4
Rain 5
Total 14 9 5
Humadity
<=67,5 1 1 0 0.0000
0.4396 0.4396
>67,5 13 8 5 0.4734
<=70 4 3 1 0.3750
0.4524 0.4500
>70 10 6 4 0.4800
<=72,5 4 3 1 0.3750
0.4589 0.4500
>72,5 10 6 4 0.4800
<=76,5 5 4 1 0.3200
0.4500 0.4317
>76,5 9 5 4 0.4938
<=79 6 5 1 0.2778
0.4317 0.4048
>79 8 4 4 0.5000
<=80 9 7 2 0.3457
0.4583 0.3937
>80 5 2 3 0.4800
<=82,5 9 7 2 0.3457
0.4583 0.3937
>82,5 5 2 3 0.4800
<=87,5 10 7 3 0.4200
0.4583 0.4429
>87,5 4 2 2 0.5000
<=90 12 8 4 0.4444
0.4429 0.4524
>90 2 1 1 0.5000
<=92,5 12 8 4 0.4444
0.4429 0.4524
>92,5 2 1 1 0.5000
<=95,5 13 8 5 0.4734
0.4589 0.4396
>95,5 1 1 0 0.0000
0.4524
0.3956
Temperature Play Humidity Play Rata-rata v
Rata-rata v Temperature Humadity
65 no 66.5 70 yes 70
68 yes 68.5 70 yes 70
69 yes 69.5 70 no 75
70 yes 70.5 80 yes 80
71 no 71.5 80 yes 80
72 no 73.5 80 no 82.5
75 yes 75 85 no 87.5
75 yes 77.5 90 no 92.5
80 no 82.5 95 no 95.5
85 no 96 yes
Jumlah Yes No Gini
Total 10 5 5 Total
Temperature Humadity
<=66,5 1 0 1 0.0000 <=70
0.4444
>66,5 9 5 4 0.4938 >70
<=68,5 2 1 1 0.5000 <=75
0.5000
>68,5 8 4 4 0.5000 >75
<=69,5 3 2 1 0.4444 <=80
0.4762
>69,5 7 3 4 0.4898 >80
<=70,5 4 3 1 0.3750 <=82,5
0.4167
>70,5 6 2 4 0.4444 >82,5
<=71,5 5 3 2 0.4800 <=87,5
0.4800
>71,5 5 2 3 0.4800 >87,5
<=73,5 6 3 3 0.5000 <=92,5
0.5000
>73,5 4 2 2 0.5000 >92,5
<=75 8 5 3 0.4688 <=95,5
0.3750
>75 2 0 2 0.0000 >95,5
<=77,5 8 5 3 0.4688
0.3750
>77,5 2 0 2 0.0000
<=82,5 9 5 4 0.4938
0.4444
>82,5 1 0 1 0.0000
Jumlah Yes No Gini
10 5 5
3 2 1 0.4444
0.4762
7 3 4 0.4898
3 2 1 0.4444
0.4762
7 3 4 0.4898
6 4 2 0.4444
0.4167
4 1 3 0.3750
6 4 2 0.4444
0.4167
4 1 3 0.3750
7 4 3 0.4898
0.4762
3 1 2 0.4444
8 4 4 0.5000
0.5000
2 1 1 0.5000
9 4 5 0.4938
0.4444
1 1 0 0.0000
Temperature Play Humidity Play
Rata-rata v Temperature
65 no 66.5 70 no
68 yes 68.5 70 yes
69 yes 69.5 70 yes
70 yes 70.5 80 yes
71 no 71.5 80 no
72 no 73.5 80 yes
75 yes 75 95 no
75 yes 96 yes
Jumlah Yes No
Rata-rata v Humadity
70 Total 8 5 3
70 Temperature
75 <=66,5 1 0 1
80 >66,5 7 5 2
80 <=68,5 2 1 1
87.5 >68,5 6 4 2
95.5 <=69,5 3 2 1
>69,5 5 3 2
<=70,5 4 3 1
>70,5 4 2 2
<=71,5 5 3 2
>71,5 3 2 1
<=73,5 6 3 3
>73,5 2 2 0
<=75 8 5 3
>75 0 0 0
Gini Jumlah Yes No Gini
Total 8 5 3
Humadity
0.0000 <=70 3 2 1 0.4444
0.3571 0.4667
0.4082 >70 5 3 2 0.4800
0.5000 <=75 3 2 1 0.4444
0.4583 0.4667
0.4444 >75 5 3 2 0.4800
0.4444 <=80 6 4 2 0.4444
0.4667 0.4583
0.4800 >80 2 1 1 0.5000
0.3750 <=87,5 6 4 2 0.4444
0.4375 0.4583
0.5000 >87,5 2 1 1 0.5000
0.4800 <=95,5 7 4 3 0.4898
0.4667 0.4286
0.4444 >95,5 1 1 0 0.0000
0.5000
0.3750
0.0000
0.4688
0.4688
0.0000
Temperat
Play Humidity Play
ure Rata-rata v Temperature Rata-rata v Humadity
65 no 66.5000 70 no 70.0000
68 yes 68.5000 70 yes 75.0000
69 yes 69.5000 80 yes 80.0000
70 yes 70.5000 80 no 87.5000
71 no 71.5000 95 no 95.5000
72 no 96 yes
Jumlah Yes No Gini
Total 6 3 3
Temperature
<=66,5 1 0 1 0.0000
0.4000
>66,5 5 3 2 0.4800
<=68,5 2 1 1 0.5000
0.5000
>68,5 4 2 2 0.5000
<=69,5 3 2 1 0.4444
0.4444
>69,5 3 1 2 0.4444
<=70,5 4 3 1 0.3750
0.2500
>70,5 2 0 2 0.0000
<=71,5 5 3 2 0.4800
0.4000
>71,5 1 0 1 0.0000
Jumlah Yes No Gini
Total 6 3 3
Humadity
<=70 2 1 1 0.5000
0.5000
>70 4 2 2 0.5000
<=75 2 1 1 0.5000
0.5000
>75 4 2 2 0.5000
<=80 4 2 2 0.5000
0.5000
>80 2 1 1 0.5000
<=87,5 4 2 2 0.5000
0.5000
>87,5 2 1 1 0.5000
<=95,5 5 2 3 0.4800
0.4000
>95,5 1 1 0 0.0000
Temperature Play Humidity Play
Rata-rata v Temperature Rata-rata v Humadity
65 no 66.5 70 no 70
68 yes 68.5 70 yes 75
69 yes 69.5 80 yes 88
70 yes 96 yes
Jumlah Yes No Gini
Total 4 3 1
Temperature
<=66,5 1 0 1 0.0000
0.0000
>66,5 3 3 0 0.0000
<=68,5 2 1 1 0.5000
0.2500
>68,5 2 2 0 0.0000
<=69,5 3 2 1 0.4444
0.3333
>69,5 1 1 0 0.0000
Jumlah Yes No Gini
Total 4 3 1
Humadity
<=70 2 1 1 0.5000
0.2500
>70 2 2 0 0.0000
<=75 2 1 1 0.5000
0.2500
>75 2 2 0 0.0000
<=88 3 2 1 0.4444
0.3333
>88 1 1 0 0.0000