-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.cfg
48 lines (34 loc) · 1.54 KB
/
settings.cfg
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
[settings]
; <integer [0-1]> If 1 the previous results will be deleted
clear = 1
; <integer or None> Set random seed.
seed = 2021
; <integer> If the number is 0, it will use all the CPUs.
cpu = 1
; ------------------------------
[dataset]
; <string> Name of the file inserted in the "dataset" folder.
fname = UISS-COVID19_dataset.csv
; <string> It indicates the separator of the dataset.
separator = ,
; <integer> It indicates the number of rows to skip in the dataset during loading.
skiprows = 0
; ------------------------------
[regression]
; <integer [0-1]> If it is 1, the regression analysis will be started.
enable = 1
; <string> Represents the name of the column(s) used as the dependent variable during the linear regression.
; if multiple columns are selected, they must be separated by commas. (e.g.: col1,col2,...,coln).
y = Ag_mean,TC_mean
; <dict> Represents resampling through RepeatedK-Fold.
; It is possible to set the minimum/maximum split, the number of repetitions and the metric to be used.
resampling = {'min_split': 2, 'max_split': 5, 'n_repeats': 4, 'scoring': 'r2'}
; ------------------------------
[classification]
; <integer [0-1]> If it is 1, classification will be initiated.
enable = 0
; <string> Represents the name of the column used during classification.
y = <column_name>
; <dict> Represents resampling through RepeatedStratifiedK-Fold.
; It is possible to set the minimum/maximum split, the number of repetitions and the metric to be used.
resampling = {'min_split': 2, 'max_split': 4, 'n_repeats': 3, 'scoring': 'accuracy'}