correct format file for neural network script

4 ビュー (過去 30 日間)
roberto
roberto 2023 年 3 月 9 日
回答済み: Meet 2024 年 9 月 11 日
hello everybody
I've an array file, class double 5000x1, saved in Matlab drive. it contains a column of time series data:
what is the correct format to be used for neural network analyses? tks

回答 (1 件)

Meet
Meet 2024 年 9 月 11 日
Hi Roberto,
When using neural networks for time series analysis in MATLAB, especially with the Deep Learning Toolbox, it's important to format your data appropriately to ensure effective training and prediction. Here's a guideline on the correct data format:
  • For the input data, your 5000x1 array should be structured into sequences if you are using networks like LSTMs or RNNs. Each sequence serves as an input sample.
  • The data should be in a format compatible with MATLAB's neural network functions. For LSTM networks, this often means using cell arrays where each cell contains a sequence of data points.
  • Normalize your data to improve network performance. This involves scaling your data to a specific range, often [0, 1].
You can refer to the resource below for more information:

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by