Module Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ImportFrom alias ImportFrom alias identifier ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad ExtSlice Slice Index Num Assign NameStore Call AttributeLoad Call NameLoad BinOpSub NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword TupleLoad NameLoad NameLoad keyword NameLoad keyword TupleLoad NameLoad NameLoad keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index Num Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword TupleLoad NameLoad NameLoad keyword NameLoad keyword TupleLoad NameLoad NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A 
TrainExtension subclass for calculating Weighted Mean Average Percentage
Error scores for regression models on monitoring dataset(s), reported via
monitor channels.
:math:`WMAPE = rac{\sum_i|R_i - P_i|}{\sum_i |R_i|}`
 N/A __author__ Junbo chen N/A __copyright__ Copyright 2015, Alibaba Group N/A __license__ 3-clause BSD N/A __maintainer__ Junbo Chen theano config theano tensor T pylearn2.train_extensions TrainExtension WMapeNumeratorChannel N/A TrainExtension N/A N/A 
    Adds a WMape Numerator channel to the monitor for each monitoring dataset.
    It calculates the numerator of the WMAPE formula:
    :math:`WMAPE = rac{\sum_i|R_i - P_i|}{\sum_i |R_i|}`

    Parameters
    ----------
    channel_name_suffix : str, optional (default 'wmape_num')
        Channel name suffix.

    Notes
    ----------
    * See also: WMapeDenominatorChannel defines the denominator of the
        WMAPE formula.
     __init__ N/A N/A self channel_name_suffix N/A wmape_num N/A N/A N/A self channel_name_suffix channel_name_suffix N/A setup N/A N/A self model dataset algorithm N/A N/A N/A 
        Add WMAPE Numerator channels for monitoring dataset(s) to
        model.monitor.

        Parameters
        ----------
        model : object
            The model being trained.
        dataset : object
            Training dataset.
        algorithm : object
            Training algorithm.
         N/A N/A m_space m_source N/A N/A model get_monitoring_data_specs N/A N/A state target N/A N/A m_space make_theano_batch N/A y N/A target N/A N/A N/A 0 N/A y_hat N/A N/A N/A model fprop state N/A N/A N/A 0 N/A wmape_numerator N/A N/A N/A abs N/A y y_hat sum N/A wmape_numerator N/A N/A T cast wmape_numerator N/A config floatX N/A N/A dataset_name dataset N/A N/A N/A algorithm monitoring_dataset items N/A N/A dataset_name N/A N/A channel_name N/A N/A {0}_{1} format dataset_name N/A self channel_name_suffix N/A N/A channel_name N/A self channel_name_suffix N/A N/A N/A N/A model monitor add_channel name channel_name ipt N/A state target val wmape_numerator data_specs N/A m_space m_source dataset dataset N/A N/A WMapeDenominatorChannel N/A TrainExtension N/A N/A 
    Adds a WMape Denominator channel to the monitor for each monitoring
    dataset. It calculates the denominator of the WMAPE formula:
    :math:`WMAPE = rac{\sum_i|R_i - P_i|}{\sum_i |R_i|}`

    Parameters
    ----------
    channel_name_suffix : str, optional (default 'wmape_den')
        Channel name suffix.

    Notes
    ----------
    * See also: WMapeNumeratorChannel defines the numerator of the
        WMAPE formula.
     __init__ N/A N/A self channel_name_suffix N/A wmape_den N/A N/A N/A self channel_name_suffix channel_name_suffix N/A setup N/A N/A self model dataset algorithm N/A N/A N/A 
        Add WMAPE Denominator channels for monitoring dataset(s) to
        model.monitor.

        Parameters
        ----------
        model : object
            The model being trained.
        dataset : object
            Training dataset.
        algorithm : object
            Training algorithm.
         N/A N/A m_space m_source N/A N/A model get_monitoring_data_specs N/A N/A state target N/A N/A m_space make_theano_batch N/A y N/A target N/A N/A N/A 0 N/A wmape_denominator N/A N/A N/A abs y sum N/A wmape_denominator N/A N/A T cast wmape_denominator N/A config floatX N/A N/A dataset_name dataset N/A N/A N/A algorithm monitoring_dataset items N/A N/A dataset_name N/A N/A channel_name N/A N/A {0}_{1} format dataset_name N/A self channel_name_suffix N/A N/A channel_name N/A self channel_name_suffix N/A N/A N/A N/A model monitor add_channel name channel_name ipt N/A state target val wmape_denominator data_specs N/A m_space m_source dataset dataset N/A N/A