IdentityMixing
- class pmrf.stats.IdentityMixing
Bases:
ModuleMap each latent row to the corresponding flattened event block.
The number of rows must equal the number of event blocks.
- __call__(prediction_event: Array, x: Array) Array
Return an identity matrix at each frequency.
- Parameters:
prediction_event (jnp.ndarray) – Event-space prediction, with frequency last.
x (jnp.ndarray) – Frequency points.
- Returns:
Identity mixing of shape
(N, blocks, blocks).- Return type:
jnp.ndarray