Module Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Import alias TryExcept body Import alias Assign NameStore NameLoad handlers ExceptHandler body Assign NameStore NameLoad TryExcept body Import alias identifier Assign NameStore NameLoad handlers ExceptHandler body Assign NameStore NameLoad ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Raise Call NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num body Assert BoolOpAnd Call NameLoad NameLoad NameLoad CompareGt Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assert CompareGtE NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assert CompareGt NameLoad Num Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num Num body Assert BoolOpAnd Call NameLoad NameLoad NameLoad CompareGt Call NameLoad NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assert CompareGtE NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assert CompareGt NameLoad Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Num Num body If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr BinOpMod Str NameLoad Assert CompareNotEq NameLoad NameLoad Assert BoolOpAnd CompareGt NameLoad Num CompareLt NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assert BoolOpAnd CompareGt NameLoad Num CompareLt NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If CompareGt AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad If CompareGt AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareEq Call NameLoad NameLoad Num body Assign NameStore ListLoad Assign NameStore Call NameLoad Str Assign NameStore Dict For NameStore NameLoad body If CompareIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad Num body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Pass AugAssignAdd AttributeStore NameLoad attr Num decorator_list Call NameLoad AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Str Num body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr BinOpMod Str NameLoad Assert CompareGt NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num Num Num body Expr Str Assert BoolOpOr BoolOpAnd CompareEq NameLoad Num CompareEq NameLoad Num CompareGt NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore Num If CompareGt Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num body Assign NameStore SubscriptLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad AttributeLoad NameLoad attr NameLoad body Raise AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If Call NameLoad NameLoad NameLoad body Raise NameLoad If CompareNotIn NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Training extension for allowing querying of monitoring values while an
experiment executes.
 N/A __authors__ Dustin Webb N/A __copyright__ Copyright 2010-2012, Universite de Montreal N/A __credits__ N/A Dustin Webb N/A __license__ 3-clause BSD N/A __maintainer__ LISA Lab N/A __email__ pylearn-dev@googlegroups N/A copy N/A N/A N/A zmq N/A zmq_available True N/A N/A N/A N/A zmq_available False N/A N/A N/A matplotlib.pyplot plt N/A pyplot_available True N/A N/A N/A N/A pyplot_available False functools wraps pylearn2.monitor Monitor pylearn2.train_extensions TrainExtension LiveMonitorMsg N/A object N/A N/A 
    Base class that defines the required interface for all Live Monitor
    messages.
     N/A response_set False get_response N/A N/A self N/A N/A N/A 
        Method that instantiates a response message for a given request
        message. It is not necessary to implement this function on response
        messages.
         N/A N/A NotImplementedError get_response is not implemented. N/A N/A ChannelListResponse N/A LiveMonitorMsg N/A N/A 
    A message containing the list of channels being monitored.
     N/A N/A ChannelListRequest N/A LiveMonitorMsg N/A N/A 
    A message indicating a request for a list of channels being monitored.
     get_response N/A N/A self N/A N/A N/A N/A ChannelListResponse N/A N/A wraps N/A LiveMonitorMsg get_response N/A ChannelsResponse N/A LiveMonitorMsg N/A N/A 
    A message containing monitoring data related to the channels specified.
    Data can be requested for all epochs or select epochs.

    Parameters
    ----------
    channel_list : list
        A list of the channels for which data has been requested.

    start : int
        The starting epoch for which data should be returned.

    end : int
        The epoch after which data should be returned.

    step : int
        The number of epochs to be skipped between data points.
     __init__ N/A N/A self channel_list start end step N/A 1 N/A N/A N/A N/A isinstance channel_list list N/A N/A len channel_list 0 N/A N/A self channel_list channel_list N/A N/A start 0 N/A N/A self start start N/A N/A self end end N/A N/A step 0 N/A N/A self step step N/A N/A ChannelsRequest N/A LiveMonitorMsg N/A N/A 
    A message for requesting data related to the channels specified.

    Parameters
    ----------
    channel_list : list
        A list of the channels for which data has been requested.

    start : int
        The starting epoch for which data should be returned.

    end : int
        The epoch after which data should be returned.

    step : int
        The number of epochs to be skipped between data points.
     __init__ N/A N/A self channel_list start end step N/A 0 -1 1 N/A N/A N/A N/A isinstance channel_list list N/A N/A len channel_list 0 N/A N/A self channel_list channel_list N/A N/A start 0 N/A N/A self start start N/A N/A self end end N/A N/A step 0 N/A N/A self step step N/A get_response N/A N/A self N/A N/A N/A N/A ChannelsResponse N/A self channel_list N/A self start N/A self end N/A self step N/A N/A wraps N/A LiveMonitorMsg get_response N/A LiveMonitoring N/A TrainExtension N/A N/A 
    A training extension for remotely monitoring and filtering the channels
    being monitored in real time. PyZMQ must be installed for this extension
    to work.

    Parameters
    ----------
    address : string
        The IP addresses of the interfaces on which the monitor should listen.

    req_port : int
        The port number to be used to service request.

    pub_port : int
        The port number to be used to publish updates.
     __init__ N/A N/A self address req_port pub_port N/A * 5555 5556 N/A N/A N/A zmq_available N/A N/A N/A ImportError zeromq needs to be installed to use this module. N/A N/A self address N/A tcp://%s address N/A N/A req_port pub_port N/A N/A N/A req_port 1024 N/A req_port 65536 N/A N/A self req_port req_port N/A N/A N/A pub_port 1024 N/A pub_port 65536 N/A N/A self pub_port pub_port N/A address_template N/A N/A self address :%d N/A N/A self context N/A N/A zmq Context N/A N/A self req_sock None N/A N/A N/A self req_port 0 N/A N/A N/A self req_sock N/A N/A N/A self context socket N/A zmq REP N/A N/A N/A N/A self req_sock bind N/A address_template N/A self req_port N/A N/A self pub_sock None N/A N/A N/A self pub_port 0 N/A N/A N/A self pub_sock N/A N/A N/A self context socket N/A zmq PUB N/A N/A N/A N/A self req_sock bind N/A address_template N/A self pub_port N/A N/A self counter 0 N/A on_monitor N/A N/A self model dataset algorithm N/A N/A N/A monitor N/A N/A Monitor get_monitor model N/A N/A N/A rsqt_msg N/A N/A N/A self req_sock recv_pyobj flags N/A zmq NOBLOCK N/A rsp_msg N/A N/A rsqt_msg get_response N/A N/A isinstance rsp_msg ChannelListResponse N/A N/A N/A rsp_msg data N/A list N/A N/A N/A monitor channels keys N/A N/A isinstance rsp_msg ChannelsResponse N/A N/A channel_list N/A rsp_msg channel_list N/A N/A N/A N/A isinstance channel_list list N/A N/A len channel_list 0 N/A N/A channel_list N/A N/A result N/A TypeError ChannelResponse requires a list of channels. N/A result N/A N/A channel_name channel_list N/A N/A N/A channel_name N/A N/A N/A monitor channels keys N/A N/A chan N/A N/A copy deepcopy N/A N/A monitor channels N/A channel_name N/A end N/A rsp_msg end N/A N/A end -1 N/A N/A end N/A len N/A chan batch_record N/A N/A chan batch_record N/A N/A chan batch_record N/A N/A rsp_msg start end N/A rsp_msg step N/A N/A chan epoch_record N/A N/A chan epoch_record N/A N/A rsp_msg start end N/A rsp_msg step N/A N/A chan example_record N/A N/A chan example_record N/A N/A rsp_msg start end N/A rsp_msg step N/A N/A chan time_record N/A N/A chan time_record N/A N/A rsp_msg start end N/A rsp_msg step N/A N/A chan val_record N/A N/A chan val_record N/A N/A rsp_msg start end N/A rsp_msg step N/A N/A result N/A channel_name chan N/A N/A N/A result N/A channel_name N/A KeyError N/A Invalid channel: %s N/A rsp_msg channel_list N/A N/A rsp_msg data result N/A N/A N/A N/A self req_sock send_pyobj rsp_msg N/A N/A N/A N/A zmq Again N/A N/A N/A N/A self counter 1 N/A N/A wraps N/A TrainExtension on_monitor N/A LiveMonitor N/A object N/A N/A 
    A utility class for requested data from a LiveMonitoring training
    extension.

    Parameters
    ----------
    address : string
        The IP address on which a LiveMonitoring process is listening.

    req_port : int
        The port number on which a LiveMonitoring process is listening.
     __init__ N/A N/A self address req_port N/A 127.0.0.1 5555 N/A N/A N/A N/A zmq_available N/A N/A N/A ImportError zeromq needs to be installed to use this module. N/A N/A self address N/A tcp://%s address N/A N/A req_port 0 N/A N/A self req_port req_port N/A N/A self context N/A N/A zmq Context N/A N/A self req_sock N/A N/A N/A self context socket N/A zmq REQ N/A N/A N/A N/A self req_sock connect N/A N/A N/A self address : N/A str N/A self req_port N/A N/A self channels N/A N/A list_channels N/A N/A self N/A N/A N/A 
        Returns a list of the channels being monitored.
         N/A N/A N/A N/A self req_sock send_pyobj N/A ChannelListRequest N/A N/A N/A N/A self req_sock recv_pyobj N/A update_channels N/A N/A self channel_list start end step N/A -1 -1 1 N/A N/A 
        Retrieves data for a specified set of channels and combines that data
        with any previously retrived data.

        This assumes all the channels have the same number of values. It is
        unclear as to whether this is a reasonable assumption. If they do not
        have the same number of values then it may request to much or too
        little data leading to duplicated data or wholes in the data
        respectively. This could be made more robust by making a call to
        retrieve all the data for all of the channels.

        Parameters
        ----------
        channel_list : list
            A list of the channels for which data should be requested.

        start : int
            The starting epoch for which data should be requested.

        step : int
            The number of epochs to be skipped between data points.
         N/A N/A N/A N/A start -1 N/A end -1 N/A end start N/A N/A start -1 N/A N/A start 0 N/A N/A N/A len N/A N/A N/A self channels keys 0 N/A N/A channel_name N/A N/A list N/A N/A N/A self channels keys N/A 0 N/A start N/A len N/A N/A N/A self channels N/A channel_name epoch_record N/A N/A N/A N/A self req_sock send_pyobj N/A ChannelsRequest channel_list start start end end step step N/A rsp_msg N/A N/A N/A self req_sock recv_pyobj N/A N/A isinstance N/A rsp_msg data Exception N/A N/A N/A rsp_msg data N/A channel N/A N/A N/A rsp_msg data keys N/A N/A rsp_chan N/A N/A rsp_msg data N/A channel N/A N/A isinstance rsp_chan Exception N/A N/A rsp_chan N/A N/A channel N/A N/A N/A self channels keys N/A N/A N/A N/A self channels N/A channel rsp_chan N/A N/A chan N/A N/A self channels N/A channel N/A N/A chan batch_record N/A rsp_chan batch_record N/A N/A chan epoch_record N/A rsp_chan epoch_record N/A N/A chan example_record N/A rsp_chan example_record N/A N/A chan time_record N/A rsp_chan time_record N/A N/A chan val_record N/A rsp_chan val_record N/A follow_channels N/A N/A self channel_list N/A N/A N/A 
        Tracks and plots a specified set of channels in real time.

        Parameters
        ----------
        channel_list : list
            A list of the channels for which data has been requested.
         N/A N/A pyplot_available N/A N/A N/A ImportError pyplot needs to be installed for this functionality. N/A N/A N/A plt clf N/A N/A N/A plt ion N/A True N/A N/A N/A N/A self update_channels channel_list N/A N/A N/A plt clf N/A channel_name N/A self channels N/A N/A N/A N/A plt plot N/A N/A N/A self channels N/A channel_name epoch_record N/A N/A N/A self channels N/A channel_name val_record label channel_name N/A N/A N/A plt legend N/A N/A N/A plt ion N/A N/A N/A plt draw N/A N/A