public class SVDImputation extends Object implements MissingValueImputation
| Constructor and Description |
|---|
SVDImputation(int k)
Constructor.
|
public SVDImputation(int k)
k - the number of eigenvectors used for imputation.public void impute(double[][] data)
throws MissingValueImputationException
MissingValueImputationimpute in interface MissingValueImputationdata - a data set with missing values (represented as Double.NaN).
On output, missing values are filled with estimated values.MissingValueImputationExceptionpublic void impute(double[][] data,
int maxIter)
throws MissingValueImputationException
data - a data set with missing values (represented as Double.NaN).
On output, missing values are filled with estimated values.maxIter - the maximum number of iterations.MissingValueImputationExceptionCopyright © 2015. All rights reserved.