-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
30 lines (26 loc) · 713 Bytes
/
Copy pathconstants.py
File metadata and controls
30 lines (26 loc) · 713 Bytes
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
legitimate_class = "0"
malware_class = "1"
classes = [legitimate_class, malware_class]
input_folder_name_converter = "binaries/"
output_folder_name_converter = "waves/"
segment_folder = "segmented_audio"
freq = 44100
channels = 1
sec_split = 0.8
seed = 42
n_ceps = 14
overlap = 0.3
n_service_for_validation = 10
max_0_perc_allowed=0.5
output_file = "dataset_5.csv"
skipped_file = "skipped.csv"
y_name = "label"
path_name = "path"
output_train_fn = "train_result.csv"
output_test_fn = "test_result.csv"
output_validation_fn = "validation_result.csv"
train_set_fn = "train_set.csv"
test_set_fn = "test_set.csv"
validation_set_fn = "validation_set.csv"
summary_fn = "summary.csv"
threshold_fn = "thresholds.json"