Training a neural network for different operating points

41 次查看(过去 30 天)
Hello,
i want to train a neural network to predict the temperature of an electrical machine in different operating points.
I have input data in the form of:
4x1 Cell, each cell with 101x3 elements
So the first cell contains the data for the first operating point, the second for the second...
And Target Data:
4x1 Cell, each cell with 101x1 elements
Where the first cell contains data for the first operating point, the second...
My question is now, which input layer i should use, so that the data is treated correctly ?

采纳的回答

Prasanna
Prasanna 2024-8-14,12:03
Hi Tobias,
To train a neural network with your provided data format, you need to ensure that the input layer can properly handle the cell array structure and the dimensions of your data. Given that your input data consists of 4 cells, each containing a 101x3 matrix, and your target data consists of 4 cells, each containing a 101x1 vector, you can use a sequence input layer in MATLAB.
Assuming the input data and target data are present in cell array formats, you can use a sequence input layer followed by a LSTM or other layers suitable for time-series prediction. Assuming 3 features for each operating point, you can use a ‘sequenceInputLayer(3)’ to create a sequence input layer with an input size of 3. For more information regarding the sequence input layer, you can refer to the following documentation: https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.sequenceinputlayer.html
Once the input layer is created, you can define a network architecture and training options as needed based on your specific requirements and data characteristics. For more references, you can look at the following documentation: https://www.mathworks.com/help/deeplearning/ug/time-series-forecasting-using-deep-learning.html
Hope this helps!

更多回答(1 个)

Taylor
Taylor 2024-8-12,12:11
You'll want to use a sequenceInputLayer. I would recommend following this example, seems similar to the task you've described.

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by