diff --git a/Images/P5Treemodel.svg b/Images/P5Treemodel.svg new file mode 100644 index 0000000..783b575 --- /dev/null +++ b/Images/P5Treemodel.svg @@ -0,0 +1,241 @@ + + + + + + +Tree + + + +0 + +Education ≤ 3.5 +gini = 0.5 +samples = 551 +value = [270, 281] +class = Low Income + + + +1 + +Age ≤ 1.5 +gini = 0.476 +samples = 238 +value = [145, 93] +class = High Income + + + +0->1 + + +True + + + +8 + +Luke Skywalker ≤ 5.5 +gini = 0.48 +samples = 313 +value = [125, 188] +class = Low Income + + + +0->8 + + +False + + + +2 + +Jar Jar Binks ≤ 1.5 +gini = 0.369 +samples = 78 +value = [59, 19] +class = High Income + + + +1->2 + + + + + +5 + +Princess Leia Organa ≤ 5.5 +gini = 0.497 +samples = 160 +value = [86, 74] +class = High Income + + + +1->5 + + + + + +3 + +gini = 0.408 +samples = 7 +value = [2, 5] +class = Low Income + + + +2->3 + + + + + +4 + +gini = 0.317 +samples = 71 +value = [57, 14] +class = High Income + + + +2->4 + + + + + +6 + +gini = 0.425 +samples = 49 +value = [34, 15] +class = High Income + + + +5->6 + + + + + +7 + +gini = 0.498 +samples = 111 +value = [52, 59] +class = Low Income + + + +5->7 + + + + + +9 + +Yoda ≤ 5.5 +gini = 0.5 +samples = 108 +value = [54, 54] +class = High Income + + + +8->9 + + + + + +12 + +Rank_Star Wars: Episode IV  A New Hope ≤ 2.5 +gini = 0.453 +samples = 205 +value = [71, 134] +class = Low Income + + + +8->12 + + + + + +10 + +gini = 0.453 +samples = 52 +value = [18, 34] +class = Low Income + + + +9->10 + + + + + +11 + +gini = 0.459 +samples = 56 +value = [36, 20] +class = High Income + + + +9->11 + + + + + +13 + +gini = 0.382 +samples = 101 +value = [26, 75] +class = Low Income + + + +12->13 + + + + + +14 + +gini = 0.491 +samples = 104 +value = [45, 59] +class = Low Income + + + +12->14 + + + + +