Skip to content

EasyTPP 0.6.0

Latest

Choose a tag to compare

@iLampard iLampard released this 04 Dec 08:18
3041c9c

Training and sampling robustness, fixes to ODETPP and S2P2, and a redesigned
documentation site. ANHN is removed, so this is a minor release.

Breaking changes

  • ANHN (attentive neural Hawkes network) is removed. A config with
    model_id: ANHN raises an error naming supported alternatives (#138).

Fixed

  • ODETPP scores events and computes its integral and thinning with the same
    ODE discretisation, so its next-event density integrates to one (#143).
  • S2P2 prediction memory grows linearly with the number of sample times, and
    several numerical hazards are fixed (#140).
  • A non-finite training loss raises an error naming the model, epoch and
    batch instead of silently using up the early-stopping patience (#144).
  • Prediction skips padded positions in thinning, for left and right padding
    (#145).

Changed

  • Thinning uses a log-spaced bound grid by default (thinning.bound_grid: log), which keeps sampling efficient on long prediction windows;
    bound_grid: linear reproduces the previous grid exactly (#145).
  • The ODETPP preset trains stably: learning rate 1e-3, shuffled batches,
    bounded (tanh) dynamics and an RK4 step count that grows with the interval
    length. Configs without these options keep the previous behaviour and
    checkpoints load unchanged (#146).
  • Early-stopping patience counts validations, not epochs; this is now
    documented and the stopping message reports both (#144).

Added

  • Optional gradient clipping: trainer_config.grad_clip_norm (off by default),
    with the epoch's maximum pre-clip gradient norm reported as
    grad_norm_max (#144).
  • Property tests for time scaling, gradients and event accounting across all
    models (#139).
  • Redesigned documentation site with technical details per model, a user
    manual and the API reference; old page URLs redirect (#141, #142).