def score(self, epochs=None, y=None):
        if epochs is not None:
            self.predict(epochs)
        else:
            if not hasattr(self, 'y_pred_'):
                raise RuntimeError('Please predict() epochs first or pass '
                                   'epochs to score()')
        self._prep_times()
        super(TimeDecoding, self).score(epochs=None, y=y)
        self._clean_times()
        return self.scores_
Score Epochs
dataset/ETHPy150Open mne-tools/mne-python/mne/decoding/time_gen.py/TimeDecoding.score