object ImputeNormal extends Imputation
The ImputeNormal
object imputes missing values using the median Normal variates.
- Alphabetic
- By Inheritance
- ImputeNormal
- Imputation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- val DAMPEN: Double
- Attributes
- protected
- Definition Classes
- Imputation
- val DEBUG: Boolean
- Attributes
- protected
- Definition Classes
- Imputation
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- val dist: Int
- Attributes
- protected
- Definition Classes
- Imputation
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def findLastMissing(x: VectoD, i: Int = -1): (Int, Double)
Return the index of last missing value in vector 'x' from index 'i' and the new imputed value.
Return the index of last missing value in vector 'x' from index 'i' and the new imputed value.
- x
the vector with missing values
- i
the starting index to look for missing value
- Attributes
- protected
- Definition Classes
- Imputation
- def findMissing(x: VectoD, i: Int = 0): (Int, Double)
Return the index of first missing value in vector 'x' from index 'i' and the new imputed value.
Return the index of first missing value in vector 'x' from index 'i' and the new imputed value.
- x
the vector with missing values
- i
the starting index to look for missing value
- Attributes
- protected
- Definition Classes
- Imputation
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def impute(x: MatriD): MatriD
Replace all missing values in matrix 'x' with imputed values.
Replace all missing values in matrix 'x' with imputed values. Will change the values in matrix 'x'. Make a copy to preserve values 'x.copy'.
- x
the matrix with missing values
- Definition Classes
- Imputation
- def impute(x: VectoD, i: Int = 0): (Int, Double)
Impute a value for the first missing value in vector 'x' from index 'i'.
Impute a value for the first missing value in vector 'x' from index 'i'. The type (Int, Double) returns (vector index for imputation, imputed value). Does not modify the vector.
- x
the vector with missing values
- i
the starting index to look for missing values
- Definition Classes
- Imputation
- def imputeAll(x: VectoD): VectoD
Replace all missing values in vector 'x' with imputed values.
Replace all missing values in vector 'x' with imputed values. Will change the values in vector 'x'. Make a copy to preserve values 'x.copy'.
- x
the vector with missing values
- Definition Classes
- Imputation
- def imputeAt(x: VectoD, i: Int): Double
Impute a value for the first missing value in vector 'x' from index 'i' using the median of three Normally distributed random values.
Impute a value for the first missing value in vector 'x' from index 'i' using the median of three Normally distributed random values.
- x
the vector with missing values
- i
the starting index to look for missing values
- Definition Classes
- ImputeNormal → Imputation
- def imputeCol(c: Vec, i: Int = 0): (Int, Any)
Impute a value for the first missing value in column 'c' from index 'i'.
Impute a value for the first missing value in column 'c' from index 'i'. The type (Int, Double) returns (vector index for imputation, imputed value). Does not modify the column.
- c
the column with missing values
- i
the starting index to look for missing values
- Definition Classes
- Imputation
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val missVal: Double
- Attributes
- protected
- Definition Classes
- Imputation
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nextVal(x: VectoD, i: Int): Double
Return the next non-missing value in vector 'x' from index 'i'.
Return the next non-missing value in vector 'x' from index 'i'.
- x
the vector to be searched for a non-missing value
- i
the starting index to look for non-missing value
- Attributes
- protected
- Definition Classes
- Imputation
- def normalMedian(mu: Double, sig2: Double): Double
Return the median of three normally distributed random numbers.
Return the median of three normally distributed random numbers.
- mu
the mean
- sig2
the variance
- Attributes
- protected
- Definition Classes
- Imputation
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def prevVal(x: VectoD, i: Int): Double
Return the previous non-missing value in vector 'x' from index 'i'.
Return the previous non-missing value in vector 'x' from index 'i'.
- x
the vector to be searched (backwards) for a non-missing value
- i
the starting index to look for non-missing value
- Attributes
- protected
- Definition Classes
- Imputation
- val q: Int
- Attributes
- protected
- Definition Classes
- Imputation
- def setDist(dist_: Int): Unit
Set the distance 'dist' to the new value 'dist_'.
Set the distance 'dist' to the new value 'dist_'.
- dist_
the new value for the distance
- Definition Classes
- Imputation
- def setMissVal(missVal_: Double): Unit
Set the missing value 'missVal' to the new missing value indicator 'missVal_'.
Set the missing value 'missVal' to the new missing value indicator 'missVal_'.
- missVal_
the new missing value indicator
- Definition Classes
- Imputation
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated