public class LLSImputation extends java.lang.Object implements MissingValueImputation
Constructor and Description |
---|
LLSImputation(int k)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
impute(double[][] data)
Impute missing values in the data.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
imputeWithColumnAverage
public LLSImputation(int k)
k
- the number of similar rows used for imputation.public void impute(double[][] data) throws MissingValueImputationException
MissingValueImputation
impute
in interface MissingValueImputation
data
- a data set with missing values (represented as Double.NaN).
On output, missing values are filled with estimated values.MissingValueImputationException