code: def LDA_discriminants(x, labels):
      try:    
          x = np.array(x)
      except:
          raise ValueError('Impossible to convert x to a numpy array.')
      eigen_values, eigen_vectors = LDA_base(x, labels)
      return eigen_values[(-eigen_values).argsort()]