Skip to content
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

Support y_pred as pandas DataFrame for surrogate model predictions #373

Conversation

gaugup
Copy link
Collaborator

@gaugup gaugup commented Feb 22, 2021

Seems like if y_pred is pandas dataframe, then slicing the teacher model predictions has issues in MimicExplainer. Handling this scenario by using iloc for slicing.

Signed-off-by: Gaurav Gupta gaugup@microsoft.com

Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
python/interpret_community/mimic/model_distill.py Outdated Show resolved Hide resolved
test/models.py Show resolved Hide resolved
test/test_mimic_explainer.py Outdated Show resolved Hide resolved
test/test_mimic_explainer.py Outdated Show resolved Hide resolved
python/interpret_community/common/model_wrapper.py Outdated Show resolved Hide resolved
python/interpret_community/common/model_wrapper.py Outdated Show resolved Hide resolved
python/interpret_community/common/model_wrapper.py Outdated Show resolved Hide resolved
python/interpret_community/common/model_wrapper.py Outdated Show resolved Hide resolved
python/interpret_community/mimic/model_distill.py Outdated Show resolved Hide resolved
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
Signed-off-by: Gaurav Gupta <gaugup@microsoft.com>
@gaugup gaugup merged commit c0e89f5 into interpretml:master Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants