asreview.state.SQLiteState.get_last_ranking

SQLiteState.get_last_ranking()[source]

Get the ranking from the state.

Returns:

pd.DataFrame – Dataframe with columns ‘record_id’, ‘ranking’, ‘classifier’, ‘query_strategy’, ‘balance_strategy’, ‘feature_extraction’, ‘training_set’ and ‘time’. It has one row for each record in the dataset, and is ordered by ranking.