-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathlog
30 lines (29 loc) · 3.73 KB
/
log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Running ID3 Classifier
Training data: training_data.csv
Output: result.csv
Initialzied ID3 classifer with decision tree:
{'Calling 800': {'No': {'Calling 866': {'No': {'Number of Outbound Calls': {'<=25': {'Night': {'No': {'Calling from 800': {'No': {'Unique Outbound': {'High': '1',
'Low': '0'}},
'Yes': {'Unique Outbound': {'High': '1',
'Low': '0'}}}},
'Yes': {'Calling from 800': {'No': {'Unique Outbound': {'High': '1',
'Low': '0'}},
'Yes': {'Unique Outbound': {'High': '1',
'Low': '0'}}}}}},
'>25': {'Night': {'No': {'Calling from 800': {'No': {'Unique Outbound': {'High': '1',
'Low': '0'}},
'Yes': {'Unique Outbound': {'High': '1',
'Low': '0'}}}},
'Yes': {'Calling from 800': {'No': {'Unique Outbound': {'High': '0',
'Low': '0'}}}}}}}},
'Yes': {'Number of Outbound Calls': {'<=25': {'Night': {'No': {'Calling from 800': {'No': {'Unique Outbound': {'High': '0',
'Low': '0'}},
'Yes': {'Unique Outbound': {'High': '0',
'Low': '0'}}}},
'Yes': '0'}},
'>25': {'Night': {'No': {'Calling from 800': {'No': {'Unique Outbound': {'High': '1',
'Low': '0'}},
'Yes': '1'}},
'Yes': '0'}}}}}},
'Yes': '0'}}
Done