code: def feature_ranking(W):
      """
      This function computes MCFS score and ranking features according to feature weights matrix W
      """
      mcfs_score = W.max(1)
      idx = np.argsort(mcfs_score, 0)
      idx = idx[::-1]
      return idx
  
imports: import scipy
  import numpy
  from sklearn import linear_model
  from skfeature.utility.construct_W import construct_W
label_desc: Use image node_id 2 for calling a global function with example usage: feature_ranking(W) and returns: idx