PRTools Contents

PRTools User Guide

isvaldset

ISVALDSET

Test whether the argument is a valid dataset

    N = ISVALDSET(A);
    N = ISVALDSET(A,M);
    N = ISVALDSET(A,M,C);

Input
 A Input argument, to be tested on dataset
 M Minimum number of objects per class in A
 C Minimum number of classes in A

Output
 N 1/0 if A is / isn't a valid dataset

Description

Test whether A is a proper dataset with at least C classes.  For crisp datasets this function tests whether A is a dataset that has  at least M objects per class and C classes.  For datasets with soft or targets labels it is tested whether A has at  least M objects.

See also

isdataset, ismapping, isdataim, isfeatim, iscomdset,

PRTools Contents

PRTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.