Skip to content

← machine_learning package

LearningMethod

Represents a learning method implemented by a graph.

This is a somewhat ancient node that is not used much at this time; it is kept for backward compatibility and will eventually be superseded by an import system. This node can be used to instantiate a sub-graph that implements a learning method inside another graph. The sub-graph must have an input and an output port node of name 'data'

Version 1.0.0

Ports/Properties

  • data
    Data to process.

    • verbose name: Data
    • default value: None
    • port type: DataPort
    • value type: Packet (can be None)
    • data direction: INOUT
  • filename
    Name of the patch file to load.

    • verbose name: Filename
    • default value: None
    • port type: StringPort
    • value type: str (can be None)
  • set_breakpoint
    Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

    • verbose name: Set Breakpoint (Debug Only)
    • default value: False
    • port type: BoolPort
    • value type: bool (can be None)
  • metadata
    User-definable meta-data associated with the node. Usually reserved for technical purposes.

    • verbose name: Metadata
    • default value: {}
    • port type: DictPort
    • value type: dict (can be None)