Train a Neural Network with multidimensional matrices
3 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
Srivardhan Gadila
2020 年 3 月 4 日
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
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!