Problem with bias-variance tradeoff in neural network
Ältere Kommentare anzeigen
Hi everyone, I've a problem with the error values returned by train function. In the first place, using:
[ net tr y e ] = train(net,x,t);
The matrix "e" returned has dimensions [number of classes x number of samples] but most of values has the negative sign. Why? What are those values? In which set these values relate? Training set, validation set or test set? In the second place, using:
biaserr = mean(e(:))
varerr = var(e(:))
despite the different size of the network (by inserting a different number of hidden units or by changing the number of hidden layer), I get always a bias value of zero. What are the causes of this phenomenon?
The dataset that use is unbalanced, in addition, whatever the number of hidden units or hidden layer get a maximum of 10% of the classification error.
Akzeptierte Antwort
Weitere Antworten (1)
Greg Heath
am 16 Apr. 2017
0 Stimmen
Insufficient explanation:
I assume classification. For which the mean and variance of the error e = t-y is typically, irrelevant.
How many classes? Size of each class?
Dimensions of input and target matrices?
Are the targets [0,1] unit vectors?
Why aren't you using the MATLAB function PATTERNNET ?
Perplexed,
Greg
1 Kommentar
Alessandro Lo Presti
am 20 Apr. 2017
Kategorien
Mehr zu Gaussian Process Regression finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!