From 5428c71f35679089e467ebbe9d49b6804d0f62b3 Mon Sep 17 00:00:00 2001 From: Guy Coleman Date: Tue, 12 Nov 2024 16:55:59 +0000 Subject: [PATCH] Remove mention of EWMean.mean and EWVar.variance which are never actually used (#1627) Co-authored-by: Guy Coleman --- river/stats/ewmean.py | 6 ------ river/stats/ewvar.py | 5 ----- 2 files changed, 11 deletions(-) diff --git a/river/stats/ewmean.py b/river/stats/ewmean.py index df3a7db14a..366e5388c2 100644 --- a/river/stats/ewmean.py +++ b/river/stats/ewmean.py @@ -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 -------- @@ -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): diff --git a/river/stats/ewvar.py b/river/stats/ewvar.py index 6bd06c7b29..07c2fe858f 100644 --- a/river/stats/ewvar.py +++ b/river/stats/ewvar.py @@ -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 --------