Why deep learning code does not work well?
1 次查看(过去 30 天)
显示 更早的评论
Hi, I have trained, validated and tested my neural network with nprtool, using trainscg and croos-entropy.
The inputs are all in a single matrix and even the targets.
My problem occurs when I give the net more than 11264 columns as input and target (in my case I add 1024 columns every time, step by step), because the confusion matrix and the ROC curve give low performances. In fact, when I give until 10240 columns as input and target, the net has a precision of 98/99% at most but when the dimension increases, the precision drops to 91%....
I don't know how, sincerly... Con you help me?
0 个评论
采纳的回答
Aiswarya Subramanian
2019-7-4
Can you explain the structure of input matrix once again? What does "in my case I add 1024 columns every time, step by step" mean?
Also, I am understanding that by 'columns', you mean features. If then, it is possible that performance decreases by increasing the number of input features when there is high variance in your model. If your model is overfit to the training data, it’s possible you’ve used too many features and reducing the number of inputs will make the model more flexible to test or future datasets.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Pattern Recognition and Classification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!