I would like to know how to deal with dataset which has multiple fold information. For example: If I have list of patients and I want to predict the risk of disease and I want to use attributes like weight, heart rate every hour and other tests. So I will have a data which represents same patient multiple times in the dataset like below:
Patient - Weight - HeartRate - RiskScore 0001 45 90 9.011 0001 47 93 9.23 0002 69 100 4.33 0002 68 101 3.44 0002 69 103 2.43
So for above training set I am predicting the risk score for any new patient with similar data. Now how do I train such data. Do I need to get some averages for this kind of data or is there any algorithm which can handle such data set and train.
Can you please help with this?