--- title: cusum description: Learn to use the Cumulative Sum Algorithm (CUSUM) to effortlessly detect abrupt changes in your data. Understand parameters like threshold and drift to improve your data analysis. keywords: - cumulative sum algorithm - CUSUM - abrupt changes detection - data analysis - threshold - drift --- import HeadTitle from '@site/src/components/General/HeadTitle.tsx'; Cumulative sum algorithm (CUSUM) to detect abrupt changes in data ### Usage ```python cusum [-t THRESHOLD] [-d DRIFT] ``` --- ## Parameters | Name | Description | Default | Optional | Choices | | ---- | ----------- | ------- | -------- | ------- | | threshold | threshold | 0.0 | True | None | | drift | drift | 0.0 | True | None | ![cusum](https://user-images.githubusercontent.com/46355364/154306207-d68f53f4-2f9a-4c1a-8e0e-b83d49938759.png) ---