-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
59 lines (59 loc) · 1.13 KB
/
config.yml
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
types:
[
"infj",
"infp",
"intj",
"intp",
"istj",
"istp",
"isfp",
"isfj",
"enfj",
"enfp",
"infj",
"infp",
"intj",
"intp",
"istj",
"istp",
"isfp",
"isfj",
"enfj",
"enfp",
"entj",
"entp",
"estj",
"estp",
"esfp",
"esfj",
]
my_stop_words: ["ni", "ti", "ne", "te", "se"]
valid_models: ["LogisticRegression", "RandomForest", "SVC"]
model_parameters:
tfidf:
sublinear_tf: True
min_df: 10
ngram_range: [1, 2]
LogisticRegression:
random_state: 0
solver: "lbfgs"
class_weight: Null
max_iter: 500
RandomForest:
n_estimators: 200
max_depth: 3
random_state: 0
SVC:
C: 1
gamma: 1
kernel: "rbf"
file_paths:
data: "data/mbti_1.csv"
pipeline:
LogisticRegression: "models/LogisticRegression.pkl"
RandomForest: "models/RandomForest.pkl"
SVC: "models/SVC.pkl"
accuracy:
LogisticRegression: "models/lr_accuracy.pkl"
RandomForest: "models/rf_accuracy.pkl"
SVC: "models/svc_accuracy.pkl"