Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Craigacp
Copy link
Member

Description

SparseModels which only had a single feature set (rather than one per output dimension) caused an NPE in LIMEExplanation.toString() and other places which tried to use the output of LIMEExplanation.getActiveFeatures().

Motivation

LIME should work with any SparseTrainer, and the explanations should not throw NPE anywhere.

Noticed when looking at #156.

Copy link
Member

@jhalexand jhalexand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense.

@jhalexand jhalexand merged commit 979c90d into main Jul 30, 2021
@jhalexand jhalexand deleted the lime-explanation-fix branch July 30, 2021 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants