minor changes to run combined_model
This commit is contained in:
parent
057c98c2f1
commit
350be30f19
3 changed files with 13 additions and 22 deletions
|
@ -90,10 +90,11 @@ scoring_fn = ({ 'mcc' : make_scorer(matthews_corrcoef)
|
|||
, 'roc_auc' : make_scorer(roc_auc_score)
|
||||
, 'jcc' : make_scorer(jaccard_score)
|
||||
})
|
||||
|
||||
|
||||
# for sel_cv
|
||||
#skf_cv = StratifiedKFold(n_splits = 10
|
||||
# #, shuffle = False, random_state= None)
|
||||
# , shuffle = True,**rs)
|
||||
# , shuffle = True, **rs)
|
||||
|
||||
#rskf_cv = RepeatedStratifiedKFold(n_splits = 10
|
||||
# , n_repeats = 3
|
||||
|
@ -188,15 +189,7 @@ def MultModelsCl_logo_skf(input_df
|
|||
#%% Func globals
|
||||
rs = {'random_state': random_state}
|
||||
njobs = {'n_jobs': n_jobs}
|
||||
|
||||
skf_cv = StratifiedKFold(n_splits = 10
|
||||
#, shuffle = False, random_state= None)
|
||||
, shuffle = True,**rs)
|
||||
|
||||
rskf_cv = RepeatedStratifiedKFold(n_splits = 10
|
||||
, n_repeats = 3
|
||||
, **rs)
|
||||
logo = LeaveOneGroupOut()
|
||||
|
||||
# select CV type:
|
||||
# if group == None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue