I want to segment a signal in an unsupervised manner.
The data is a 1D signal which has different segments which I want to be able to segment automatically for farther processing.
I am looking for a fast and efficient algorithm.
The motivation is get more information on the subject in order to evaluate approaches. So it might be like a general question on how it is done and what are some approaches to do so.
The blue line is a 1D signal plotted against time (x-axis). The algorithm should output the x-values of the two vertical red lines, essentially segmenting the 1D signal.
To make the problem a little easier, it is okay to assume the number of segments are known beforehand (similar to k-means clustering where the number of clusters is an input to the algorithm).