Ruptures (vendored)#

Lightweight subset of ruptures v1.1.8 used by BinSeg, BottomUp, DynP, KCPD, PELT, Window. Contains base classes, cost functions, utilities and detection algorithms. Not a detector itself. BottomUp has the speed-up of ruptures v1.1.9 (PR #309); later releases, up to v1.1.10, change no code.

The solvers have a numba backend (ruptures.accel, backend="auto" when numba is installed) for the l1, l2, rbf and cosine costs: the kernel costs never build the \(n \times n\) Gram matrix, and both backends return the same segmentation.

Implementation: Vendored from ruptures. BSD 2-Clause.