Skip to content

Commit d29b6fb

Browse files
committed
chore: rename base class
1 parent 2f466f2 commit d29b6fb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dte_adj/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
__all__ = ["SimpleDistributionEstimator", "AdjustedDistributionEstimator"]
88

99

10-
class DistributionFunctionMixin(object):
10+
class DistributionEstimatorBase(object):
1111
"""A mixin including several convenience functions to compute and display distribution functions."""
1212

1313
def __init__(self):
@@ -335,7 +335,7 @@ def _compute_cumulative_distribution(
335335
raise NotImplementedError()
336336

337337

338-
class SimpleDistributionEstimator(DistributionFunctionMixin):
338+
class SimpleDistributionEstimator(DistributionEstimatorBase):
339339
"""A class for computing the empirical distribution function and the distributional parameters
340340
based on the distribution function.
341341
"""
@@ -437,7 +437,7 @@ def _compute_cumulative_distribution(
437437
return cumulative_distribution, np.zeros((n_obs, n_loc))
438438

439439

440-
class AdjustedDistributionEstimator(DistributionFunctionMixin):
440+
class AdjustedDistributionEstimator(DistributionEstimatorBase):
441441
"""A class is for estimating the adjusted distribution function and computing the Distributional parameters based on the trained conditional estimator."""
442442

443443
def __init__(self, base_model, folds=3):

0 commit comments

Comments
 (0)