Pastebin

Paste #1294: m

< previous paste - next paste>

Pasted by tdn

Download View as text

samples=P
targetsamples=T

net = newff(samples, targetsamples, [], 'tansig', 'trainlm');
%net.biasConnect(layerNumber) = booleanValue;
net.biasConnect(1) = 1;
net.trainParam.epochs = 100;
[net trainingPerformance] = train(net, trainingInput, trainingTarge);
trainingPerformance

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.