forked from eliteservice1002/mlmodels
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hyper_titanic_randomForest.json
executable file
·64 lines (43 loc) · 1.5 KB
/
hyper_titanic_randomForest.json
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
62
63
64
{
"test": {
"hypermodel_pars" : {
"engine_pars" : {"engine": "optuna", "ntrials":1, "metric_target":"roc_auc_score", "method": "normal"}
,"n_estimators": {"type": "int", "init": 2, "range" :[5, 50] }
,"max_depth": {"type": "int", "init": 6, "range" :[6, 6] }
},
"model_pars": {
"model_name": "RandomForestClassifier",
"warm_start": false,
"verbose": 1,
"random_state": 0,
"oob_score": false,
"n_jobs": null,
"n_estimators": 10,
"min_weight_fraction_leaf": 0.0,
"min_samples_split": 2,
"min_samples_leaf": 1,
"min_impurity_split": null,
"min_impurity_decrease": 0.0,
"max_leaf_nodes": null,
"max_features": "auto",
"max_depth": 4,
"criterion": "gini",
"class_weight": null,
"bootstrap": true
},
"data_pars": {
"mode": "train",
"path": "../mlmodels/dataset/tabular/titanic_train_preprocessed.csv",
"data_type" : "pandas",
"train":"True" ,
"colX":["Pclass", "Sex", "Age", "SibSp", "Parch", "Fare", "Embarked_Q", "Embarked_S", "Title"],
"coly": "Survived"
},
"compute_pars" : { "return_pred_not": 0},
"out_pars": { "save_path": "../ztest/temp", "log_path": "../ztest/temp"}
},
"prod": {
"model_pars": {},
"data_pars": {}
}
}