You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/examples/imputation_example.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ Some methods take arguments. For instance, if we want to impute by the mean, we
53
53
* Here, in the :class:`ImputerMean` , we specify :class:`groups=["datetime.dt.month", "datetime.dt.dayofweek"]`, which means the method will first use a groupby operation (via :class:`pd.DataFrame.groupby`) and then impute missing values with the mean of their corresponding group.
54
54
* For the :class:`ImputeInterpolation`, the method can be anything supported by :class:`pd.Series.interpolate`; hence for :class:`spline` and :class:`polynomial`, we have to provide an :class:`order`.
55
55
* For the :class:`ImputerRPCA`, we first need to specify the :class:`method`, i.e. :class:`PCP`, :class:`Temporal` or :class:`Online`. It is also mandatory to mention if we deal with multivariate or not. Finally, there is a set of hyperparameters that can be specify. See the doc "Focus on RPCA" for more information.
56
-
* For the :class:`ImputerEM`, we can specify the maximum number of iterations or the strategy used, i.e. "sample" or "argmax" (By default, "sample"). See the doc "Focus on EM Sampler" for more information.
56
+
* For the :class:`ImputerEM`, we can specify the maximum number of iterations or the model used, i.e. "sample" or "mle" (By default, "sample"). See the doc "Focus on EM Sampler" for more information.
57
57
* For the :class:`ImputerIterative`, we can specify the regression model to use, with its own hyperparameters.
58
58
* For the :class:`ImputerRegressor`, we can specify the regression model to use, with its own hyperparameters as well as the name of the columns to impute.
0 commit comments