subflow_timing_node

Module: missions.nodes.debug.subflow_timing_node

Measure and dump the average time consumption of a given subflow

Inheritance diagram for pySPACE.missions.nodes.debug.subflow_timing_node:

Inheritance diagram of pySPACE.missions.nodes.debug.subflow_timing_node

SubflowTimingNode

class pySPACE.missions.nodes.debug.subflow_timing_node.SubflowTimingNode(nodes=None, input_dim=None, output_dim=None, dtype=None, **kwargs)[source]

Bases: pySPACE.missions.nodes.meta.flow_node.FlowNode

Measure and dump the average time consumption of a given subflow

This node measures the time average time of the execution of a given subflow. The measurement is performed for every split.

Works as the flow node in all other aspects.

Exemplary Call

-
    node : SubflowTimingNode
    parameters :
         input_dim : 64
         output_dim : 1612
         nodes :
                   -
                       node : ChannelNameSelector
                       parameters :
                           inverse : True
                           selected_channels: ["EMG1","EMG2","TP7","TP8"]
                   -
                       node : Decimation
                       parameters :
                           target_frequency : 25.0
                   -
                       node : FFT_Band_Pass_Filter
                       parameters :
                           pass_band : [0.0, 4.0]
                   -
                       node : Time_Domain_Features
                       parameters :
                             moving_window_length : 1
         change_parameters :
               -
                   node : ChannelNameSelector
                   parameters :
                       inverse : False
                       selected_channels : ["EMG1","EMG2"]
Author:

Hendrik Woehrle (hendrik.woehrle@dfki.de)

POSSIBLE NODE NAMES:
 
  • SubflowTimingNode
  • SubflowTiming
POSSIBLE INPUT TYPES:
 
  • PredictionVector
  • FeatureVector
  • TimeSeries

Class Components Summary

_execute(data)
input_types
node_from_yaml(nodes_spec) Creates the FlowNode node and the contained chain based on the node_spec
perform_final_split_action()
__init__(nodes=None, input_dim=None, output_dim=None, dtype=None, **kwargs)[source]
perform_final_split_action()[source]
_execute(data)[source]
static node_from_yaml(nodes_spec)[source]

Creates the FlowNode node and the contained chain based on the node_spec

input_types = ['PredictionVector', 'FeatureVector', 'TimeSeries']