covartech / PRT

Pattern Recognition Toolbox for MATLAB
http://covartech.github.io/
MIT License
144 stars 70 forks source link

problem in "explore" for unlabeled targets #17

Closed peterTorrione closed 11 years ago

peterTorrione commented 11 years ago

ds = catFeatures(prtDataGenUnimodal,prtDataGenUnimodal); ds.targets(10) = nan; plot(ds)

Error using prtDataSetClass/explore (line 928) An unexpected error was encountered with explore(). If this error persists you may want to try using exploreSimple().

Error in prtDataSetClass/plot (line 959) explore(obj);

The problem has something to do with the number of things in the UITABLE, and the fact that "displayLogical" is too short when there are NANs in the targets:

The actual error is on line 165 of prtPlotUtilDataSetExploreGuiWithNavigation

kennethmorton commented 11 years ago

I thought this might happen. I have an entirely revised explorer system that I hope to release soon. This new system handles unlabeled data just fine. I'll see if there is a quick fix for the old system.

kennethmorton commented 11 years ago

All fixed up.