Skip to content

Commit

Permalink
use float instead of int for default values
Browse files Browse the repository at this point in the history
  • Loading branch information
dasmy committed May 25, 2021
1 parent bfab65a commit ebe6d53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tnmf/TransformInvariantNMF.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def fit(
V: np.ndarray,
update_H: bool = True,
update_W: bool = True,
sparsity_H: float = 0,
sparsity_H: float = 0.,
inhibition_strength: float = 0.,
progress_callback: Callable[['TransformInvariantNMF', int], bool] = None,
):
Expand All @@ -164,7 +164,7 @@ def partial_fit(
V: np.ndarray,
update_H: bool = True,
update_W: bool = True,
sparsity_H: float = 0,
sparsity_H: float = 0.,
inhibition_strength: float = 0.,
progress_callback: Callable[['TransformInvariantNMF', int], bool] = None,
):
Expand Down

0 comments on commit ebe6d53

Please sign in to comment.