code: def get_mtl_positive_class_weights(targets, args):
      pos_class_weights = {}
      if Task.BINARY_CLASSIFICATION.value in targets:
          pos_class_weights = {
              target: float(
                  args[
                      f"{MtlArgsPrefix.POS_CLASS_WEIGHT_ARG_PREFIX.value}{target}"
                  ]
              )
              if f"{MtlArgsPrefix.POS_CLASS_WEIGHT_ARG_PREFIX.value}{target}"
              in args
              else 1.0
              for target in targets[Task.BINARY_CLASSIFICATION.value]
          }
      return pos_class_weights
  
imports: import merlin.models.tf
  from tensorflow.keras import regularizers
  from .args_parsing import MtlArgsPrefix, Task
label_desc: Use image node_id 3 for calling a global function with example usage: get_mtl_positive_class_weights(targets, args) and returns: pos_class_weights