How to train LSTM with NaN values?

2 views (last 30 days)
Nazila Pourhajy
Nazila Pourhajy on 28 Oct 2021
Hi everyone.
I have a dataset with NaN values and I can not delete or convert NaN values. I want to train LSTM with this dataset but I cant get valid result . I know when we train a network with train function,this function ignore NaN value ,but there is not this ability in trainNetwork.How can I solve this problem? Thanks.

Answers (0)


Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!