Discrete regression plot of neural networks in matlab
Show older comments
Hi, I have 31 inputs, and 11 output. 600 sample size. Every output has 3 levels' value (high value, medicate value and low value).I used NNs fitting to predict the output.The regression diagram turns out to be like the pic1.However, when I changed the output function to be logistic function, it turns out to be pic2. I wonder if the transfer function can help to transfer the discrete values into continuous? It really doesn't matter with layers of NNs, number of neurons and ratio of training data, as I tried many combination of them. Except for the logistic function for output layer shows in pic2, others are showed similar as pic1. Also, I tried pattern recognition. However, my outputs are too many, 11 * 3. I cannot get the good confusion plot. Any suggestion with this problem? Should I go with the fitting or pattern recognition? Thank you.


2 Comments
Greg Heath
on 29 Nov 2014
When the output transfer function was purelin, what 3 numerical target values are associated with high, medium (note spelling) and low?
I am confused: You have more than 3 target values on your plots
Which logistic output function did you use? tansig or logsig? What 3 values?
More explanation is needed. Especially the syntax of the target matrix.
Rain
on 15 Dec 2014
Accepted Answer
More Answers (1)
Greg Heath
on 17 Dec 2014
1 vote
Scale all 11 targets to 3 discrete values -1,0,1
Use purelin and round the outputs
Hope this helps.
Thank you for formerly accepting my answer
Greg
2 Comments
Greg Heath
on 20 Jan 2016
Why don't you just use te classifier function patternnet with 3 dimensional outputs from the columns of the 3-dimensional {0,1} unit matrix eye(3).
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
