ce.impute: Imputation in supervised classification
Description
This function performs data imputation in datasets for supervised classification by using
mean, median or knn imputation methods. The mode is used when the attribute is nominal
a vector identifying the attributes where imputations will be performed
nomatr
a vector identifying the nominal attributes
k1
the number of neighbors to be used for the knn imputation
Value
Returns a matrix without missing values.
References
Acuna, E. and Rodriguez, C. (2004). The treatment of missing values and its effect in the classifier accuracy. In D. Banks, L. House, F.R. McMorris, P. Arabie, W. Gaul (Eds).
Classification, Clustering and Data Mining Applications. Springer-Verlag Berlin-Heidelberg, 639-648.