added file containing model names and hyperaprams to run for all models inc FS

This commit is contained in:
Tanushree Tunstall 2022-05-24 09:14:41 +01:00
parent 9c07ad3ce8
commit 5d6dccfc09
6 changed files with 536 additions and 299 deletions

View file

@ -16,7 +16,6 @@ Created on Tue Mar 15 11:09:50 2022
cv = skf_cv
# LogisticRegression: Feature Selelction + GridSearch CV + Pipeline
###############################################################################
# Define estimator
estimator = LogisticRegression(**rs)

View file

@ -8,7 +8,7 @@ Created on Wed May 18 06:03:24 2022
#cv = rskf_cv
cv = skf_cv
# AdaBoostClassifier: Feature Selelction + GridSearch CV + Pipeline
# RandomForestClassifier: Feature Selelction + GridSearch CV + Pipeline
###############################################################################
# Define estimator
estimator = [RandomForestClassifier(**rs, **njobs, bootstrap = True, oob_score = True)](**rs)
@ -190,4 +190,4 @@ output_modelD
# json.dump(output_modelD, f)
# #
# with open(file, 'r') as f:
# data = json.load(f)
# data = json.load(f)