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
e541d5bf
Commit
e541d5bf
authored
Jun 07, 2024
by
Joaquin Torres
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attribute names now working
parent
9d601f43
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
attributes.npy
attributes.npy
+0
-0
explicability/shap_vals.py
explicability/shap_vals.py
+1
-2
No files found.
attributes.npy
deleted
100644 → 0
View file @
9d601f43
File deleted
explicability/shap_vals.py
View file @
e541d5bf
...
...
@@ -136,8 +136,7 @@ if __name__ == "__main__":
"UNDER"
:
"XGB"
}
# Retrieve attribute names in order
df
=
pd
.
read_csv
(
"../gen_train_data/data/input/pre_dataset.csv"
)
attribute_names
=
list
(
df
.
columns
.
values
)
attribute_names
=
list
(
np
.
load
(
'../gen_train_data/data/output/attributes.npy'
,
allow_pickle
=
True
))
# --------------------------------------------------------------------------------------------------------
# Shap value generation
...
...
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