Skip to content

Commit fe47bbf

Browse files
authored
Minor NNPE polishing
1 parent 62b3a43 commit fe47bbf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bayesflow/augmentations/nnpe.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class NNPE:
66
spike-and-slab distribution to the training data as a mild form of data augmentation to robustify against noisy
77
real-world data (see [1, 2] for benchmarks). Adds the options of automatic noise scale determination and
88
dimensionwise noise application to the original implementation in [1] to provide more flexibility in dealing with
9-
unstandardized and heterogeneous data.
9+
unstandardized and heterogeneous data, respectively.
1010
1111
The spike-and-slab distribution consists of a mixture of a Normal distribution (spike) and Cauchy distribution
1212
(slab), which are applied based on a Bernoulli random variable with p=0.5.
@@ -77,7 +77,6 @@ def __init__(
7777
def __call__(self, data: np.ndarray, **kwargs) -> np.ndarray:
7878
"""
7979
Add spike‐and‐slab noise to `data` using automatic scale determination if not provided.
80-
See “Notes” section of the class docstring for details).
8180
8281
Parameters
8382
----------

0 commit comments

Comments
 (0)