-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from mmschlk/development
Add nSII and SII Regression Estimator
- Loading branch information
Showing
18 changed files
with
730 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[run] | ||
source = shapiq | ||
omit = *tests* *venv* | ||
omit = *tests* *venv* *docs* *examples* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ repos: | |
name: ruff | ||
language: python | ||
types: [python] | ||
entry: ruff | ||
entry: ruff --fix |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
"""This module contains the approximators to estimate the Shapley interaction values.""" | ||
from ._base import convert_nsii_into_one_dimension, transforms_sii_to_nsii # TODO add to tests | ||
from .permutation.sii import PermutationSamplingSII | ||
from .permutation.sti import PermutationSamplingSTI | ||
from .regression import RegressionFSI | ||
from .regression import RegressionSII, RegressionFSI | ||
from .shapiq import ShapIQ | ||
|
||
__all__ = [ | ||
"PermutationSamplingSII", | ||
"PermutationSamplingSTI", | ||
"RegressionFSI", | ||
"RegressionSII", | ||
"ShapIQ", | ||
"transforms_sii_to_nsii", | ||
"convert_nsii_into_one_dimension", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.