SQLiteState.add_labeling_data(record_ids, labels, notes=None, prior=False)[source]

Add the data corresponding to a labeling action to the state file.

  • record_ids (list, numpy.ndarray) – A list of ids of the labeled records as int.

  • labels (list, numpy.ndarray) – A list of labels of the labeled records as int.

  • notes (list of str/None) – A list of text notes to save with the labeled records.

  • prior (bool) – Whether the added record are prior knowledge.