MCPcopy Create free account
hub / github.com/epsilon-machine/missingpy / transform

Method transform

missingpy/knnimpute.py:238–312  ·  view source on GitHub ↗

Impute all missing values in X. Parameters ---------- X : {array-like}, shape = [n_samples, n_features] The input data to complete. Returns ------- X : {array-like}, shape = [n_samples, n_features] The imputed dataset.

(self, X)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

fit_transformMethod · 0.45
test_knn_n_neighborsFunction · 0.45

Calls 3

_imputeMethod · 0.95
_get_maskFunction · 0.85
pairwise_distancesFunction · 0.85

Tested by 3

test_knn_n_neighborsFunction · 0.36