Class ExtraCategoryInterpolator

java.lang.Object
edu.cmu.tetrad.bayes.ExtraCategoryInterpolator
All Implemented Interfaces:
DataFilter

public final class ExtraCategoryInterpolator extends Object implements 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.
Author:
josephramsey
  • Constructor Details

    • ExtraCategoryInterpolator

      public ExtraCategoryInterpolator()
  • Method Details

    • filter

      public DataSet filter(DataSet dataSet)
      Description copied from interface: DataFilter
      Interpolates the given data set, producing a data set with no missing values.
      Specified by:
      filter in interface DataFilter