Skip to content

← statistics package

MahalanobisDistance

Calculate the Mahalanobis distance for some data points with respect to some mean and covariance.

This node will use the space axis if present in the mean input, and otherwise it will use the feature axis if present. This chosen axis needs to appear twice in the covariance input. Note that mean, covariance and data can have additional axes, but they must have the same number of elements for each of them. Version 0.6.0

Ports/Properties

mean

Reference centroid.

  • verbose name: Mean
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: IN

covariance

Reference covariance matrix.

  • verbose name: Covariance
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: IN

data

Data to process.

  • verbose name: Data
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

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)