Datasets:
Upload 2 files
Browse files- spambase.data +1 -1
- spambase.py +6 -6
spambase.data
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
word_freq_make,word_freq_address,word_freq_all,word_freq_3d,word_freq_our,word_freq_over,word_freq_remove,word_freq_internet,word_freq_order,word_freq_mail,word_freq_receive,word_freq_will,word_freq_people,word_freq_report,word_freq_addresses,word_freq_free,word_freq_business,word_freq_email,word_freq_you,word_freq_credit,word_freq_your,word_freq_font,word_freq_000,word_freq_money,word_freq_hp,word_freq_hpl,word_freq_george,word_freq_650,word_freq_lab,word_freq_labs,word_freq_telnet,word_freq_857,word_freq_data,word_freq_415,word_freq_85,word_freq_technology,word_freq_1999,word_freq_parts,word_freq_pm,word_freq_direct,word_freq_cs,word_freq_meeting,word_freq_original,word_freq_project,word_freq_re,word_freq_edu,word_freq_table,word_freq_conference,char_freq_
|
2 |
0,0.64,0.64,0,0.32,0,0,0,0,0,0,0.64,0,0,0,0.32,0,1.29,1.93,0,0.96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.778,0,0,3.756,61,278,1
|
3 |
0.21,0.28,0.5,0,0.14,0.28,0.21,0.07,0,0.94,0.21,0.79,0.65,0.21,0.14,0.14,0.07,0.28,3.47,0,1.59,0,0.43,0.43,0,0,0,0,0,0,0,0,0,0,0,0,0.07,0,0,0,0,0,0,0,0,0,0,0,0,0.132,0,0.372,0.18,0.048,5.114,101,1028,1
|
4 |
0.06,0,0.71,0,1.23,0.19,0.19,0.12,0.64,0.25,0.38,0.45,0.12,0,1.75,0.06,0.06,1.03,1.36,0.32,0.51,0,1.16,0.06,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.06,0,0,0.12,0,0.06,0.06,0,0,0.01,0.143,0,0.276,0.184,0.01,9.821,485,2259,1
|
|
|
1 |
+
word_freq_make,word_freq_address,word_freq_all,word_freq_3d,word_freq_our,word_freq_over,word_freq_remove,word_freq_internet,word_freq_order,word_freq_mail,word_freq_receive,word_freq_will,word_freq_people,word_freq_report,word_freq_addresses,word_freq_free,word_freq_business,word_freq_email,word_freq_you,word_freq_credit,word_freq_your,word_freq_font,word_freq_000,word_freq_money,word_freq_hp,word_freq_hpl,word_freq_george,word_freq_650,word_freq_lab,word_freq_labs,word_freq_telnet,word_freq_857,word_freq_data,word_freq_415,word_freq_85,word_freq_technology,word_freq_1999,word_freq_parts,word_freq_pm,word_freq_direct,word_freq_cs,word_freq_meeting,word_freq_original,word_freq_project,word_freq_re,word_freq_edu,word_freq_table,word_freq_conference,char_freq_;,char_freq_(,char_freq_[,char_freq_!,char_freq_$,char_freq_#,capital_run_length_average,capital_run_length_longest,capital_run_length_total,is_spam
|
2 |
0,0.64,0.64,0,0.32,0,0,0,0,0,0,0.64,0,0,0,0.32,0,1.29,1.93,0,0.96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.778,0,0,3.756,61,278,1
|
3 |
0.21,0.28,0.5,0,0.14,0.28,0.21,0.07,0,0.94,0.21,0.79,0.65,0.21,0.14,0.14,0.07,0.28,3.47,0,1.59,0,0.43,0.43,0,0,0,0,0,0,0,0,0,0,0,0,0.07,0,0,0,0,0,0,0,0,0,0,0,0,0.132,0,0.372,0.18,0.048,5.114,101,1028,1
|
4 |
0.06,0,0.71,0,1.23,0.19,0.19,0.12,0.64,0.25,0.38,0.45,0.12,0,1.75,0.06,0.06,1.03,1.36,0.32,0.51,0,1.16,0.06,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.06,0,0,0.12,0,0.06,0.06,0,0,0.01,0.143,0,0.276,0.184,0.01,9.821,485,2259,1
|
spambase.py
CHANGED
@@ -75,12 +75,12 @@ features_types_per_config = {
|
|
75 |
"word_freq_edu": datasets.Value("float64"),
|
76 |
"word_freq_table": datasets.Value("float64"),
|
77 |
"word_freq_conference": datasets.Value("float64"),
|
78 |
-
"char_freq_": datasets.Value("float64"),
|
79 |
-
"char_freq_": datasets.Value("float64"),
|
80 |
-
"char_freq_": datasets.Value("float64"),
|
81 |
-
"char_freq_": datasets.Value("float64"),
|
82 |
-
"char_freq_": datasets.Value("float64"),
|
83 |
-
"char_freq_": datasets.Value("float64"),
|
84 |
"capital_run_length_average": datasets.Value("float64"),
|
85 |
"capital_run_length_longest": datasets.Value("float64"),
|
86 |
"capital_run_length_total": datasets.Value("float64"),
|
|
|
75 |
"word_freq_edu": datasets.Value("float64"),
|
76 |
"word_freq_table": datasets.Value("float64"),
|
77 |
"word_freq_conference": datasets.Value("float64"),
|
78 |
+
"char_freq_;": datasets.Value("float64"),
|
79 |
+
"char_freq_(": datasets.Value("float64"),
|
80 |
+
"char_freq_[": datasets.Value("float64"),
|
81 |
+
"char_freq_!": datasets.Value("float64"),
|
82 |
+
"char_freq_$": datasets.Value("float64"),
|
83 |
+
"char_freq_#": datasets.Value("float64"),
|
84 |
"capital_run_length_average": datasets.Value("float64"),
|
85 |
"capital_run_length_longest": datasets.Value("float64"),
|
86 |
"capital_run_length_total": datasets.Value("float64"),
|