Package edu.cmu.tetrad.bayes
Class ExtraCategoryInterpolator
java.lang.Object
edu.cmu.tetrad.bayes.ExtraCategoryInterpolator
- All Implemented Interfaces:
DataFilter
Returns a data set in variables for columns with missing values are augmented with an extra category that represents
the missing values, with missing values being reported as belong this category.
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExtraCategoryInterpolator
public ExtraCategoryInterpolator()Constructs a new instance of the algorithm.
-
-
Method Details
-
filter
Interpolates the given data set, producing a data set with no missing values.- Specified by:
filter
in interfaceDataFilter
- Parameters:
dataSet
- the data set to interpolate.- Returns:
- the interpolated data set.
-