I want to assign labels to Time Series Data. Like in attached fig I have accelerometer data for pushups. I put my mobile in pocket, made 10 push ups, stand up and take out the mobile from pocket. Now from 800 time stamp to 3000 I have actual counts. I want to assign two labels to this TSD, i.e. Pushup (i.e. how manytimes are there) or noPushup. Now, the question is how to assign the labels? By hand I can assign labels and build the Classifiers. But how can I do it in an automatic way to extract the labels. At the prediction stage how can find that the values from 0 to 800 actually there is no pushup data in it and when the actual pushup data started?