docstr: Arguments:
      score: prediction score between 0 and 1
docstr_tok: ["Arguments",":","score",":","prediction","score","between","0","and","1"]
code: def __init__(self, value: float):
      """
      Arguments:
          score: prediction score between 0 and 1
      """
      # if score is a numpy object, convert it to python variable
      if type(value).__module__ == "numpy":
          value = copy.deepcopy(value).tolist()
      # set score
      self.value = value
  
imports: import copy
  from typing import Dict, List, Optional, Union
  import numpy
  from PIL import Image
  from sahi.annotation import ObjectAnnotation
  from sahi.utils.coco import CocoAnnotation, CocoPrediction
  from sahi.utils.cv import read_image_as_pil, visualize_object_predictions
  from sahi.utils.file import Path
label_desc: Use image node_id 1 to create a new PredictionScore object  with example: obj = PredictionScore(value)