Subkey

Description

use

If True, use feature imputation methods to replace NaN values. If False, all NaN features will be set to zero.

strategy

Method to be used for imputation.

n_neighbors

When using k-Nearest Neighbors (kNN) for feature imputation, determines the number of neighbors used for imputation. Can be a single integer or a list.