@classmethod
    def oneOfManyToClasses(cls, data):
        return apply_along_axis(argmax, 1, data)
Converts data in one-of-many format to class indices format and
dataset/ETHPy150Open pybrain/pybrain/pybrain/tools/validation.py/ClassificationHelper.oneOfManyToClasses