code: def ae(actual, predicted):
      
      return np.abs(np.array(actual)-np.array(predicted))
docs: Computes the absolute error.
  
      This function computes the absolute error between two numbers,
      or for element between a pair of lists or numpy arrays.
  
      Parameters
      ----------
      actual : int, float, list of numbers, numpy array
               The ground truth value
      predicted : same type as actual
                  The predicted value
  
      Returns
      -------
      score : double or list of doubles
              The absolute error between actual and predicted