I have two sensor data in time series as an array, when I plot we have this image. The peak you see in sensor 1 is something I am interested in classifying, It is easy to see that there is a similarity in both waves i.e when a heart beats the sensor 1 goes two peaks (up and down) and immediately after some gap sensor 2 shows two down peaks. How do i show this in a algorithm? I discretized this data and tried the ml algos like decision tree, random forest , mlp , svm but it did not work.
Goal: To have two clusters (No heart beat and heart beat) for any given instant.