-
Notifications
You must be signed in to change notification settings - Fork 0
/
presets.py
48 lines (46 loc) · 1.24 KB
/
presets.py
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
import src.functions.data as data
import src.functions.cost as cost
import src.functions.activation as activation
import src.functions.optimizer as optimizer
mnist = {
'cfunc': data.mnist,
'dimensions': [170],
'hidden_activation': activation.relu,
'output_activation': activation.softmax,
'cost_func': cost.mse,
'lrate': 0.001,
'initial_weight_range': [-0.1, 0.1],
'optimizer': optimizer.adam,
'case_fraction': 1.0,
'val_frac': 0.1,
'val_interval': 100,
'test_frac': 0.1,
'mb_size': 100,
'map_batch_size': 10,
'steps': 200,
'map_layers': [0],
'map_dendro': [0],
'display_weights': [0],
'display_biases': [0]
}
# autoencoder = {
# 'cfunc': data.autoencoder,
# 'dimensions': [3],
# 'hidden_activation': activation.relu,
# 'output_activation': activation.softmax,
# 'cost_func': cost.mse,
# 'lrate': 0.001,
# 'initial_weight_range': [-0.1, 0.1],
# 'optimizer': optimizer.adam,
# 'case_fraction': 1.0,
# 'val_frac': 0.1,
# 'val_interval': 100,
# 'test_frac': 0.1,
# 'mb_size': 100,
# 'map_batch_size': 0,
# 'steps': 10000,
# 'map_layers': [],
# 'map_dendro': [],
# 'display_weights': [],
# 'display_biases': []
# }