We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9dcccb commit 6ecef08Copy full SHA for 6ecef08
1 file changed
examples/plot_als_comparison.py
@@ -28,6 +28,8 @@
28
from statsmodels.stats.anova import anova_lm
29
from statsmodels.stats.multitest import multipletests
30
31
+from sklearn.impute import SimpleImputer
32
+
33
#############################################################################
34
# Fetch data from Sarica et al.
35
# -----------------------------
@@ -53,6 +55,7 @@
53
55
group_names = afqdata.group_names
54
56
subjects = afqdata.subjects
57
58
+X = SimpleImputer(strategy="median").fit_transform(X)
59
60
# Filtering the data
61
# ----------------
0 commit comments