Change detection

Change detection is a common way of determining when a discrete change occurs in a given sequence of data points. It is often used in data mining, statistics, and dynamic programming. One common example is trying to find a best-fit line for an "L-shaped" graph, where two distinct lines could be better used to minimize error.