Weighted Average
PureWeightedAverageCalculates the weighted average of an array of values with corresponding weights.
Type: Pure (no side effects)
Category: Fortuna|Math & Numeric
Keywords: math & numeric
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Values | TArray<float> | — | Values parameter |
| Weights | TArray<float> | — | Weights parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | float | ReturnValue output |
Example Use Cases
Example 1
Calculate overall score from categories with different importance.
Example 2
Blend multiple AI evaluations with confidence weights.