Skip to content

Decoupling Lorax from Triage Specific config #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 81 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
9b1e8ca
renamed, will be reversed. added a new init and exp example
kasunamare Jan 22, 2020
2702656
renamed lorax file
kasunamare Jan 22, 2020
6e3c128
vscode
kasunamare Jan 22, 2020
633ed10
revereted the explain_example function name
kasunamare Jan 22, 2020
9392929
file for testing new lorax
kasunamare Jan 22, 2020
db9be54
tested exp._exam._new initial
kasunamare Jan 23, 2020
edae5ff
creates a contribution DF for a sample
kasunamare Jan 23, 2020
73c406c
notebooks
kasunamare Jan 24, 2020
fe41d25
combined index and TODOs
kasunamare Jan 24, 2020
3562138
scarpcode function.
kasunamare Jan 24, 2020
0822c68
can generate descriptive and indiv sample explanations
kasunamare Jan 24, 2020
4496684
tested the new explain examlpe
kasunamare Jan 24, 2020
913259a
returning the contribution df
kasunamare Jan 24, 2020
2e3d6d9
moved the drop_col removal, and changed drop_col list creation
kasunamare Jan 24, 2020
c61f6da
setting the id_col as the index
kasunamare Jan 24, 2020
9ff371f
changed the column names
kasunamare Jan 24, 2020
a9755d7
replicated Kits initial test for the new explain example
kasunamare Jan 24, 2020
7d1aa62
comment
kasunamare Jan 24, 2020
a56b740
sample is a series
kasunamare Jan 24, 2020
67b86d1
tested, dependence on special columns and inputting the example as a …
kasunamare Jan 24, 2020
dfe50dd
sample has to be a np.array
kasunamare Jan 24, 2020
a909f1f
tested np.array sample
kasunamare Jan 24, 2020
690bec6
changed the input configuration conditions
kasunamare Jan 24, 2020
51652b2
added the graph command to descriptive
kasunamare Jan 24, 2020
cbcffb4
fixed the plot errors and added a note
kasunamare Jan 24, 2020
ec27c39
tested plot
kasunamare Jan 24, 2020
771f87b
renamed to original
kasunamare Jan 27, 2020
17b3bf6
reverted the package name
kasunamare Jan 28, 2020
e9fe8a6
feature names for explainer
kasunamare Jan 28, 2020
b96c170
sending a series to explain example
kasunamare Jan 29, 2020
42ceed1
fixed the prediction label issue
kasunamare Feb 12, 2020
8dd1c99
tested the prediction label vs feature importance sign
kasunamare Feb 12, 2020
d46aabb
removed a comment
kasunamare Feb 12, 2020
87a510b
comment
kasunamare Feb 12, 2020
a94886f
the model info dictionary
kasunamare Feb 13, 2020
7f7d158
added the overall feature importance stuff from the olf method
kasunamare Feb 13, 2020
aefa0c0
PEP8
kasunamare Feb 13, 2020
7fdd7cd
function to load a test_mat and calculate the feature stats once
kasunamare Feb 19, 2020
a051ce5
tested whether the code broke
kasunamare Feb 19, 2020
1efa5b8
moved the drop cols handling to load dataset
kasunamare Feb 20, 2020
1cfd886
tested descriptive explanations. Noticed error in contrib_df_creation
kasunamare Feb 20, 2020
e7a01cf
removed X_test dependency and added capability to send a sample to co…
kasunamare Feb 20, 2020
d4d9f24
removed note
kasunamare Feb 20, 2020
c0ffa3e
linting
kasunamare Feb 20, 2020
e42b7be
feature stats takes a dataframe as argument
kasunamare Feb 20, 2020
cc385d7
tested the new contrib_df
kasunamare Feb 20, 2020
5b1c0c7
testing the new data loader
kasunamare Feb 20, 2020
85ceeaf
made the feature stats public
kasunamare Feb 20, 2020
7d5c6d5
tested feature stats and added next test descs
kasunamare Feb 20, 2020
b41fdca
fixed error
kasunamare Feb 20, 2020
58d03b2
moved the doc strig
kasunamare Feb 24, 2020
44a090e
Kits TODO from the old method
kasunamare Feb 24, 2020
3db1d2a
removed the num_features check
kasunamare Feb 24, 2020
7569b42
removed the old explain instance method and renamed the new_method
kasunamare Feb 24, 2020
80e6c91
fixed the new explanation method to consider the pre-loaded dataset
kasunamare Feb 24, 2020
4e5f471
reordered the arguments to reflect the correlations
kasunamare Feb 24, 2020
efd15e7
tested the outputs from new and old
kasunamare Feb 24, 2020
2e79a47
mergine with latest lorax
kasunamare Feb 25, 2020
19806a7
mergerd the old and the new functions
kasunamare Feb 25, 2020
6ca0446
fixed error and created a bogus categorical column
kasunamare Feb 25, 2020
da6e4d4
added the set name patterns
kasunamare Feb 25, 2020
d3edece
added method to test pattern features
kasunamare Feb 25, 2020
9cbdb58
added the old explain method
kasunamare Feb 25, 2020
38d06b6
adapted the old explaner contrib_df
kasunamare Feb 26, 2020
89535b9
tests to compare old and new
kasunamare Feb 26, 2020
ba251c9
docstring
kasunamare Feb 26, 2020
b4d18f4
docstring of the class
kasunamare Feb 26, 2020
586a518
doc string
kasunamare Feb 26, 2020
d80652c
comments
kasunamare Feb 26, 2020
3218798
error handling for date-col and column names
kasunamare Feb 27, 2020
87cd208
updated the feature contribution and aggregated_dict tests to the new…
kasunamare Feb 27, 2020
4cccbd4
handled the intercept in the data sample
kasunamare Feb 27, 2020
117a261
adaptaed all tests for the new template
kasunamare Feb 27, 2020
216af40
PEP8
Feb 27, 2020
436c429
sample explanation patterns
Feb 27, 2020
dc80796
PEP8
Feb 27, 2020
92b95cc
pep8
Feb 27, 2020
7465461
pep8
Feb 27, 2020
c2125c0
pep8
Feb 27, 2020
9a75118
fixed error
kasunamare Feb 27, 2020
bac3481
rounding importances to 5 points
kasunamare Feb 27, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ docs/_build
# Virtualenvs
env/
venv/

# VS code
.vscode

# Notebooks
notebooks/**
Loading