Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
eacharles committed Nov 22, 2023
1 parent 791da31 commit e489b3b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/qp/metrics/concrete_metric_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class CDELossMetric(DistToPointMetric):
"""Conditional density loss"""

metric_name = "cdeloss"
metric_output_type = MetricOuputType.one_value_per_distribution
metric_output_type = MetricOutputType.one_value_per_distribution
default_eval_grid = np.linspace(0, 2.5, 301)

def __init__(self, eval_grid: list = default_eval_grid, **kwargs) -> None:
Expand Down
12 changes: 6 additions & 6 deletions src/qp/metrics/point_estimate_metric_classes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np
from qp.metrics.base_metric_classes import (
MetricOuputType,
MetricOutputType,
PointToPointMetric,
)

Expand All @@ -12,7 +12,7 @@ class PointStatsEz(PointToPointMetric):
metric_name = "point_stats_ez"

#! This doesn't seem quiet correct, perhaps we need a `single_value_per_input_element` ???
metric_output_type = MetricOuputType.one_value_per_distribution
metric_output_type = MetricOutputType.one_value_per_distribution

def __init__(self) -> None:
super().__init__()
Expand Down Expand Up @@ -41,7 +41,7 @@ class PointSigmaIQR(PointToPointMetric):
"""Calculate sigmaIQR"""

metric_name = "point_stats_iqr"
metric_output_type = MetricOuputType.single_value
metric_output_type = MetricOutputType.single_value

def __init__(self) -> None:
super().__init__()
Expand Down Expand Up @@ -75,7 +75,7 @@ class PointBias(PointToPointMetric):
"""

metric_name = "point_bias"
metric_output_type = MetricOuputType.single_value
metric_output_type = MetricOutputType.single_value

def __init__(self) -> None:
super().__init__()
Expand Down Expand Up @@ -106,7 +106,7 @@ class PointOutlierRate(PointToPointMetric):
"""

metric_name = "point_outlier_rate"
metric_output_type = MetricOuputType.single_value
metric_output_type = MetricOutputType.single_value

def __init__(self) -> None:
super().__init__()
Expand Down Expand Up @@ -144,7 +144,7 @@ class PointSigmaMAD(PointToPointMetric):
"""

metric_name = "point_stats_sigma_mad"
metric_output_type = MetricOuputType.single_value
metric_output_type = MetricOutputType.single_value

def __init__(self) -> None:
super().__init__()
Expand Down

0 comments on commit e489b3b

Please sign in to comment.