Does the trainnet function work for time regression tasks?

1 回表示 (過去 30 日間)
tobias
tobias 2024 年 8 月 29 日
編集済み: Ayush Aniket 2024 年 8 月 29 日
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

採用された回答

Ayush Aniket
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 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by