I am currently working on a project, where I have a sensor in a shoe which records the XYZ from an acceleration and gyroscope sensor. Every millisecond I get 6 data points. Now the goal is, if I do an action, such a jumping or kicking, I would use the sensor's output to predict that action being done.
Here is the issue: if I jump, for example, one time I may get 1000 data points, but in another, I get 1200 amounts, meaning the size of the input is different. The Neural Network’s I’ve studied so far require the input size to be constant to predict a Y value, however, in this case, it isn’t. I've done some research on how to make a neural network with variable sizes, but haven't been able to find one which works. It's not a good idea to crop the input to a certain size, because then I am losing data. In addition, if I just resize the smaller trials by putting extra 0s, it skews the model. Any suggestions on a model that would work or how to better clean the data?