Skip to content

Reduce number inferences in dice random#127

Merged
amit-sharma merged 3 commits intomasterfrom
gaugup/REdiceNumInferencesDiceRandom
Apr 28, 2021
Merged

Reduce number inferences in dice random#127
amit-sharma merged 3 commits intomasterfrom
gaugup/REdiceNumInferencesDiceRandom

Conversation

@gaugup
Copy link
Copy Markdown
Collaborator

@gaugup gaugup commented Apr 25, 2021

It seems like major time while computing counterfactuals in DiceRandom class is spent in calling get_output(). Hence, reducing the number of calls to get_couput() will reduce the run time. The PR does one call to get_output() for the query point and caches the result so that it can be reused across the computation of counterfactuals for that point. This optimizes the classification scenario only for now.

gaugup added 2 commits April 25, 2021 10:39
Signed-off-by: gaugup <gaugup@microsoft.com>
Signed-off-by: gaugup <gaugup@microsoft.com>
@gaugup gaugup requested a review from amit-sharma April 25, 2021 23:11
@gaugup gaugup changed the title Redice number inferences in dice random Reduce number inferences in dice random Apr 26, 2021
@amit-sharma amit-sharma merged commit 509802d into master Apr 28, 2021
@amit-sharma amit-sharma deleted the gaugup/REdiceNumInferencesDiceRandom branch April 28, 2021 06:57
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