code: def fast_auc(actual, predicted):
      # https://www.kaggle.com/c/riiid-test-answer-prediction/discussion/208031
      pred_ranks = rankdata(predicted)
      return _auc(actual, pred_ranks)
  
file_path: BigDL/python/friesian/example/deep_fm/evaluation.py
imports: from collections import defaultdict
  import logging
  import numpy
  from numba import njit
  from scipy.stats import rankdata
label_desc: Use image node_id 2 for calling a global function with example usage: fast_auc(actual, predicted) and returns: _auc