Type class for vectors that can be rendered to a CSV string (and a Breeze DenseVector[Double]), extended by State
Syntax for CsvRow
Data set type class, for ABC methods
Alias for a Breeze DenseVector[Double]
Type for a SPN hazard vector
Alias for a Breeze DenseVector[Int]
Type representing log-likelihoods - just an alias for Double
.
Type representing log-likelihoods - just an alias for Double
.
All likelihoods in this library are on a log scale.
There should be no raw likelihoods passed into or out of any user-facing function.
Case class for SPNs that include an initial marking
Main trait for stochastic Petri nets (SPNs)
State type class, with implementations for Breeze DenseVector
Ints
and Doubles
A type class for things which can be "thinned", with an implementation for Stream
.
A type class for things which can be "thinned", with an implementation for Stream
.
Useful for MCMC algorithms.
Provision of the .thin
syntax for Thinnable
things
Type representing time, but just an alias for Double
The main time series class, for representing output from simulation functions, and for observed time course data
Case class for SPNs without an initial marking
Functions for parameter inference using ABC (and ABC-SMC) methods
Functions for constucting generic Metropolis-Hastings MCMC algorithms, and associated utilities.
Functions for constucting generic Metropolis-Hastings MCMC algorithms, and associated utilities. Can be used in conjunction with an unbiased estimate of marginal model likelihood for constructing pseudo-marginal MCMC algorithms, such as PMMH pMCMC.
Functions associated with particle filtering of Markov process models against time series data and the computation of marginal model likelihoods.
Functions for simulating data associated with a Markov process given an appropriate transition kernel.
Some example SPN models, each of which can be instantiated with either discrete or continous states.
Functions which accept a Spn
and return a function for simulating from the transition kernel of that model
Evidence that DoubleState
belongs to the State
type class
Evidence that IntState
belongs to the State
type class
A Thinnable
instance for Stream
Evidence that Ts[DoubleState]
is a DataSet
Evidence that Ts[IntState]
is a DataSet
Object containing basic types used throughout the library.