def evaluate_corpus(self, dataset, predictions):
        '''Evaluate classification accuracy at corpus level, comparing with
        gold standard.'''
        total = 0.0
        correct = 0.0
        for i, sequence in enumerate(dataset.seq_list):
            pred = predictions[i]
            for j, y_hat in enumerate(pred.y):
                if(sequence.y[j] == y_hat):
                    correct += 1
                total += 1
        return total/correct
dataset/ETHPy150Open LxMLS/lxmls-toolkit/lxmls/sequences/sequence_classifier.py/SequenceClassifier.evaluate_corpus/swapped operands of `/`