Using the Neural Network toolbox, why do I get more solutions than I should be getting?
조회 수: 1 (최근 30일)
이전 댓글 표시
I created a neural network using the fitting tool. Inputs were 98x2 whereas Outputs were 98x1. After the network called "net" was created, I tried to simulate it using the command (y1=sim(net,[numbers looking outputs for])). Normally, I should be getting 1 answer for the two input values that I chose. However, for some reason I am getting as many answers as inputs. Any idea what might be causing that?
Thank you
댓글 수: 0
채택된 답변
Greg Heath
2014년 7월 8일
Transpose your data matrices
[ I N ] = size(Input)
[ O N ] = size(Output)
Thank you for formally accepting my answer
Greg
댓글 수: 0
추가 답변 (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!