How to take matrices as input to neural network?
3 次查看(过去 30 天)
显示 更早的评论
I have 5000 matrices of size 20x20. How to take these as input to my neural network? Is making a column vector of size 400x1 the only way? Is there some way I can have 20 input features of size 1x20?
7 个评论
KSSV
2021-6-15
Yes...you can try for each feature of matrix 1x20 on output ....so each row corresponds to one number of target.
回答(1 个)
Gagan Agarwal
2024-5-27
Hi Pritam
Yes it is possible and you can try for each feature of matrix to 1x20 on output and that too through various netwroks depending on the nature of your data and what you're trying to achieve.
For instance if:
- spatial relationships are crucial, consider CNNs.
- sequential relationships matter, look at RNNs or their variants.
- you're interested in treating each row/column as a separate entity without focusing on spatial or sequential relationships, the multiple input models or separate input channels approach could work.
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!