-
Notifications
You must be signed in to change notification settings - Fork 492
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
n_perturb_samples on captum.metrics.sensitivity_max #549
Comments
Thank you for bringing this up, @gkakogeorgiou ! |
Yeah, this is a good point! We should avoid argument name overlaps with metrics. Could we possibly just use |
|
Summary: As also mentioned in #549, we had conflicting argument names in the API. In this PR we deprecate and rename those argument names. More specifically: 1. `n_samples` in NoiseTunnel is being renamed to `nt_samples` 2. `n_perturbed_samples` in Lime and KernelSHAP are being renamed to `n_samples` in order to remain consistent with Shapely Values (Sampling) Pull Request resolved: #558 Reviewed By: edward-io Differential Revision: D25514136 Pulled By: NarineK fbshipit-source-id: 142c974da2a8430be234fe4ffc79e36faf2bf8d9
This got resolved with #558 , @gkakogeorgiou . |
Summary: As also mentioned in #549, we had conflicting argument names in the API. In this PR we deprecate and rename those argument names. More specifically: 1. `n_samples` in NoiseTunnel is being renamed to `nt_samples` 2. `n_perturbed_samples` in Lime and KernelSHAP are being renamed to `n_samples` in order to remain consistent with Shapely Values (Sampling) Pull Request resolved: #558 Reviewed By: edward-io Differential Revision: D25514136 Pulled By: NarineK fbshipit-source-id: 142c974da2a8430be234fe4ffc79e36faf2bf8d9
The n_perturb_samples variable is also used in Lime definition. This means that you can not use n_perturb_samples to **kwargs on metrics.sensitivity_max, in case you want to use Sensitivity algorithm on Lime for specific n_perturb_samples. I propose to change the name of n_perturb_samples on sensitivity_max algorithm.
The text was updated successfully, but these errors were encountered: