Skip to main content
Namespace: Ans.DataProcessing.operators.math correlation() correlation(fieldA: object, fieldB: object, weights: object, absoluteValue: object, config: OperatorConfig) correlation(config: OperatorConfig)

Class Information

Inputs

fieldA

Field a. The reference field. Type: LinkableInput

fieldB

Field b. If a fields container is provided, correlation is computed for each field. Type: LinkableInput

weights

Field M, optional weighting for correlation computation. Type: LinkableInput

ponderation

Deprecated alias of: weights Type: LinkableInput

absoluteValue

If true, correlation factor is ||aMb||/(||aMa||.||bMb||) Type: LinkableInput

Outputs

field

Correlation factor for each input field b. Type: LinkableOutput

index

If several b are provided, this output contains the index of the highest correlation factor. Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • fieldA (object)
  • fieldB (object)
  • weights (object)
  • absoluteValue (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config