Does the trainnet function work for time regression tasks?
6 次查看(过去 30 天)
显示 更早的评论
Hello Dear Community,
since matlab has different ways to train a neural network (train, trainnetwork, trainnet...)
I would like to know, if trainnet is good for time series data regression, since most examples are for image related classification problems.
Thank you in advance.
Best wishes
0 个评论
采纳的回答
Ayush Aniket
2024-8-29
编辑:Ayush Aniket
2024-8-29
Hi Tobias,
You can use trainnet function to train deep learning models for time series data regression problems. For such problems, the input is in the format of sequences. To read about the input formats for sequence datsets in trainnet function, refer the following link:
Refer to the following documentation link which shows an example for 'Sequence-to-Sequence Regression' tasks:
You might have to use a regressionLayer as the last layer in the network for your purpose.
Also, note that trainNetwork function is not recommended anymore.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!