What operations are performed during testing/prediction of train()?

조회 수: 1 (최근 30일)
K M Ibrahim Khalilullah
K M Ibrahim Khalilullah 2023년 9월 26일
댓글: K M Ibrahim Khalilullah 2023년 10월 1일
Let see the example:
%%%Here input x and targets t define a simple function that you can plot:
x = [0 1 2 3 4 5 6 7 8];
t = [0 0.84 0.91 0.14 -0.77 -0.96 -0.28 0.66 0.99];
plot(x,t,'o')
%%%Here feedforwardnet creates a two-layer feed-forward network. The network has one hidden layer with ten neurons.
net = feedforwardnet(10);
net = configure(net,x,t);
y1 = net(x)
How does net work? What are the internal operations?

답변 (1개)

Balaji
Balaji 2023년 9월 27일
Hi Ibrahim,
I understand that you want to understand the 'feedforwardnet' function.
net = feedforwardnet(hiddenSizes,trainFcn)
returns a feedforward neural network with a hidden layer size of hiddenSizes.
For more information on 'feedforwardnet' I suggest you refer to the following link:
  댓글 수: 1
K M Ibrahim Khalilullah
K M Ibrahim Khalilullah 2023년 10월 1일
That was not my question, Mainly want to know about implementation. Bty, I have solved. Investigating the internal code. Thanks

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by