0
$\begingroup$

My data includes different time series length (depends on number of exams each patient did) as well the interval between exams is different. How can I run lstm on this kind of data? (Where the sequence length is different)

How should I build the batch? Should each batch hold a patient time series data? Where do I put the target value?

$\endgroup$
0
$\begingroup$

LSTM seeks inputs having the same shape. Hence, you may first consider defining a sequence length and then padding the sequences whose lengths are less than the defined sequence length.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.