adding formatting to get all output from ML for feature grpups starting with genomics

This commit is contained in:
Tanushree Tunstall 2022-06-21 14:08:12 +01:00
parent cadaed2ba7
commit 7b378ca6f3
4 changed files with 98 additions and 54 deletions

View file

@ -578,9 +578,15 @@ X_gn_Fcat = ['drtype_mode_labels' # beware then you can't use it to predict [US
X_genomicFN = X_gn_mafor_Fnum + X_gn_linegae_Fnum + X_gn_Fcat
###############################################################################
# Feature groups further collaps:
#========================
# FG6 collapsed: Structural : Atability + Affinity + ResidueProp
#========================
X_structural_FN = X_stability_FN + X_affinityFN + X_resprop_FN
###############################################################################
#========================
# BUILDING all features
#========================
all_featuresN = X_evolFN + X_structural_FN + X_genomicFN
###############################################################################
@ -662,7 +668,7 @@ if len(X.columns) == len(X_evolFN) + len(X_stability_FN) + len(X_affinityFN) + l
, '\n\nTotal no. of affinity features:' , len(X_affinityFN)
, '\n--------Common affinity cols:' , len(common_affinity_Fnum)
, '\n--------Gene specific affinity cols:' , len(gene_affinity_colnames)
, '\n--------Gene specific affinity cols:' , len(gene_affinity_colnames)
, '\n\nTotal no. of residue level features:', len(X_resprop_FN)
, '\n--------AA index cols:' , len(X_aaindex_Fnum)