redame / python-fastpip

Perceptually Important Points

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Perceptually Important Points

License:Apache License 2.0


Languages

Language:Python 100.0%