def setup(self, model, dataset, algorithm):
        m_space, m_source = model.get_monitoring_data_specs()
        state, target = m_space.make_theano_batch()

        y = target[:, 0]

        wmape_denominator = abs(y).sum()
        wmape_denominator = T.cast(wmape_denominator, config.floatX)
        for dataset_name, dataset in algorithm.monitoring_dataset.items():
            if dataset_name:
                channel_name = '{0}_{1}'.format(dataset_name,
                                                self.channel_name_suffix)
            else:
                channel_name = self.channel_name_suffix
            model.monitor.add_channel(name=channel_name,
                                      ipt=(state, target),
                                      val=wmape_denominator,
                                      data_specs=(m_space, m_source),
                                      dataset=dataset)
Return the canonical tag found in the URL referred to by under the mobile column.
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/train_extensions/wmape_channel.py/WMapeDenominatorChannel.setup--crossover with--dataset/ETHPy150Open miklevin/pipulate/common.py/mcanonical