reno.pymc.find_historical_tracked_refs#
- reno.pymc.find_historical_tracked_refs(model)#
Get a dictionary of all tracked references in the model used in historical values, and get the associated tap list for each. (Taps is what PyTensor calls indices for previous sequence values, so you this is used for when an equation calls for some stock value at t-5, etc.)
This is primarily used for population of pymc scan step and scan arguments.
- Parameters:
model (Model)
- Return type:
dict[TrackedReference, list[int]]