asreview.ASReviewData.prior_labels
- ASReviewData.prior_labels(state, by_index=True)[source]
Get the labels that are marked as ‘prior’.
- state: BaseState
Open state that contains the label information.
- by_index: bool
If True, return internal indexing. If False, return record_ids for indexing.
- Returns:
numpy.ndarray – Array of indices that have the ‘prior’ property.