How to train LSTM with NaN values?

6 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)

Categories

Find more on Statistics and Machine Learning Toolbox 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!