Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
grfrederic committed Mar 5, 2024
1 parent 116b268 commit 348f17f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bmi/estimators/neural/_mine_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def estimate_with_info(self, x: ArrayLike, y: ArrayLike) -> EstimateResult:
)

if self._params.batch_size > len(xs_train):
if self.verbose:
if self._verbose:
print("ERROR: Batch size larger than train dataset.")

return EstimateResult(
Expand Down
4 changes: 2 additions & 2 deletions workflows/benchmark/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def make_pretty(styler):
)
if converged_only:
styler.set_caption(
"Estimates smaller than 10% of the maximal estimate are excluded."
"Estimates smaller than 10% of the maximal estimate are excluded. "
"This can help neural estimators which sometimes fail to converge."
)
return styler
Expand Down Expand Up @@ -154,7 +154,7 @@ def make_pretty(styler):
cmap="gray",
)
styler.set_caption(
"Estimates higher than 10% of the maximal estimate are considered"
"Estimates higher than 10% of the maximal estimate are considered "
"converged. This table shows the percentage of converged estimates."
)
return styler
Expand Down

0 comments on commit 348f17f

Please sign in to comment.