minor var name fix for MultClfs.py and ml_iterator
This commit is contained in:
parent
ef52fd7a94
commit
06f2ce97b6
2 changed files with 3 additions and 4 deletions
|
@ -144,10 +144,9 @@ scoreBT_mapD = {'bts_mcc' : 'MCC'
|
||||||
############################
|
############################
|
||||||
# Multiple Classification - Model Pipeline
|
# Multiple Classification - Model Pipeline
|
||||||
def MultModelsCl(input_df, target
|
def MultModelsCl(input_df, target
|
||||||
#, skf_cv
|
|
||||||
, sel_cv
|
, sel_cv
|
||||||
#, blind_test_df
|
, blind_test_df
|
||||||
#, blind_test_target
|
, blind_test_target
|
||||||
, tts_split_type
|
, tts_split_type
|
||||||
|
|
||||||
, resampling_type = 'none' # default
|
, resampling_type = 'none' # default
|
||||||
|
|
|
@ -90,7 +90,7 @@ for gene, drug in ml_gene_drugD.items():
|
||||||
for k, v in paramD.items():
|
for k, v in paramD.items():
|
||||||
scoresD = MultModelsCl(**paramD[k]
|
scoresD = MultModelsCl(**paramD[k]
|
||||||
, tts_split_type = split_type
|
, tts_split_type = split_type
|
||||||
, skf_cv = skf_cv
|
, sel_cv = skf_cv
|
||||||
, blind_test_df = tempD['X_bts']
|
, blind_test_df = tempD['X_bts']
|
||||||
, blind_test_target = tempD['y_bts']
|
, blind_test_target = tempD['y_bts']
|
||||||
, add_cm = True
|
, add_cm = True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue