Skip to content

Commit

Permalink
style(pre-commit.ci): auto fixes [...]
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 27, 2024
1 parent 5ac545c commit ade59c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/careamics/lvae_training/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ def get_first_index(bin_count, quantile):

class Calibration:
"""Calibrate the uncertainty computed over samples from LVAE model.
Calibration is done by learning a scalar that maps the pixel-wise standard
deviation of the the predicted samples into the actual prediction error.
"""

def __init__(self, num_bins: int = 15):
self._bins = num_bins
self._bin_boundaries = None
Expand Down

0 comments on commit ade59c3

Please sign in to comment.