Packages

o

io.sqooba.oss.timeseries

NumericTimeSeries

object NumericTimeSeries

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NumericTimeSeries
  2. AnyRef
  3. 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def nonStrictMinus[T](lhDefault: Option[T], rhDefault: Option[T])(lhO: Option[T], rhO: Option[T])(implicit n: Numeric[T]): Option[T]

    Non strict 'minus' operator: wherever one of the timeseries is undefined it falls back to the given default value.

    Non strict 'minus' operator: wherever one of the timeseries is undefined it falls back to the given default value. If both defaults are None, the operator is equivalent to #strictMinus.

    lhDefault

    the optional default for the left hand value

    rhDefault

    the optional default for the right hand value

    lhO

    the optional left hand value

    rhO

    the optional right hand value

  14. def nonStrictPlus[T, U >: T](lhO: Option[T], rhO: Option[T])(implicit n: Numeric[U]): Option[U]

    Non strict 'plus' operator: wherever one of the time series is undefined, its entry is considered as 0.

  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def slidingIntegral[T](entries: Seq[TSEntry[T]], window: Long, sampleRate: Long, timeUnit: TimeUnit = TimeUnit.MILLISECONDS)(implicit n: Numeric[T]): Seq[TSEntry[Double]]

    First samples the entries and then calculates a sliding integral.

    First samples the entries and then calculates a sliding integral. This means the resulting entries represent the value of the integral over the window [t - window, t] of the original series.

    The sampling controls the resolution of the returned entries and hence the (im-)precision of the integral. Therefore, the sampling rate cannot be larger than the window size. Otherwise, the output becomes very un-intuitive and will generally not make any sense.

    entries

    entries over which to integrate

    window

    width of the window

    sampleRate

    frequency of resampling

    timeUnit

    time unit used to convert validities to seconds

    returns

    a sequence of entries representing the integral over the windows

    Note

    For optimal (im-)precision and maximally intuitive output, a window that is a multiple of the sampleRate is recommended.

  18. def stepIntegral[T](entries: Seq[TSEntry[T]], timeUnit: TimeUnit = TimeUnit.MILLISECONDS)(implicit n: Numeric[T]): Seq[TSEntry[Double]]

    Compute an integral of the passed entries, such that each entry is equal to its own value plus the sum of the entries that came before.

    Compute an integral of the passed entries, such that each entry is equal to its own value plus the sum of the entries that came before. The time is integrated as seconds, you may provide the unit with which the validities are converted to seconds.

    entries

    entries over which to integrate

    timeUnit

    time unit used to convert validities to seconds

    Note

    The result is still a step function.

  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def rolling[T](ts: TimeSeries[T], aggregator: (Seq[T]) => T, windowMs: Long, compress: Boolean = true)(implicit n: Numeric[T]): TimeSeries[T]
    Annotations
    @deprecated
    Deprecated

    Please use the new windowing functions. See WindowSlider.scala

Inherited from AnyRef

Inherited from Any

Ungrouped