Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
faaruuq jamaludin
faaruuq jamaludin am 12 Mär. 2018
Kommentiert: faaruuq jamaludin am 12 Mär. 2018
[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 Kommentar
faaruuq jamaludin
faaruuq jamaludin am 12 Mär. 2018
[inputValues, targetValues] = input_preprocess(); % Transform the labels to correct target values.
i dont understand the above

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by