@classmethod
    def getSequenceEndsImportance(cls, dataset):
        importance = zeros(dataset.getLength())
        importance[cls.getSequenceEnds(dataset)] = 1.
        return importance
Returns the importance values of the last elements of the sequences
dataset/ETHPy150Open pybrain/pybrain/pybrain/tools/validation.py/SequenceHelper.getSequenceEndsImportance