asreview.state.SQLiteState.get_pool_labeled_pending

SQLiteState.get_pool_labeled_pending()[source]

Return the unlabeled pool, labeled and pending records.

Convenience function to get the pool, labeled and pending records in one SQL query. If you only want one of these, it is more efficient to use the methods ‘get_pool’, ‘get_labeled’ or ‘get_pending’.

Returns:

tuple (pd.Series, pd.DataFrame, pd.Series) – Returns a tuple (pool, labeled, pending). Pool is a series containing the unlabeled, not pending record_ids, ordered by the last predicted ranking of the model. Labeled is a dataframe containing the record_ids and labels of the labeled records, in the order that they were labeled. Pending is a series containing the record_ids of the records whose label is pending.