Is there a way to find also the discarded points from rdp algorithm in python?
The algorithm:
from rdp import rdp
rdp([[1, 1], [2, 2], [3, 3], [4, 4]])
Gives the points remaining after compression:
[[1, 1], [4, 4]]
If I have a large dataset and apply the algorithm, I want to find the discarded points. Is there a way?