o

scalation.columnar_db

MissingValues

object MissingValues

The MissingValues object is used to replace missing values in a dataset.

See also

www.utexas.edu/cola/prc/_files/cs/Missing-Data.pdf

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MissingValues
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def replaceMissingStrings(xy: Table, missingCol: String, missingStr: String = "?", funcVal: Imputation = ImputeMean, fraction: Double = 0.2): Unit

    Replace missing strings in column 'missingCol' of table 'xy'.

    Replace missing strings in column 'missingCol' of table 'xy'.

    xy

    the table/relation with missing values

    missingCol

    the name of column where missing values are to be replaced

    missingStr

    the string used to denote a missing value (e.g. "?")

    funcVal

    the imputation technique for imputing missing values

    fraction

    the maximum allowed proportion of missing values, e.g., 0.2

  2. def replaceMissingValues[T](xy: Table, missingCol: String, missingVal: T, funcVal: Imputation = ImputeMean, fraction: Double = 0.2)(implicit arg0: ClassTag[T]): Unit

    Replace missing values in column 'missingCol' of table 'xy'.

    Replace missing values in column 'missingCol' of table 'xy'.

    T

    type of missingVal

    xy

    the table/relation with missing values

    missingCol

    the name of column where missing values are to be replaced

    missingVal

    the value used to denote a missing value (e.g. "?" for string)

    funcVal

    the imputation technique for imputing missing values

    fraction

    the maximum allowed proportion of missing values, e.g., 0.2