필터 지우기
필터 지우기

Test trained network with different input sizes

조회 수: 1 (최근 30일)
amin sari
amin sari 2018년 10월 30일
댓글: amin sari 2018년 10월 31일
Hello everyone,
My question is if we trained a NN with dataset of size(200 * 50) and targets of size(200 * 50) and the trained procedure is row based (i.e. input1 size = 25 and input2 size = 25 gives the ouput with size = 50).
so after we trained the network and save it to use it as function. can we test it like:
Res = net([input1, input2]); % input1.size = 15 and input2.size = 10
% so the result will have size?
is it possible to test with different size inputs?

채택된 답변

Greg Heath
Greg Heath 2018년 10월 31일
All input vectors must have the same length as the training input column vectors. Then the output vectors will always have the same length as the training output column vectors.
Hope this helps.
*Thank you for formally accepting my answer*
Greg
  댓글 수: 1
amin sari
amin sari 2018년 10월 31일
I knew that but i want to know if there is an exception!!! i accept it anyway.
thank you dear Greg

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sequence and Numeric Feature Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by