Skip to content

Commit 953c1f9

Browse files
authored
Merge pull request #181 from gganapavarapu/master
format references and parameters
2 parents 89a0b6a + 80853f7 commit 953c1f9

File tree

7 files changed

+13
-11
lines changed

7 files changed

+13
-11
lines changed

aix360/algorithms/gce/gce.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def __init__(
3131
**kwargs,
3232
):
3333
"""GroupedCEExplainer initialization.
34+
3435
Args:
3536
model (Callable): model prediction (predict/predict_proba) function that
3637
results a real value like probability or regressed value.

aix360/algorithms/nncontrastive/nncontrastive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def __init__(
6060
classifier_bias_initializer: str = "zeros",
6161
):
6262
"""
63-
Constructor method, initializes the explainer
63+
NearestNeighborContrastiveExplainer initialization.
6464
6565
Args:
6666
model (Callable): Classification Model which will be used for contrastive

aix360/algorithms/tsice/tsice.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ class TSICEExplainer(TSLocalBBExplainer):
2323
derived features.
2424
2525
References:
26-
.. [##] Goldstein et al. 'Peeking Inside the Black Box: Visualizing Statistical
26+
.. [#0] `Goldstein et al. 'Peeking Inside the Black Box: Visualizing Statistical
2727
Learning with Plots of Individual Conditional Expectation'
28-
https://arxiv.org/abs/1309.6392
28+
<https://arxiv.org/abs/1309.6392>`_
2929
"""
3030

3131
def __init__(

aix360/algorithms/tslime/tslime.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ class TSLimeExplainer(TSLocalBBExplainer):
3030
The explanation weights produced by the TSLime explanation indicates model local sensitivity.
3131
3232
References:
33-
.. [##] Ribeiro et al. '"Why Should I Trust You?": Explaining the Predictions of Any Classifier'
34-
https://arxiv.org/abs/1602.04938
33+
.. [#0] `Ribeiro et al. '"Why Should I Trust You?": Explaining the Predictions of Any Classifier'
34+
<https://arxiv.org/abs/1602.04938>`_
35+
3536
"""
3637

3738
def __init__(

aix360/algorithms/tssaliency/gradient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ def mc_gradient_compute(
1111
Monte Carlo Gradient computation.
1212
1313
References:
14-
[Section 3] Sijia Liu et al. "Zeroth-Order Stochastic Variance Reduction for
15-
Nonconvex Optimization". https://arxiv.org/pdf/1906.00117.pdf
14+
.. [#0] `Sijia Liu et al. "Zeroth-Order Stochastic Variance Reduction for
15+
Nonconvex Optimization". <https://arxiv.org/pdf/1906.00117.pdf>`_
1616
"""
1717

1818
### 1- Sample Directions in the uniform ball

aix360/algorithms/tssaliency/tssaliency.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class TSSaliencyExplainer(TSLocalBBExplainer):
1919
temporal resolution.
2020
2121
References:
22-
.. [Section 3] Mukund Sundararajan et al. "Axiomatic Attribution for Deep Networks"
23-
https://arxiv.org/pdf/1703.01365.pdf
22+
.. [#0] `Mukund Sundararajan et al. "Axiomatic Attribution for Deep Networks"
23+
<https://arxiv.org/pdf/1703.01365.pdf>`_
2424
"""
2525

2626
def __init__(

aix360/algorithms/tsutils/tsperturbers/block_bootstrap_perturber.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ class BlockBootstrapPerturber(TSPerturber):
1717
and added to the signal (mean) between randomly selected blocks.
1818
1919
References:
20-
.. [#BB1] `Bühlmann, Peter. "Bootstraps for time series."
20+
.. [#0] `Bühlmann, Peter. "Bootstraps for time series."
2121
Statistical science (2002): 52-72.
22-
https://projecteuclid.org/journals/statistical-science/volume-17/issue-1/Bootstraps-for-Time-Series/10.1214/ss/1023798998.full`_
22+
<https://projecteuclid.org/journals/statistical-science/volume-17/issue-1/Bootstraps-for-Time-Series/10.1214/ss/1023798998.full>`_
2323
"""
2424

2525
def __init__(

0 commit comments

Comments
 (0)