added all classification algorithms params for gridsearch

This commit is contained in:
Tanushree Tunstall 2022-03-21 13:51:20 +00:00
parent d012542435
commit 0c4f1e1e5f
8 changed files with 503 additions and 110 deletions

View file

@ -6,16 +6,17 @@ Created on Fri Mar 11 11:15:50 2022
@author: tanu
"""
#%% variables
rs = {'random_state': 42}
# rs = {'random_state': 42}
skf_cv = StratifiedKFold(n_splits = 10
#, shuffle = False, random_state= None)
, shuffle = True,**rs)
# skf_cv = StratifiedKFold(n_splits = 10
# #, shuffle = False, random_state= None)
# , shuffle = True,**rs)
#%% MultClassPipeSKFLoop: function call()
t3_res = MultClassPipeSKFLoop(input_df = num_df_wtgt[numerical_FN]
, target = num_df_wtgt['mutation_class']
, var_type = 'numerical'
, skf_cv = skf_cv)
, sel_cv = skf_cv)
#, sel_cv = rskf_cv)
pp.pprint(t3_res)
#print(t3_res)
################################################################