added Mult_clfs_logo and Mult_clsf.py with consistency

This commit is contained in:
Tanushree Tunstall 2022-07-10 12:32:52 +01:00
parent 06f2ce97b6
commit de5c1270be
5 changed files with 201 additions and 115 deletions

View file

@ -93,6 +93,7 @@ for gene, drug in ml_gene_drugD.items():
, sel_cv = skf_cv
, blind_test_df = tempD['X_bts']
, blind_test_target = tempD['y_bts']
, scale_numeric = ['min_max']
, add_cm = True
, add_yn = True
, return_formatted_output = True)
@ -103,5 +104,5 @@ for gene, drug in ml_gene_drugD.items():
out_wf= pd.concat(mmDD, ignore_index = True)
out_wf_f = out_wf.sort_values(by = ['resampling', 'source_data', 'MCC'], ascending = [True, True, False], inplace = False)
out_wf_f.to_csv(('/home/tanu/git/Data/ml_combined/genes/'+ out_filename), index = False)
out_wf_f.to_csv(out_filename, index = False)