saving work

This commit is contained in:
Tanushree Tunstall 2022-07-29 00:12:43 +01:00
parent 1695e90b42
commit e55906d2c7
3 changed files with 11 additions and 8 deletions

View file

@ -139,9 +139,9 @@ def CMLogoSkf(cm_input_df
# else:
# file_suffix = file_suffix
outFile = output_dir + str(n_tr_genes+1) + "genes_" + tts_split_type + '_' + file_suffix + ".csv"
#outFile = output_dir + str(n_tr_genes+1) + "genes_" + tts_split_type + '_' + file_suffix + ".csv"
print(outFile)
#print(outFile)
#-------
# training
@ -175,6 +175,7 @@ def CMLogoSkf(cm_input_df
, '\nTEST Target dim:' , cm_bts_y.shape)
print("Running Multiple models on LOGO with SKF")
#%%:Running Multiple models on LOGO with SKF
# cD3_v2 = MultModelsCl_logo_skf(input_df = cm_X # two func were identical excpet for name
cD3_v2 = MultModelsCl(input_df = cm_X
@ -203,11 +204,11 @@ def CMLogoSkf(cm_input_df
#===============
# Complete Data
#===============
CMLogoSkf(cm_input_df = combined_df,file_suffix = "complete")
CMLogoSkf(cm_input_df = combined_df, std_gene_omit=['alr'], file_suffix = "complete")
#CMLogoSkf(cm_input_df = combined_df,file_suffix = "complete")
#CMLogoSkf(cm_input_df = combined_df, std_gene_omit=['alr'], file_suffix = "complete")
#===============
# Actual Data
#===============
CMLogoSkf(cm_input_df = combined_df_actual, file_suffix = "actual")
CMLogoSkf(cm_input_df = combined_df_actual, std_gene_omit=['alr'], file_suffix = "actual")
#CMLogoSkf(cm_input_df = combined_df_actual, file_suffix = "actual")
#CMLogoSkf(cm_input_df = combined_df_actual, std_gene_omit=['alr'], file_suffix = "actual")