added metadata output for running multiple models

This commit is contained in:
Tanushree Tunstall 2022-06-23 21:25:00 +01:00
parent 5dea35f97c
commit 4fe62c072b
7 changed files with 325 additions and 88 deletions

View file

@ -44,12 +44,6 @@ from ml_data_7030 import *
# TT run all ML clfs: baseline model
from MultModelsCl import MultModelsCl
############################################################################
print('\n#####################################################################\n'
, '\nRunning ML analysis: feature groups '
, '\nGene name:', gene
, '\nDrug name:', drug)
#==================
# Specify outdir
#==================
@ -101,7 +95,13 @@ scoreBT_mapD = {'bts_mcc' : 'MCC'
bts_size = len(X_bts)
yc2 = Counter(y_bts)
yc2_ratio = yc2[0]/yc2[1]
###############################################################################
print('\n#####################################################################\n'
, '\nRunning ML analysis: feature groups '
, '\nGene name:', gene
, '\nDrug name:', drug)
#%% Basic: No Oversampling
#================
# Baseline