Example #1
0
    def __init__(self, erp_class_label, retained_channels=None):
        super(SSNRSinkNode, self).__init__()

        # We reuse the ClassificationCollection (maybe this should be renamed to
        # MetricsDataset?)
        self.set_permanent_attributes(# Object for handling SSNR related calculations
                                      ssnr=SSNR(erp_class_label, retained_channels),
                                      # Result collection
                                      ssnr_collection=BinaryClassificationDataset(),
                                      erp_class_label=erp_class_label)