-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconst.py
More file actions
30 lines (28 loc) · 1 KB
/
const.py
File metadata and controls
30 lines (28 loc) · 1 KB
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
DEFAULT_MODEL_PARA = {
'step1_maxr': 1, # the max size of conditional set in step 1
'step3_maxr': 3, # the max size of conditional set in step 3
'num_f': 100, # the number of random fft features of conditional set
'num_f2': 10, # the number of random fft features of test variable
'indep_pvalue': 0.05, # the threshold for independence test
'alpha': 0.0,
'll_type': 'local', # 'local' or 'global', kow to estimate kde
'cv_split': 5, # number of cross validation (can take 0)
'downsampling': False, # weather need down sampling in MRCIT
'maxNumParents': 10, # number of max
'score_type': 'bic' # score type 'bic', 'll', 'aic'. ll: log-likelihood
}
# check for parameters in Lightgbm
DEFAULT_LGBM_PARA = {
'boosting': 'gbdt',
'num_leaves': 31,
'feature_fraction': 0.5,
'learning_rate': 0.05,
'num_boost_round': 200,
}
# check for parameters in Pygam
DEFAULT_GAM_PARA = {
"spline_order": 10,
"lam": 0.6,
"n_jobs": 1,
"use_edof": True,
}