-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
53 lines (53 loc) · 1.4 KB
/
config.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
ARGUMENTS = {
"basic_random_undersampling": {
"sampling_strategy": "auto",
"replacement": False,
"min_count": None,
},
"basic_knn_undersampling": {
"sampling_strategy": "auto",
"n_neighbors": 3,
"features_to_remove": None,
},
"knn_undersampling_with_associated_features": {
"sampling_strategy": "auto",
"n_neighbors": 3,
"features_to_remove": ["congress", "billType", "billNumber", "billText"],
},
"basic_near_miss_undersampling": {
"sampling_strategy": "auto",
"n_neighbors": 3,
"features_to_remove": None,
},
"near_miss_undersampling_with_associated_features": {
"sampling_strategy": "auto",
"n_neighbors": 3,
"features_to_remove": ["congress", "billType", "billNumber", "billText"],
},
"basic_random_oversampling": {
"sampling_strategy": "auto",
"max_count": 5,
},
"rus_ros": [
{
"sampling_strategy": "auto",
"replacement": False,
"min_count": 50,
},
{
"sampling_strategy": "auto",
"max_count": 5,
},
],
"ros_rus": [
{
"sampling_strategy": "auto",
"max_count": 5,
},
{
"sampling_strategy": "auto",
"replacement": False,
"min_count": 50,
},
],
}