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
af40f8b5
Commit
af40f8b5
authored
Jul 10, 2024
by
Joaquin Torres
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fit final models moved to model building
parent
75e3956d
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
2 additions
and
2 deletions
+2
-2
explainability/compute_shap_inter_vals.py
explainability/compute_shap_inter_vals.py
+1
-1
explainability/compute_shap_vals.py
explainability/compute_shap_vals.py
+1
-1
model_selection/fit_final_models.py
model_selection/fit_final_models.py
+0
-0
model_selection/output/fitted_models/post_ORIG_CW_RF.pkl
model_selection/output/fitted_models/post_ORIG_CW_RF.pkl
+0
-0
model_selection/output/fitted_models/post_ORIG_XGB.pkl
model_selection/output/fitted_models/post_ORIG_XGB.pkl
+0
-0
model_selection/output/fitted_models/post_OVER_XGB.pkl
model_selection/output/fitted_models/post_OVER_XGB.pkl
+0
-0
model_selection/output/fitted_models/post_UNDER_XGB.pkl
model_selection/output/fitted_models/post_UNDER_XGB.pkl
+0
-0
model_selection/output/fitted_models/pre_ORIG_CW_RF.pkl
model_selection/output/fitted_models/pre_ORIG_CW_RF.pkl
+0
-0
model_selection/output/fitted_models/pre_ORIG_XGB.pkl
model_selection/output/fitted_models/pre_ORIG_XGB.pkl
+0
-0
model_selection/output/fitted_models/pre_OVER_XGB.pkl
model_selection/output/fitted_models/pre_OVER_XGB.pkl
+0
-0
model_selection/output/fitted_models/pre_UNDER_XGB.pkl
model_selection/output/fitted_models/pre_UNDER_XGB.pkl
+0
-0
No files found.
explainability/compute_shap_inter_vals.py
View file @
af40f8b5
...
...
@@ -70,7 +70,7 @@ if __name__ == "__main__":
print
(
f
"{group}-{method_names[j]}"
)
method_name
=
method_names
[
j
]
model_name
=
model_choices
[
method_name
]
model_path
=
f
"./output/fitted_models/{group}_{method_names[j]}_{model_name}.pkl"
model_path
=
f
".
./model_selection
/output/fitted_models/{group}_{method_names[j]}_{model_name}.pkl"
# Load the fitted model from disk
with
open
(
model_path
,
'rb'
)
as
file
:
fitted_model
=
pickle
.
load
(
file
)
...
...
explainability/compute_shap_vals.py
View file @
af40f8b5
...
...
@@ -70,7 +70,7 @@ if __name__ == "__main__":
print
(
f
"{group}-{method_names[j]}"
)
method_name
=
method_names
[
j
]
model_name
=
model_choices
[
method_name
]
model_path
=
f
"./output/fitted_models/{group}_{method_names[j]}_{model_name}.pkl"
model_path
=
f
".
./model_selection
/output/fitted_models/{group}_{method_names[j]}_{model_name}.pkl"
# Load the fitted model from disk
with
open
(
model_path
,
'rb'
)
as
file
:
fitted_model
=
pickle
.
load
(
file
)
...
...
explainability
/fit_final_models.py
→
model_selection
/fit_final_models.py
View file @
af40f8b5
File moved
explainability
/output/fitted_models/post_ORIG_CW_RF.pkl
→
model_selection
/output/fitted_models/post_ORIG_CW_RF.pkl
View file @
af40f8b5
File moved
explainability
/output/fitted_models/post_ORIG_XGB.pkl
→
model_selection
/output/fitted_models/post_ORIG_XGB.pkl
View file @
af40f8b5
File moved
explainability
/output/fitted_models/post_OVER_XGB.pkl
→
model_selection
/output/fitted_models/post_OVER_XGB.pkl
View file @
af40f8b5
File moved
explainability
/output/fitted_models/post_UNDER_XGB.pkl
→
model_selection
/output/fitted_models/post_UNDER_XGB.pkl
View file @
af40f8b5
File moved
explainability
/output/fitted_models/pre_ORIG_CW_RF.pkl
→
model_selection
/output/fitted_models/pre_ORIG_CW_RF.pkl
View file @
af40f8b5
File moved
explainability
/output/fitted_models/pre_ORIG_XGB.pkl
→
model_selection
/output/fitted_models/pre_ORIG_XGB.pkl
View file @
af40f8b5
File moved
explainability
/output/fitted_models/pre_OVER_XGB.pkl
→
model_selection
/output/fitted_models/pre_OVER_XGB.pkl
View file @
af40f8b5
File moved
explainability
/output/fitted_models/pre_UNDER_XGB.pkl
→
model_selection
/output/fitted_models/pre_UNDER_XGB.pkl
View file @
af40f8b5
File moved
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