-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfiguration.sample_sigwicomp2013.yaml
130 lines (108 loc) · 2.11 KB
/
configuration.sample_sigwicomp2013.yaml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
general:
split_count: 0
train_writer_count: 11
use_reference_samples: true
reference_sample_count: 12
classification_report_digits: 4
directory_template: "b{ct}-{earc}-{darc}-{epc}"
output_directory_template: "./models/{dir}"
logger:
log_format: "(%(asctime)s) %(name)s [%(levelname)s]: %(message)s"
log_file: "./models/{dir}/seq2seq.log"
log_level: "info"
export:
evaluation:
- "Precision"
- "Recall"
- "F1"
data:
reading:
writer_count: 31
gap: 0
genuine_sample_count: 42
forged_sample_count: 36
dataset_path: "./datasets/sigwicomp2013.npz"
reshaping:
features: 14
sampling_step: 5
window_radius: 0
window_step: 1
length_threshold: 10000
siamese:
mode: "train"
use_reference_samples: true
train:
batch_size: 128
epochs: 1000
verbose: 1
test:
probability_threshold: 0.51
accept_threshold: 7
compile_config:
loss: "binary_crossentropy"
optimizer:
name: "adam"
args: {}
metrics:
- "acc"
callbacks:
early_stopping:
monitor: "loss"
patience: 50
verbose: 1
architecture:
global: &siamese
activation: "relu"
dropout: 0.5
before:
0:
<<: *siamese
dropout: 0.0
units: 128
after:
0:
<<: *siamese
units: 128
activation: "sigmoid"
merge_mode: "subtract"
autoencoder:
mode: "train"
use_reference_samples: true
train:
batch_size: 128
epochs: 1000
verbose: 1
compile_config:
loss: "mape"
optimizer:
name: "adam"
args: {}
metrics:
- "mae"
- "mse"
callbacks:
early_stopping:
monitor: "loss"
patience: 10
verbose: 1
architecture:
global: &autoencoder
return_sequences: true
implementation: 2
activation: "relu"
dropout: 0.5
merge_mode: "concat"
encoder:
0:
<<: *autoencoder
go_backwards: true
dropout: 0.0
units: 64
decoder:
0:
<<: *autoencoder
dropout: 0.0
units: 64
output:
dropout: 0.0
cell_type: "LSTM"