public static class DataInfo.MeanImputer extends java.lang.Object implements DataInfo.Imputer
Constructor and Description |
---|
MeanImputer() |
Modifier and Type | Method and Description |
---|---|
int |
imputeCat(java.lang.String name,
water.fvec.Vec v,
boolean useAllFactorLevels) |
double[] |
imputeInteraction(java.lang.String name,
water.fvec.InteractionWrappedVec iv,
double[] means) |
double |
imputeNum(java.lang.String name,
water.fvec.Vec v) |
public int imputeCat(java.lang.String name, water.fvec.Vec v, boolean useAllFactorLevels)
imputeCat
in interface DataInfo.Imputer
public double imputeNum(java.lang.String name, water.fvec.Vec v)
imputeNum
in interface DataInfo.Imputer
public double[] imputeInteraction(java.lang.String name, water.fvec.InteractionWrappedVec iv, double[] means)
imputeInteraction
in interface DataInfo.Imputer