error: [inputValues, targetValues] = input_preprocess();

조회 수: 1 (최근 30일)
faaruuq jamaludin
faaruuq jamaludin 2018년 3월 12일
댓글: faaruuq jamaludin 2018년 3월 12일
[inputValues, targetValues] = input_preprocess(); % Transform the labels to correct target values.
% Choose form of MLP:
numberOfHiddenUnits = 1250;
% Choose appropriate parameters.
learningRate = 0.1;
% Choose activation function.
activationFunction = @logisticSigmoid;
dActivationFunction = @dLogisticSigmoid;
% Choose batch size and epochs. Remember there are 60k input values.
batchSize = 20;
epochs = 10000;
fprintf('Train twolayer perceptron with %d hidden units.\n', numberOfHiddenUnits);
fprintf('Learning rate: %d.\n', learningRate);
[hiddenWeights, outputWeights, error] = train(activationFunction, dActivationFunction, numberOfHiddenUnits, inputValues, targetValues, epochs, batchSize, learningRate);
save Train.mat hiddenWeights outputWeights
  댓글 수: 1
faaruuq jamaludin
faaruuq jamaludin 2018년 3월 12일
[inputValues, targetValues] = input_preprocess(); % Transform the labels to correct target values.
i dont understand the above

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

답변 (0개)

카테고리

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