Skip to content

Commit

Permalink
Register summary stats in CLI runner
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-nml committed Jan 17, 2024
1 parent aad7edf commit ae71f76
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nannyml/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
from nannyml.performance_calculation import PerformanceCalculator
from nannyml.performance_estimation.confidence_based import CBPE
from nannyml.performance_estimation.direct_loss_estimation import DLE
from nannyml.stats.avg.calculator import SummaryStatsAvgCalculator
from nannyml.stats.count.calculator import SummaryStatsRowCountCalculator
from nannyml.stats.median.calculator import SummaryStatsMedianCalculator
from nannyml.stats.sum.calculator import SummaryStatsSumCalculator
from nannyml.stats.std.calculator import SummaryStatsStdCalculator


@dataclass
Expand Down Expand Up @@ -73,6 +78,11 @@ class CalculatorFactory:
'dle': DLE,
'missing_values': MissingValuesCalculator,
'unseen_values': UnseenValuesCalculator,
'summary_stats_avg': SummaryStatsAvgCalculator,
'summary_stats_row_count': SummaryStatsRowCountCalculator,
'summary_stats_median': SummaryStatsMedianCalculator,
'summary_stats_std': SummaryStatsStdCalculator,
'summary_stats_sum': SummaryStatsSumCalculator,
}

@classmethod
Expand Down

0 comments on commit ae71f76

Please sign in to comment.