asreview.state.SQLiteState.add_last_ranking
- SQLiteState.add_last_ranking(ranked_record_ids, classifier, query_strategy, balance_strategy, feature_extraction, training_set)[source]
Save the ranking of the last iteration of the model.
Save the ranking of the last iteration of the model, in the ranking order, so the record on row 0 is ranked first by the model.
- Parameters:
ranked_record_ids (list, numpy.ndarray) – A list of records ids in the order that they were ranked.
classifier (str) – Name of the classifier of the model.
query_strategy (str) – Name of the query strategy of the model.
balance_strategy (str) – Name of the balance strategy of the model.
feature_extraction (str) – Name of the feature extraction method of the model.
training_set (int) – Number of labeled records available at the time of training.