code: def classify(self, encoding, num=1):
      
      probDist = numpy.exp(encoding) / numpy.sum(numpy.exp(encoding))
      sortIdx = numpy.argsort(probDist)
      return sortIdx[-num:].tolist()
docs: Classify with basic one-hot local incoding