saving work for yesterday where uq runs were repeated
This commit is contained in:
parent
efeaf52cde
commit
4ab99dcbd2
11 changed files with 10993 additions and 10660 deletions
|
@ -552,18 +552,18 @@ def setvars(gene,drug):
|
|||
|
||||
#=================================================
|
||||
# Training and BLIND test set: imputed vs actual
|
||||
# BUT in REVERSE i.e
|
||||
# BUT in REVERSE i.e.
|
||||
# dst with actual values : blind test
|
||||
# dst with imputed values : training set
|
||||
#==================================================
|
||||
my_df_ml[drug].isna().sum() #'na' ones are now training set
|
||||
|
||||
blind_test_df = my_df_ml[my_df_ml[drug].notna()]
|
||||
blind_test_df.shape
|
||||
|
||||
training_df = my_df_ml[my_df_ml[drug].isna()]
|
||||
training_df.shape
|
||||
|
||||
blind_test_df = my_df_ml[my_df_ml[drug].notna()]
|
||||
blind_test_df.shape
|
||||
|
||||
# Target 1: dst_mode
|
||||
training_df[drug].value_counts()
|
||||
training_df['dst_mode'].value_counts()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue