/python-fastpip

Perceptually Important Points

Primary LanguagePythonApache License 2.0Apache-2.0

python-fastpip (Segmentation Based On Turning Points)

The “Perceptually Important Points” algorithm gives a method for dimensionality reduction and a mechanism to automatically extract the most important points from a human observer perspective, favouring compression and a good visualization of time series with high dimensionality.

Example

    >>> from fastpip import pip
    >>> pip([(0, 0), (1, 1), (2, 2), (3, 1), (4, 0), (5, 1), (6, 2), (7, 1), (8, 0)], 5)
    [(0, 0), (2, 2), (4, 0), (6, 2), (8, 0)]

References