imputetransform
Fill missing values of the test records.
Syntax
imputed_data = imputetransform(parameters,X)
Inputs
- X
 - Input data to be imputed.
 - parameters
 - Struct containing values computed using training data and returned by the impute function.
 
Outputs
- imputed_data
 - Imputed input records.
 
Example
Usage of imputetransform
X = [1 2 3;
     NaN 3 3;
     7 6 2;
     8 NaN NaN];
[X_scaled, parameters] = impute(X); %by default strategy is 'mean' 
X_new = imputetransform(parameters, [1 2 3; 4 NaN 6]);
      > X_new
X_new = [Matrix] 2 x 3
1.00000 2.00000 3.00000
4.00000 3.66667 6.00000