dsFormatCheck

Check the format of the given dataset

Contents

Syntax

Description

dsFormatCheck(DS) checks the format of the given dataset DS. It returns 1 if there is any errors in the format.

[status, message]=dsFormatCheck(DS) also returns the error message if any.

Example

ds=prData('iris');
ds.output(1)=0;
[status, message]=dsFormatCheck(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.


Top page   Next: dsFeaVsIndexPlot.m   Prev:dsFuzzify.m