Skip to content

← statistics package

Winsorize

Winsorize the given data.

This node will process the data along a given axis (usually the instance axis), and apply winsorization. In short, it will clip the data at a level that corresponds to a lower and upper percentile (e.g., 10th and 90th) of the data. This is a technique in robust data analysis that allows for subsequent statistics to be resilient to a certain fraction of outliers. More Info... Version 0.8.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

axis

Axis along which to winsorize the data.

  • verbose name: Take Statistics Along Axis
  • default value: instance
  • port type: ComboPort
  • value type: str (can be None)

trim_proportion_lower

Proportion to trim on the lower end of the data.

  • verbose name: Lower Proportion
  • default value: 0.1
  • port type: FloatPort
  • value type: float (can be None)

trim_proportion

Proportion to trim on the upper end of the data.

  • verbose name: Upper Proportion
  • default value: 0.1
  • port type: FloatPort
  • value type: float (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)