-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstudy_conf_labels.py
49 lines (44 loc) · 1.41 KB
/
study_conf_labels.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
METRICS_LABELS = {
'precision': 'Precision',
'recall': 'Recall',
'fmeasure': 'F-measure',
'auc': 'AUC',
'mcc': 'MCC',
}
MODELS_LABELS = {
'DummyClassifier(strategy=\'most_frequent\')': 'BM',
'DummyClassifier(strategy=\'prior\')': 'BP',
'DummyClassifier(strategy=\'stratified\')': 'BS',
'DummyClassifier(strategy=\'uniform\')': 'BU',
'AdaBoostClassifier()': 'AB',
'DecisionTreeClassifier()': 'DT',
'GaussianNB()': 'NB',
'GradientBoostingClassifier()': 'GB',
'KNeighborsClassifier()': 'KNN',
'LinearDiscriminantAnalysis()': 'LDA',
'LogisticRegression()': 'LR',
'MLPClassifier()': 'NN',
'RandomForestClassifier()': 'RF',
'SVC(kernel=\'linear\')': 'LSVM',
'SVC(kernel=\'rbf\')': 'RSVM',
}
SELECTORS_LABELS = {
'None': 'None',
'AutoSpearmanSelector()': 'AutoSpearman',
}
SAMPLERS_LABELS = {
'None': 'None',
'SMOTE()': 'SMOTE',
}
PREPROCESSING_GROUPS_LABELS = {
'None/None': f'{SELECTORS_LABELS["None"]}/{SAMPLERS_LABELS["None"]}',
'None/SMOTE()': f'{SELECTORS_LABELS["None"]}/{SAMPLERS_LABELS["SMOTE()"]}',
'AutoSpearmanSelector()/None': f'{SELECTORS_LABELS["AutoSpearmanSelector()"]}/{SAMPLERS_LABELS["None"]}',
'AutoSpearmanSelector()/SMOTE()': f'{SELECTORS_LABELS["AutoSpearmanSelector()"]}/{SAMPLERS_LABELS["SMOTE()"]}',
}
MAGNITUDE_LABELS = {
'negligible': 'N',
'small': 'S',
'medium': 'M',
'large': 'L',
}