Packages

o

scalation.analytics

ImputeMovingAvg

object ImputeMovingAvg extends Imputation

The ImputeMovingAvg object imputes missing values using the moving average.

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DAMPEN: Double
    Attributes
    protected
    Definition Classes
    Imputation
  5. val DEBUG: Boolean
    Attributes
    protected
    Definition Classes
    Imputation
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. val dist: Int
    Attributes
    protected
    Definition Classes
    Imputation
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. 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
  12. 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
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. 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
  16. 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
  17. 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
  18. def imputeAt(x: VectoD, i: Int): Double

    Impute a value for the first missing value in vector 'x' from index 'i' using the moving average of the last 'dist' values.

    Impute a value for the first missing value in vector 'x' from index 'i' using the moving average of the last 'dist' values.

    x

    the vector with missing values

    i

    the starting index to look for missing values

    Definition Classes
    ImputeMovingAvgImputation
  19. 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
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val missVal: Double
    Attributes
    protected
    Definition Classes
    Imputation
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. 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
  24. 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
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. 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
  28. val q: Int
    Attributes
    protected
    Definition Classes
    Imputation
  29. 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
  30. 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
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Imputation

Inherited from AnyRef

Inherited from Any

Ungrouped