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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )