MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   多维问题的神经网络 (https://www.labfans.com/bbs/showthread.php?t=23787)

poster 2019-12-10 20:48

多维问题的神经网络
 
我想知道神经网络是否有可能在矩阵上运行,我想这样做:

A(i)=matrix(10,10) -> B(i)=matrix(10,10) input = vector of matrices, i = sample size output = vector of matrices 说我想猜一个矩阵运算将矩阵转换成另一个矩阵,即

f(A(i,j))=2*A(i,j)*b Matlab在NNtool中不接受维数大于2的数组

任何的想法?

谢谢



[B]回答:[/B]

您可以简单地将数组转换为向量,然后再将其传递给NNtool。它不会影响您的计算结果。

换句话说,您没有传递A(:,:,i)到NNtool,而是传递了reshape(A(:,:,i),[],1) 。然后,使用B = reshape(outputOfNNtool,10,10)将输出重塑为10x10数组。



[url=https://stackoverflow.com/questions/3478459]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 01:02

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.