Skip to content

Commit

Permalink
resolving merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Howard committed Apr 12, 2020
2 parents 71dee36 + 43f325f commit 077555a
Show file tree
Hide file tree
Showing 7 changed files with 4,937 additions and 15 deletions.
Binary file added _images/MachineLearning-Lab3_System.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,785 changes: 2,770 additions & 15 deletions notebooks/Lab3_CRISP-DM.ipynb

Large diffs are not rendered by default.

Binary file added notebooks/diabetes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added notebooks/dtree.dot
Empty file.
Binary file added notebooks/loans.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2,101 changes: 2,101 additions & 0 deletions notebooks/myTreeName.dot

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions notebooks/tree.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
digraph Tree {
node [shape=box, style="rounded", color="black", fontname=helvetica] ;
edge [fontname=helvetica] ;
0 [label="FLAG_DOCUMENT_6_Y <= 0.5\ngini = 0.147\nsamples = 136060\nvalue = [198003, 17254]\nclass = TARGET"] ;
1 [label="REG_CITY_NOT_LIVE_CITY_Y <= 0.5\ngini = 0.151\nsamples = 124097\nvalue = [180005, 16188]\nclass = TARGET"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="FLAG_WORK_PHONE_Y <= 0.5\ngini = 0.145\nsamples = 113762\nvalue = [165658, 14156]\nclass = TARGET"] ;
1 -> 2 ;
3 [label="OCCUPATION_TYPE_Pensioner <= 0.5\ngini = 0.138\nsamples = 89689\nvalue = [131366, 10620]\nclass = TARGET"] ;
2 -> 3 ;
4 [label="NAME_FAMILY_STATUS_Civil marriage <= 0.5\ngini = 0.146\nsamples = 76557\nvalue = [111690, 9581]\nclass = TARGET"] ;
3 -> 4 ;
5 [label="NAME_EDUCATION_TYPE_Secondary / secondary special <= 0.5\ngini = 0.143\nsamples = 69160\nvalue = [101104, 8487]\nclass = TARGET"] ;
4 -> 5 ;
6 [label="FLAG_OWN_CAR_Y <= 0.5\ngini = 0.105\nsamples = 22238\nvalue = [33237, 1946]\nclass = TARGET"] ;
5 -> 6 ;
7 [label="OCCUPATION_TYPE_Accountants <= 0.5\ngini = 0.114\nsamples = 12465\nvalue = [18512, 1194]\nclass = TARGET"] ;
6 -> 7 ;
8 [label="OCCUPATION_TYPE_Drivers <= 0.5\ngini = 0.118\nsamples = 11314\nvalue = [16743, 1124]\nclass = TARGET"] ;
7 -> 8 ;
9 [label="NAME_CONTRACT_TYPE_Revolving loans <= 0.5\ngini = 0.114\nsamples = 11068\nvalue = [16417, 1064]\nclass = TARGET"] ;
8 -> 9 ;
10 [label="NAME_INCOME_TYPE_State servant <= 0.5\ngini = 0.12\nsamples = 9477\nvalue = [14016, 964]\nclass = TARGET"] ;
9 -> 10 ;
11 [label="OCCUPATION_TYPE_Low-skill Laborers <= 0.5\ngini = 0.127\nsamples = 8084\nvalue = [11939, 871]\nclass = TARGET"] ;
10 -> 11 ;
12 [label="NAME_EDUCATION_TYPE_Lower secondary <= 0.5\ngini = 0.126\nsamples = 8061\nvalue = [11909, 864]\nclass = TARGET"] ;
11 -> 12 ;
13 [label="FLAG_DOCUMENT_9_Y <= 0.5\ngini = 0.121\nsamples = 7745\nvalue = [11479, 792]\nclass = TARGET"] ;
12 -> 13 ;
14 [label="ORGANIZATION_TYPE_Transport: type 4 <= 0.5\ngini = 0.121\nsamples = 7670\nvalue = [11350, 787]\nclass = TARGET"] ;
13 -> 14 ;
15 [label="ORGANIZATION_TYPE_Mobile <= 0.5\ngini = 0.12\nsamples = 7551\nvalue = [11166, 764]\nclass = TARGET"] ;
14 -> 15 ;
16 [label="NAME_EDUCATION_TYPE_Higher education <= 0.5\ngini = 0.119\nsamples = 7526\nvalue = [11136, 758]\nclass = TARGET"] ;
15 -> 16 ;
17 [label="OCCUPATION_TYPE_Realty agents <= 0.5\ngini = 0.142\nsamples = 1035\nvalue = [1490, 124]\nclass = TARGET"] ;
16 -> 17 ;
18 [label="WEEKDAY_APPR_PROCESS_START_WEDNESDAY <= 0.5\ngini = 0.139\nsamples = 1031\nvalue = [1488, 121]\nclass = TARGET"] ;
17 -> 18 ;
19 [label="FLAG_PHONE_N <= 0.5\ngini = 0.124\nsamples = 855\nvalue = [1248, 89]\nclass = TARGET"] ;
18 -> 19 ;
20 [label="ORGANIZATION_TYPE_Advertising <= 0.5\ngini = 0.182\nsamples = 208\nvalue = [292, 33]\nclass = TARGET"] ;
19 -> 20 ;
21 [label="LIVE_CITY_NOT_WORK_CITY_Y <= 0.5\ngini = 0.174\nsamples = 206\nvalue = [291, 31]\nclass = TARGET"] ;
20 -> 21 ;
22 [label="NAME_FAMILY_STATUS_Married <= 0.5\ngini = 0.143\nsamples = 175\nvalue = [249, 21]\nclass = TARGET"] ;
21 -> 22 ;
23 [label="FLAG_DOCUMENT_3_Y <= 0.5\ngini = 0.075\nsamples = 78\nvalue = [124, 5]\nclass = TARGET"] ;
22 -> 23 ;
24 [label="gini = 0.0\nsamples = 18\nvalue = [30, 0]\nclass = TARGET"] ;
23 -> 24 ;
25 [label="NAME_INCOME_TYPE_Working <= 0.5\ngini = 0.096\nsamples = 60\nvalue = [94, 5]\nclass = TARGET"] ;
23 -> 25 ;
26 [label="ORGANIZATION_TYPE_Bank <= 0.5\ngini = 0.201\nsamples = 27\nvalue = [39, 5]\nclass = TARGET"] ;
25 -> 26 ;
27 [label="FLAG_EMAIL_Y <= 0.5\ngini = 0.206\nsamples = 26\nvalue = [38, 5]\nclass = TARGET"] ;
26 -> 27 ;
28 [label="NAME_FAMILY_STATUS_Separated <= 0.5\ngini = 0.251\nsamples = 20\nvalue = [29, 5]\nclass = TARGET"] ;
27 -> 28 ;
29 [label="NAME_HOUSING_TYPE_House / apartment <= 0.5\ngini = 0.293\nsamples = 18\nvalue = [23, 5]\nclass = TARGET"] ;
28 -> 29 ;
30 [label="OCCUPATION_TYPE_Managers <= 0.5\ngini = 0.5\nsamples = 2\nvalue = [2, 2]\nclass = TARGET"] ;
29 -> 30 ;
31 [label="gini = 0.0\nsamples = 1\nvalue = [2, 0]\nclass = TARGET"] ;
30 -> 31 ;

0 comments on commit 077555a

Please sign in to comment.