Problem with targets in nprtool
显示 更早的评论
I'm trying to train a ANN using the nprtool but i can't select my targets. The targets option is empty while the inputs shows all my data. Why is it happening? Any idea?
Thanks in advance
4 个评论
Mattias
2011-10-26
Can verify that I have exactly the same problem. The Input dialog works perfect! The target dialog is not working!
However, the provided Example Data Sets can be loaded as targets and thereafter selected but I can't select my own ones. Doesn't matter if I load data into the workspace or selects the variables directly from a mat-file. The target dialog is not working! (System: OS X - Lion)
From my point of view, -No folder problem!
Any idea?
Greg Heath
2012-4-18
Are your targets columns of the unit matrix?
Hope this helps.
Greg
udoInyang inyang
2016-5-10
The target must contain binary data. That a maximum of two classes.
Greg Heath
2016-5-27
Not at all! For c classes, the target columns are columns of the {0,1} unit matrix eye(c);
[ x t ] = iris_dataset;
whos % No semicolon
t = t % No semicolon
Hope this helps.
Greg
采纳的回答
更多回答(4 个)
Alan Norman
2012-9-10
编辑:Alan Norman
2012-9-10
1 个投票
I changed my target from a single integer 1 to 10 to a vector of [ 0 0 0 1 0 0 0 0 0 0 ] for each example and then my target appears in the GUI and life is good.
Jonatan Zapata
2012-4-18
0 个投票
I had the same problem with negative targets, I changed it with positive values and solve the problem.
Razieh
2014-2-22
0 个投票
I have the same problem. My target has size of 6*3600 and it's format is [0.9 0.1 0.1 0.1 0.1 0.1] and loaded into workspace but not appear to be chosen in nprtool, but input is ok. Can anybody help?
类别
在 帮助中心 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!