-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
Add strategy="random" to SimpleImputer #11209
Copy link
Copy link
Open
Labels
Needs Decision - Include FeatureRequires decision regarding including featureRequires decision regarding including featureNew Featuremodule:impute
Description
The purpose would be to provide an unbiased, stochastic, univariate imputer. The imputer would replace missing values by values sampled uniformly at random from the non-missing values of the sample column.
This would require to add additional random_state constructor parameter to the class.
As for #11208 this strategy should work both on numerical and non-numerical dtypes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs Decision - Include FeatureRequires decision regarding including featureRequires decision regarding including featureNew Featuremodule:impute