code: def ppv(X):
      """Numba proportion of positive values function for a 1d numpy array.
  
      Parameters
      ----------
      X : 1d numpy array
          A 1d numpy array of values
  
      Returns
      -------
      ppv : float
          The proportion of positive values range of the input array
      """
      count = 0
      for i in range(X.shape[0]):
          if X[i] > 0:
              count += 1
      return count / X.shape[0]
  
imports: from sktime.utils.validation._dependencies import _check_soft_dependencies
  import numpy
  import sktime.utils.numba.general
  from sktime.utils.numba.njit import njit
label_desc: Use image node_id 20 for calling a global function with example usage: ppv(X) and returns: unknown