PRTools contents |
ISVALDFILE
N = ISVALDFILE(A);
N = ISVALDFILE(A,M);
N = ISVALDFILE(A,M,C);
Input | |
A | Input argument, to be tested on datafile or 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 datafile or dataset |
The function ISVALDFILE tests if A is a datafile or dataset that has at least C classes. It is an extension of ISVALDSET and can be used it when datasets as well as datafiles are allowed. For datafiles(sets) with soft or targets labels it is tested whether A has at least M objects.
isdataset, ismapping, isdataim, isfeatim, iscomdset, isvaldset,
PRTools contents |