Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
C
covid_analysis
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
COMPARA
covid_analysis
Commits
2460bf0c
Commit
2460bf0c
authored
Jun 27, 2024
by
Joaquin Torres
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated paths
parent
77c9440e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
explainability/fit_final_models.py
explainability/fit_final_models.py
+1
-1
No files found.
explainability/fit_final_models.py
View file @
2460bf0c
...
...
@@ -57,7 +57,7 @@ def read_training_data(attribute_names):
# --------------------------------------------------------------------------------------------------------
def
get_chosen_model
(
group_str
,
method_str
,
model_name
):
# Read sheet corresponding to group and method with tuned models and their hyperparameters
tuned_models_df
=
pd
.
read_excel
(
"../model_selection/output
_
hyperparam/hyperparamers.xlsx"
,
sheet_name
=
f
"{group_str}_{method_str}"
)
tuned_models_df
=
pd
.
read_excel
(
"../model_selection/output
/
hyperparam/hyperparamers.xlsx"
,
sheet_name
=
f
"{group_str}_{method_str}"
)
tuned_models_df
.
columns
=
[
'Model'
,
'Best Parameters'
]
# Define the mapping from model abbreviations to sklearn model classes
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment