Brock & Hommes¤
          BrockHommes
¤
  
            Bases: Model
Differentiable implementation of the Brock and Hommes (1998) model. See equations (39) and (40) of https://arxiv.org/pdf/2202.00625.pdf for reference.
Arguments:
- n_timesteps: Number of timesteps to simulate. Default: 100.
Source code in blackbirds/models/brock_hommes.py
              | 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |  | 
          step(params, x)
¤
  Runs the model forward for one time-step. Parameters follow the order: log_beta, g1, g2, g3, g4, b1, b2, b3, b4, log_sigma, log_r
Arguments:
- params: A list of parameters. Parameters follow the order: log_beta, g1, g2, g3, g4, b1, b2, b3, b4, log_sigma, log_r
- x: The current state of the model.
Danger
beta, sigma, and r are given in log.
Source code in blackbirds/models/brock_hommes.py
            | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |  |