Skip to content

Commit

Permalink
fix the HistogramBuilder input order bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ycheng35xo committed Sep 10, 2024
1 parent 8e1a300 commit c61f96c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(
self.feature_metrics: List[FeatureMetrics] = self._build_feature_metrics(
monitor_name, signal_name, metrics, feature_importance
)
self.histogram_builder = HistogramBuilder(baseline_histogram, target_histogram)
self.histogram_builder = HistogramBuilder(target_histogram, baseline_histogram)

def to_dict(self) -> dict:
"""Convert to a dictionary object."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(
self.feature_metrics: List[FeatureMetrics] = self._build_feature_metrics(
monitor_name, signal_name, metrics
)
self.histogram_builder = HistogramBuilder(baseline_histogram, target_histogram)
self.histogram_builder = HistogramBuilder(target_histogram, baseline_histogram)

def to_dict(self) -> dict:
"""Convert to a dictionary object."""
Expand Down

0 comments on commit c61f96c

Please sign in to comment.