xpectra.load_labeled

xpectra.load_labeled(route, trust, pre=None)[source]

Labeled spectra (4 studies, unknowns dropped), grouped 6-class labels.

When trust.dedupe_spectra is set, exact-duplicate spectra within a study are dropped (keep-first) before the arrays are returned; n_dropped_duplicates records how many rows were removed.

Parameters:
Return type:

dict[str, Any]