-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexperiment_procedures.py
61 lines (55 loc) · 2.61 KB
/
experiment_procedures.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
49
50
51
52
53
54
55
56
57
58
59
60
61
"""
This module contains the auxiliary procedure for running the experiments
"""
def resettv(samp=1):
"""
Setting the parameters for running the windowed experiment
:param samp: The samp value
:return: the parameters
"""
parameters = {"fonollosa": {"ini_value": int(5000/5),
"start_value": int(6400/5),
"step": int(1400/5),
"end_value": int(19000/5)+1,
},
"windtunnel": {"ini_value": int(20*samp),
"start_value": int(44*samp),
"step": int(23*samp),
"end_value": int(260*samp)},
"turbulent_gas_mixtures": {"ini_value": int(600/samp),
"start_value": int(837/samp),
"step": int(236/samp),
"end_value": int(2970/samp)},
"QWines-CsystemTR": {"ini_value": int(160/samp),
"start_value": int(474/samp),
"step": int(314/samp),
"end_value": int(3300/samp) + 1},
"QWinesEa-CsystemTR": {"ini_value": int(160/samp),
"start_value": int(474/samp),
"step": int(314/samp),
"end_value": int(3300/samp) + 1}
# Uncomment the following lines if you have been authorized to
# ,"coffee_dataset": {"ini_value": int(29/samp),
# "start_value": int(56/samp),
# "step": int(26/samp),
# "end_value": int(299/samp)}
}
return parameters
def get_dataset_names_and_indexes():
"""
Returns a dict object with the dataset names and a list of
integers as indexes for the each sub-dataset
"""
return {'fonollosa': [0, 1, 2, 3, 4],
'turbulent_gas_mixtures': [0],
'windtunnel': [0, 1, 2, 3, 4, 5]
# Un comment the following line
# if you have been authorized to use the coffee dataset
# ,'coffee_dataset': [0]
}
def get_wine_dataset_names_and_indexes():
"""
Returns a dict object with the dataset names and a list of
integers as indexes for the each sub-dataset
"""
return {"QWines-CsystemTR": [0], "QWinesEa-CsystemTR": [0]}