Training a neural network for different operating points
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
tobias
el 12 de Ag. de 2024
Respondida: Prasanna
el 14 de Ag. de 2024
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 ?
0 comentarios
Respuesta aceptada
Prasanna
el 14 de Ag. de 2024
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!
0 comentarios
Más respuestas (1)
Taylor
el 12 de Ag. de 2024
You'll want to use a sequenceInputLayer. I would recommend following this example, seems similar to the task you've described.
0 comentarios
Ver también
Categorías
Más información sobre Image Data Workflows en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!