DEVELOPMENT... OpenML
Flow
sklearn.impute.SimpleImputer

sklearn.impute.SimpleImputer

Visibility: public Uploaded 14-08-2021 by Cameron Burke sklearn==0.20.0 numpy>=1.8.2 scipy>=0.13.3 0 runs
0 likes downloaded by 0 people 0 issues 0 downvotes , 0 total downloads
  • openml-python python scikit-learn sklearn sklearn_0.20.0
Issue #Downvotes for this reason By


Loading wiki
Help us complete this description Edit
Imputation transformer for completing missing values.

Parameters

copyIf True, a copy of X will be created. If False, imputation will be done in-place whenever possible. Note that, in the following cases, a new copy will always be made, even if `copy=False`: - If X is not an array of floating values; - If X is encoded as a CSR matrix.default: true
fill_valueWhen strategy == "constant", fill_value is used to replace all occurrences of missing_values If left to the default, fill_value will be 0 when imputing numerical data and "missing_value" for strings or object data typesdefault: -1
missing_valuesThe placeholder for the missing values. All occurrences of `missing_values` will be imputeddefault: NaN
strategyThe imputation strategy - If "mean", then replace missing values using the mean along each column. Can only be used with numeric data - If "median", then replace missing values using the median along each column. Can only be used with numeric data - If "most_frequent", then replace missing using the most frequent value along each column. Can be used with strings or numeric data - If "constant", then replace missing values with fill_value. Can be used with strings or numeric data .. versionadded:: 0.20 strategy="constant" for fixed value imputationdefault: "constant"
verboseControls the verbosity of the imputerdefault: 0

0
Runs

List all runs
Parameter:
Rendering chart
Rendering table