Package

com.github.jonnylaw

examples

Permalink

package examples

Visibility
  1. Public
  2. All

Type Members

  1. trait LgcpModel extends AnyRef

    Permalink
  2. trait LinearTestModel extends AnyRef

    Permalink
  3. trait NegBinomialTest extends AnyRef

    Permalink
  4. trait PoissonTestModel extends AnyRef

    Permalink
  5. trait SeasonalTestModel extends AnyRef

    Permalink
  6. trait TModel extends AnyRef

    Permalink
  7. trait TestModel extends AnyRef

    Permalink

    Define a model to use throughout the examples in this file

  8. trait TestNegBinMod extends AnyRef

    Permalink
  9. trait TrafficModel extends AnyRef

    Permalink
  10. trait ZipModel extends AnyRef

    Permalink

Value Members

  1. object DetermineComposedParams extends TestModel with DataProtocols

    Permalink
  2. object DetermineNegBinParameters extends App with NegBinomialTest with DataProtocols

    Permalink
  3. object DeterminePoissonPosterior extends App with PoissonTestModel with DataProtocols

    Permalink

    Sample from the joint posterior of the state and parameters p(x, theta | y) Serialize this to JSON using Spray JSON Write as invalid JSON, by converting each element of the sequence to JSON and writing them on a new line of the output file This is the same as Twitters streaming API

  4. object DetermineSeasonalParameters extends App with SeasonalTestModel with DataProtocols

    Permalink

    Determine the parameters of the seasonal model using PMMH *

  5. object FilterDsl extends App with LinearTestModel with DataProtocols

    Permalink
  6. object FilterLinear extends App with LinearTestModel

    Permalink
  7. object FilterNegBin extends App with TestNegBinMod

    Permalink
  8. object FilterPoisson extends App with PoissonTestModel with DataProtocols

    Permalink

    Run the filter over the last 100 elements of the simulted data using samples from the joint-posterior of the state and parameters, p(x, theta | y)

  9. object FilterSeasonal extends App with SeasonalTestModel

    Permalink

    Filter from the start of the series with the parameters used to simulate the model *

  10. object FilterSeasonalPoisson extends TestModel

    Permalink
  11. object FilteringLgcp extends App with LgcpModel

    Permalink
  12. object GetLgcpParams extends App with LgcpModel

    Permalink
  13. object GetSeasTParams extends App with TModel

    Permalink
  14. object InitialLinearFullPosterior extends App with LinearTestModel with DataProtocols

    Permalink

    Determine the full joint posterior of the state and the parameters of the Linear Model then serialise the results to JSON, so it can be read in and used for the online filtering

  15. object InitialNegBinPosterior extends App with TestNegBinMod with DataProtocols

    Permalink
  16. object LinearOnlineFilter extends App with LinearTestModel with DataProtocols

    Permalink

    Run 100 particle filters by sampling 100 times from p(x, theta | y), each filter has M particles

  17. object MvnLinearFullPosterior extends App with LinearTestModel with DataProtocols

    Permalink

    Once a pilot run of the PMMH algorithm has been completed, the covariance of the posterior can be used as the covariance of the proposal distribution

  18. object NegBinPilotRun extends App with TestNegBinMod

    Permalink
  19. object NegBinPosterior extends App with TestNegBinMod with DataProtocols

    Permalink
  20. object NegBinSample extends App with TestNegBinMod

    Permalink
  21. object OneStepForecastLinear extends App with LinearTestModel

    Permalink

    Perform a one step forecast of the data

  22. object OneStepForecastPoisson extends App with PoissonTestModel with DataProtocols

    Permalink

    Perform a one step forecast on the poisson data, using unseen test data, Sampling from the joint posterior of the parameters and the state p(x, theta | y)

  23. object PilotRunComposed extends App with TestModel

    Permalink
  24. object PilotRunComposedNegBin extends App with NegBinomialTest with DataProtocols

    Permalink
  25. object PilotRunLinear extends App with LinearTestModel

    Permalink

    Perform a pilot run of the PMMH algorithm, to determine the optimum number of particles to use in the particle filter

  26. object PilotRunPoisson extends App with PoissonTestModel

    Permalink

    Determine how many particles are required to run the MCMC

  27. object PilotRunZip extends App with ZipModel with DataProtocols

    Permalink
  28. object PoissonServer extends App with PoissonTestModel with DataProtocols

    Permalink

    Serve the data as a stream of JSON

  29. object SeasStudentT extends App with TModel

    Permalink
  30. object SeasonalPilotRun extends App with SeasonalTestModel

    Permalink

    Determine the appropriate amount of particles in the particle filter for the seasonal model *

  31. object SimComposedNegBin extends App with NegBinomialTest with DataProtocols

    Permalink
  32. object SimLinearModel extends App with LinearTestModel

    Permalink
  33. object SimOrnstein extends App

    Permalink
  34. object SimPoissonModel extends App with PoissonTestModel

    Permalink
  35. object SimSeasonalModel extends App with SeasonalTestModel

    Permalink
  36. object SimZipModel extends App with ZipModel with DataProtocols

    Permalink
  37. object SimulateBrownianMotion extends App

    Permalink

    Simulate an SDE

  38. object SimulateLGCP extends App with LgcpModel

    Permalink
  39. object SimulateSeasonalPoisson extends App with TestModel

    Permalink

    Simulate a poisson model, with seasonal rate parameter

  40. object SimulateTraffic extends App with TrafficModel with DataProtocols

    Permalink
  41. object WritePosterior extends App with DataProtocols with ZipModel

    Permalink
  42. object ZipModelPosterior extends App with ZipModel with DataProtocols

    Permalink

Ungrouped