[E,C,D] = LOSO(A,CLASSF,LABLISTNAME)
In crossvalidation it may be desired that sets of corresponding objects (e.g. pixels from the same image) are all together in the training set or in the test set. This might be enabled by adding an additional labeling to the dataset A (see ADDLABELS) corresponding to the sets and running LOSO with the corresponding LABLISTNAME. Alternatively, the set labels may be supplied in the call. In SET_LABLIST a ranking of the used labels can be supplied that will be used in C. In case SET_LABLIST does not contain all set labels used in SET_LABELS LOSO will only test the set labels given in SET_LABLIST and thereby perform areduced crosvalidation.
The reported error E identical to E = sum(C)./classsizes(D)*getprior(A)'; By confmat(D) a confusion matrix can be visualised.