Train a Neural Network with multidimensional matrices

3 Ansichten (letzte 30 Tage)
Francesco Basciani
Francesco Basciani am 24 Feb. 2020
I want use neural network to perform binary prediction for a set of 10 robotic manipulators that have to converge to a target position when arranged in a crowded environment. Each robot is characterized by 5 feature and my dataset is composed of 2000 simulations.Then if I indicate with N the number of features of the robots, with M the number of simulations and with R the number of the robots, I have a N x M x R matrix. The problem is that i cannot feed a Neural network with the data in this form and I am looking for another way to arrange the data for the Network. It is important that when i have to split the data for training, validation and test, the split is performed on the number of simulation M, and not on the number of robots R.
Thank you

Antworten (1)

Srivardhan Gadila
Srivardhan Gadila am 4 Mär. 2020
If you are thinking of a fullyconnected network then use the imageInputLayer for giving the input to the network and use the dividerand for splitting the dataset across M. Reshape your N x M x R matrix to N x R x 1 x M or R x N x 1 x M matrix using reshape function

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by