Setting Neural network training dataset

조회 수: 1 (최근 30일)
Ahmed Abdulla
Ahmed Abdulla 2022년 1월 15일
답변: yanqi liu 2022년 1월 17일
I am aware that we can use the lines of code bellow to set the percentages of the dataset to be used for training, testing and validating, however I am planning to oversmaple my training dataset and save it in array 'A', and then have array 'B' and 'C' to be testing and validating datapoints. is there a way to use array A,B and C as my training, testing and validating datasets because I only want A to be oversampled
net.divideParam.trainRatio=0.7
net.divideParam.testRatio=0.15
net.divideParam.valRation-0.15

채택된 답변

yanqi liu
yanqi liu 2022년 1월 17일
yes,sir,may be set net.divideFcn、divideblock to get trainInd,valInd,testInd

추가 답변 (0개)

카테고리

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

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by