Skip to content

Commit

Permalink
Remove mention of EWMean.mean and EWVar.variance which are never actu…
Browse files Browse the repository at this point in the history
…ally used
  • Loading branch information
Guy Coleman committed Nov 12, 2024
1 parent e958fd8 commit 299d74a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions river/stats/ewmean.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ class EWMean(stats.base.Univariate):
fading_factor
The closer `fading_factor` is to 1 the more the statistic will adapt to recent values.
Attributes
----------
mean : float
The running exponentially weighted mean.
Examples
--------
Expand Down Expand Up @@ -51,7 +46,6 @@ def __init__(self, fading_factor=0.5):
raise ValueError("q is not comprised between 0 and 1")
self.fading_factor = fading_factor
self._ewmean = _rust_stats.RsEWMean(fading_factor)
self.mean = 0

@property
def name(self):
Expand Down
5 changes: 0 additions & 5 deletions river/stats/ewvar.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ class EWVar(stats.base.Univariate):
fading_factor
The closer `fading_factor` is to 1 the more the statistic will adapt to recent values.
Attributes
----------
variance : float
The running exponentially weighted variance.
Examples
--------
Expand Down

0 comments on commit 299d74a

Please sign in to comment.