Pierre Lepagnol
Adding scripts + data
b109984
raw
history blame
No virus
9.63 kB
{
"rules": [
{
"rule": [
[
48,
0.183,
true
],
[
18,
0.385,
true
],
[
26,
0.005,
false
]
],
"label": 0,
"accuracy": 100.0,
"support": 17
},
{
"rule": [
[
36,
0.065,
false
],
[
2,
0.27,
false
],
[
53,
0.153,
false
]
],
"label": 1,
"accuracy": 100.0,
"support": 1
},
{
"rule": [
[
51,
0.186,
true
],
[
9,
0.025,
true
],
[
24,
0.13,
false
]
],
"label": 0,
"accuracy": 98.48,
"support": 47
},
{
"rule": [
[
32,
0.235,
true
],
[
32,
0.015,
false
],
[
2,
0.395,
true
]
],
"label": 1,
"accuracy": 100.0,
"support": 3
},
{
"rule": [
[
13,
0.025,
true
],
[
11,
1.99,
false
],
[
10,
0.455,
false
]
],
"label": 0,
"accuracy": 80.0,
"support": 3
},
{
"rule": [
[
8,
0.085,
true
],
[
51,
0.088,
true
],
[
55,
23.0,
false
]
],
"label": 1,
"accuracy": 53.45,
"support": 40
},
{
"rule": [
[
1,
0.09,
false
],
[
29,
0.085,
true
],
[
2,
0.195,
true
]
],
"label": 1,
"accuracy": 53.33,
"support": 18
},
{
"rule": [
[
55,
29.5,
true
],
[
51,
0.142,
true
],
[
18,
1.81,
false
]
],
"label": 0,
"accuracy": 55.38,
"support": 41
},
{
"rule": [
[
6,
0.01,
false
],
[
51,
0.049,
true
],
[
38,
0.12,
true
]
],
"label": 1,
"accuracy": 82.35,
"support": 12
},
{
"rule": [
[
17,
0.055,
false
],
[
55,
15.5,
true
],
[
6,
0.025,
false
]
],
"label": 1,
"accuracy": 77.78,
"support": 7
},
{
"rule": [
[
23,
0.03,
false
],
[
14,
0.015,
true
],
[
29,
0.065,
true
]
],
"label": 1,
"accuracy": 88.14,
"support": 39
},
{
"rule": [
[
20,
0.915,
true
],
[
53,
0.01,
true
],
[
22,
0.145,
true
]
],
"label": 0,
"accuracy": 81.22,
"support": 145
},
{
"rule": [
[
55,
18.5,
false
],
[
18,
1.06,
false
],
[
8,
0.04,
false
]
],
"label": 1,
"accuracy": 100.0,
"support": 26
},
{
"rule": [
[
8,
0.025,
true
],
[
42,
0.165,
true
],
[
19,
0.265,
true
]
],
"label": 0,
"accuracy": 56.66,
"support": 216
},
{
"rule": [
[
30,
0.075,
true
],
[
15,
0.065,
false
],
[
15,
0.35,
true
]
],
"label": 1,
"accuracy": 83.78,
"support": 21
}
],
"rules_description": [
"if (char_freq_%3B <= 0.183) and (word_freq_you <= 0.385) and (word_freq_george > 0.005) then class: 0 (proba: 100.0%) | based on 17 samples",
"if (word_freq_1999 > 0.065) and (word_freq_all > 0.27) and (char_freq_%23 > 0.153) then class: 1 (proba: 100.0%) | based on 1 samples",
"if (char_freq_%21 <= 0.186) and (word_freq_mail <= 0.025) and (word_freq_hp > 0.13) then class: 0 (proba: 98.48%) | based on 47 samples",
"if (word_freq_data <= 0.235) and (word_freq_data > 0.015) and (word_freq_all <= 0.395) then class: 1 (proba: 100.0%) | based on 3 samples",
"if (word_freq_report <= 0.025) and (word_freq_will > 1.99) and (word_freq_receive > 0.455) then class: 0 (proba: 80.0%) | based on 3 samples",
"if (word_freq_order <= 0.085) and (char_freq_%21 <= 0.088) and (capital_run_length_longest > 23.0) then class: 1 (proba: 53.45%) | based on 40 samples",
"if (word_freq_address > 0.09) and (word_freq_labs <= 0.085) and (word_freq_all <= 0.195) then class: 1 (proba: 53.33%) | based on 18 samples",
"if (capital_run_length_longest <= 29.5) and (char_freq_%21 <= 0.142) and (word_freq_you > 1.81) then class: 0 (proba: 55.38%) | based on 41 samples",
"if (word_freq_remove > 0.01) and (char_freq_%21 <= 0.049) and (word_freq_pm <= 0.12) then class: 1 (proba: 82.35%) | based on 12 samples",
"if (word_freq_email > 0.055) and (capital_run_length_longest <= 15.5) and (word_freq_remove > 0.025) then class: 1 (proba: 77.78%) | based on 7 samples",
"if (word_freq_money > 0.03) and (word_freq_addresses <= 0.015) and (word_freq_labs <= 0.065) then class: 1 (proba: 88.14%) | based on 39 samples",
"if (word_freq_your <= 0.915) and (char_freq_%23 <= 0.01) and (word_freq_000 <= 0.145) then class: 0 (proba: 81.22%) | based on 145 samples",
"if (capital_run_length_longest > 18.5) and (word_freq_you > 1.06) and (word_freq_order > 0.04) then class: 1 (proba: 100.0%) | based on 26 samples",
"if (word_freq_order <= 0.025) and (word_freq_original <= 0.165) and (word_freq_credit <= 0.265) then class: 0 (proba: 56.66%) | based on 216 samples",
"if (word_freq_telnet <= 0.075) and (word_freq_free > 0.065) and (word_freq_free <= 0.35) then class: 1 (proba: 83.78%) | based on 21 samples"
],
"config": {
"n_trees": 15,
"max_depth": 3,
"max_features": 2,
"used_data": 0.1
}
}