A data subsampler that chooses representative data points using a largest triangle or mode-median approach.