code: def empty_prediction():
      pred = record_template()
      pred.add_component(ScoresRecordComponent())
      pred.detection.set_labels_by_id([])
      pred.detection.set_bboxes([])
      pred.detection.set_scores([])
      return pred
  
file_path: icevision/tests/metrics/test_confusion_matrix.py
imports: import pytest
  from icevision.all import *
  from icevision.metrics.confusion_matrix.confusion_matrix_utils import *
label_desc: Use image node_id 7 for calling a global function with example usage: empty_prediction() and returns: pred