Should we also check that, for "supervised" and "anti_supervised", one of the indices is equal to the index of the label layer?