多维问题的神经网络

时间:2010-08-13 15:40:23

标签: matlab matrix neural-network

我想知道神经网络是否有可能在矩阵上运行说我想:

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的数组

有什么想法吗?

由于

1 个答案:

答案 0 :(得分:1)

您可以在将数组传递给NNtool之前将其简单地转换为向量。它对你的计算结果没有影响。

换句话说,不是将A(:,:,i)传递给NNtool,而是传递reshape(A(:,:,i),[],1)。然后使用B = reshape(outputOfNNtool,10,10)将输出重新整形为10x10阵列。