dsDataCheck
Check the data of the given dataset
Contents
Syntax
- status=dsDataCheck(DS)
- [status, message]=dsDataCheck(DS)
Description
dsDataCheck(DS) checks the data of the given dataset DS. It returns 1 if there is any errors in the data.
[status, message]=dsDataCheck(DS) also returns the error message if any.
Example
ds=prData('iris'); ds.output(1)=0; [status, message]=dsDataCheck(ds); if status, fprintf('%s\n', message{1}); end
DS.output has wrong format! (It should have a value from 1 to no. of classes.)
See Also
dsScatterPlot, dsScatterPlot3, dsProjPlot1, dsProjPlot2, dsProjPlot3.