.
values from the n_neighbors nearest neighbors that have a value for the particular feature. The values of the neighbors are averaged uniformly or weighted by distance to each neighbor. Multi-variate: In this method, we will fill the missing value with the KNN imputer (Hot-Deck imputation) algorithm