Description Usage Arguments Value Examples
This function computes the nrmalized root mean squared imputation error for a given complete/true data matrix, imputed data matrix and the data matrix with missing values.
1 | computeNRMSE(x.miss, x.impute, x.true)
|
x.miss |
a |
x.impute |
an imputed data |
x.true |
complete/true data |
value of MSIE
1 2 3 4 5 6 7 | set.seed(3)
x.true = matrix(rnorm(100),10,10)
## create 10% missing values in x
x.miss = artifNA(x.true, 0.10)
## impute using wNNSel method
x.impute = wNNSel.impute(x.miss)
computeNRMSE(x.miss, x.impute, x.true)
|
[1] "Computing distance matrix..."
[1] "Distance matrix complete"
[1] 1.176002
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.