Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
robcaulk committed Jun 7, 2023
1 parent 446382c commit 86c7d5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion datasieve/transforms/noise.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class Noise(BaseTransform):
"""
Add noise to the train features only. Anything that passes through `transform` remains
untouched. This makes this step unique in the sense that `fit_transform()` is the
untouched. This makes this step unique in the sense that `fit_transform()` is the
only way to apply noise to the train features.
"""
def __init__(self, mu=0, sigma=0.01, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "datasieve"
version = "0.1.2"
version = "0.1.3"
description = "This package implements a flexible data pipeline to help organize row removal (e.g. outlier removal) and feature modification (e.g. PCA)"
authors = ['Robert Caulk']
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ def test_noise(dummy_array_without_nans):
Xtest, _, _, _ = noise.transform(dummy_array_without_nans)

assert np.sum(Xnoisey - dummy_array_without_nans) != 0.0
assert np.sum(Xtest - dummy_array_without_nans) == 0.0
assert np.sum(Xtest - dummy_array_without_nans) == 0.0

0 comments on commit 86c7d5d

Please sign in to comment.