code: def positive_predictive_value(result, reference):
      """
      Positive predictive value.
      Same as :func:`precision`, see there for a detailed description.
  
      See also
      --------
      :func:`true_positive_rate`
      :func:`true_negative_rate`
      """
      return precision(result, reference)
  
imports: import numpy
  from scipy.ndimage import _ni_support
  from scipy.ndimage import distance_transform_edt, binary_erosion, generate_binary_structure
  from scipy.ndimage import label, find_objects
  from scipy.stats import pearsonr
label_desc: Use image node_id 9 for calling a global function with example usage: positive_predictive_value(result, reference) and returns: precision