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
- Alphabetic
- By Inheritance
- MissingValues
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
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
-
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