필터 지우기
필터 지우기

New Toolbox RNA: access the data divided by net.divide function

조회 수: 3 (최근 30일)
I'm trying adapt me with new ANN toolbox and use the functions pre-programed usually i wore the complex lines for divide the data for ANN in test,training and validation. Now i used the fuctions pre-progamed but i don´t know how access the data set create by function net.divide.
Ex.:
net.divideFcn = 'dividerand';
net.divideMode = 'time';
net.divideParam.trainRatio = 70/100;
net.divideParam.valRatio = 15/100;
net.divideParam.testRatio = 15/100;
where i can access the data divided by net.divide function?
thanks in advance

채택된 답변

Greg Heath
Greg Heath 2012년 7월 18일
%Apparently, they can only be recovered AFTER training via the structure tr
[x,t] = simplefit_dataset;
rng(4151941) % Initialize RNG
net = newff(x,t); % Random weight initialization
[net tr ] = train(net,x,t);
tr.trainInd
tr.valInd
tr.testInd
tr.trainMask{:}
tr.valMask{:}
tr.testMask{:}
%Hope this helps
%Greg

추가 답변 (1개)

Artur M. G. Lourenço
Artur M. G. Lourenço 2012년 7월 12일
Network Object

카테고리

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