Class

com.github.jonnylaw.model

Filter

Related Doc: package model

Permalink

case class Filter(mod: Model, resamplingScheme: Resample[State]) extends ParticleFilter with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, ParticleFilter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Filter
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ParticleFilter
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Filter(mod: Model, resamplingScheme: Resample[State])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def accFilter(data: Seq[Data], t0: Time)(particles: Int): Seq[PfState]

    Permalink

    Run a filter over a vector of data and return a vector of PfState Containing the raw particles and associated weights at each time step

    Run a filter over a vector of data and return a vector of PfState Containing the raw particles and associated weights at each time step

    Definition Classes
    ParticleFilter
  5. def advanceState(states: Seq[State], dt: TimeIncrement, t: Time): Seq[(State, Eta)]

    Permalink
    Definition Classes
    FilterParticleFilter
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def calculateWeights(x: Eta, y: Observation): LogLikelihood

    Permalink
    Definition Classes
    FilterParticleFilter
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def filter(t0: Time)(particles: Int): Pipe[Task, Data, PfState]

    Permalink

    Run a filter over a stream of data

    Run a filter over a stream of data

    Definition Classes
    ParticleFilter
  11. def filterWithForecast(t0: Time)(particles: Int): Pipe[Task, Data, (PfState, ForecastOut)]

    Permalink

    One step forecast filter, advances the particles ahead to the time of the next observation transforms them according to the model and calculates the expected observation and 99% credible intervals

    One step forecast filter, advances the particles ahead to the time of the next observation transforms them according to the model and calculates the expected observation and 99% credible intervals

    t0

    the initial time of the observations

    particles

    the number of particles to use in the filter/forecast

    returns

    a Pipe[Task, Data, (PfState, ForecastOut)], which transforms a stream of Data into a stream of tuples (PfState, ForecastOut)

    Definition Classes
    ParticleFilter
  12. def filterWithIntervals(data: Seq[Data], t0: Time)(particles: Int): Seq[PfOut]

    Permalink

    Filter the data, but get a vector containing the mean eta, eta intervals, mean state, and credible intervals of the state

    Filter the data, but get a vector containing the mean eta, eta intervals, mean state, and credible intervals of the state

    Definition Classes
    ParticleFilter
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def initialiseState(particles: Int, t0: Time): PfState

    Permalink
    Definition Classes
    ParticleFilter
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def llFilter(t0: Time, particles: Int)(data: Seq[Data]): LogLikelihood

    Permalink

    Calculate the log-likelihood

    Calculate the log-likelihood

    Definition Classes
    ParticleFilter
  18. val mod: Model

    Permalink

    A model

    A model

    Definition Classes
    FilterParticleFilter
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def resample: Resample[State]

    Permalink
    Definition Classes
    FilterParticleFilter
  23. val resamplingScheme: Resample[State]

    Permalink
  24. def stepFilter(s: PfState, y: Data): PfState

    Permalink

    Step filter, perform one step of the particle fiilter

    Step filter, perform one step of the particle fiilter

    Definition Classes
    ParticleFilter
  25. def stepWithForecast(s: PfState, y: Data): (PfState, ForecastOut)

    Permalink
    Definition Classes
    ParticleFilter
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ParticleFilter

Inherited from AnyRef

Inherited from Any

Ungrouped