o

dlm.core.model

Streaming

object Streaming

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Streaming
  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
    @native() @throws( ... )
  6. def colMeans(params: List[List[Double]]): List[Double]

    Calculate the column means of List of List of doubles

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def mean: Flow[Double, Double, NotUsed]

    Streaming mean

  14. def meanDlmFsvParameters(vDim: Int, wDim: Int, p: Int, k: Int): Flow[DlmFsvParameters, DlmFsvParameters, NotUsed]
  15. def meanDlmFsvSystemParameters(vDim: Int, wDim: Int, k: Int): Flow[DlmFsvParameters, DlmFsvParameters, NotUsed]
  16. def meanFsvParameters(p: Int, k: Int): Flow[FsvParameters, FsvParameters, NotUsed]
  17. def meanParameters(vDim: Int, wDim: Int): Flow[DlmParameters, DlmParameters, NotUsed]

    Calculate the streaming mean of DLM parameters

  18. def meanSvParameters: Flow[SvParameters, SvParameters, NotUsed]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def parseDiagonalParameters(vDim: Int, wDim: Int)(ps: Vector[Double]): DlmParameters

    Parse parameters from a collection containing the diagonal entries of the v, w matrices

  23. def quantile[A](xs: Seq[A], prob: Double)(implicit arg0: Ordering[A]): A
  24. def readCsv[S](file: String): Source[Vector[String], Future[IOResult]]
  25. def readMcmcChain(filename: String): CsvReader[ReadResult[Vector[Double]]]

    Read an MCMC Chain into a list of doubles

  26. def streamChain[A](chain: Process[A], nIters: Int): Source[A, NotUsed]

    Create an Akka stream from a Markov Chain

  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def thinChain[A](n: Int): Flow[A, A, NotUsed]

    Filter a Stream to select only every nth iteration

    Filter a Stream to select only every nth iteration

    n

    the index of the iterator to select

  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  33. def writeChain(formatParameters: (DlmParameters) ⇒ List[Double], filename: String, config: CsvConfiguration)(iters: Iterator[DlmParameters]): Unit

    Write a single chain

    Write a single chain

    formatParameters

    a function to properly format the parameters to write them to a file

    config

    additional configuration as CsvConfiguration from the kantan CSV package

    iters

    the iterations of the MCMC chain

  34. def writeChainSink[A](filename: String, format: (A) ⇒ List[Double]): Sink[A, Future[IOResult]]
  35. def writeParallelChain[A](chain: Process[A], nChains: Int, nIters: Int, filename: String, format: (A) ⇒ List[Double])(implicit m: Materializer): Source[IOResult, NotUsed]

    Given a single MCMC, write different realisations using the same initial parameters

    Given a single MCMC, write different realisations using the same initial parameters

    nChains

    the number of parallel chains

    nIters

    the number of iterations

    filename

    the prefix of the filename

    format

    a function to format each row of the CSV output

Inherited from AnyRef

Inherited from Any

Ungrouped