class_docstr: Abstract base class for a label model implementation.
  
  Args:
      weak_labels: Every label model implementation needs at least a `WeakLabels` instance.
class_docstr_tok: ["Abstract","base","class","for","a","label","model","implementation",".","Args",":","weak_labels",":","Every","label","model","implementation","needs","at","least","a","`","WeakLabels","`","instance","."]
docstr: Applies the label model.
  
  Args:
      include_annotated_records: Whether to include annotated records.
      prediction_agent: String used for the ``prediction_agent`` in the returned records.
      **kwargs: Specific to the label model implementations
  
  Returns:
      A dataset of records that include the predictions of the label model.
docstr_tok: ["Applies","the","label","model",".","Args",":","include_annotated_records",":","Whether","to","include","annotated","records",".","prediction_agent",":","String","used","for","the","``","prediction_agent","``","in","the","returned","records",".","*","*","kwargs",":","Specific","to","the","label","model","implementations","Returns",":","A","dataset","of","records","that","include","the","predictions","of","the","label","model","."]
code: def predict(
      self,
      include_annotated_records: bool = False,
      prediction_agent: str = "LabelModel",
      **kwargs,
  ) -> DatasetForTextClassification:
      """Applies the label model.
  
      Args:
          include_annotated_records: Whether to include annotated records.
          prediction_agent: String used for the ``prediction_agent`` in the returned records.
          **kwargs: Specific to the label model implementations
  
      Returns:
          A dataset of records that include the predictions of the label model.
      """
      raise NotImplementedError
  
imports: import hashlib
  import logging
  from enum import Enum
  from typing import Dict, List, Tuple, Union
  import numpy
  from argilla import DatasetForTextClassification, TextClassificationRecord
  from argilla.labeling.text_classification.weak_labels import WeakLabels, WeakMultiLabels
  from argilla.utils.dependency import requires_dependencies
label_desc: Use image node_id 5 for calling the LabelModel obj's underlying member method code with example usage: obj.predict(include_annotated_records, prediction_agent) without return types