Skip to main content

Highest Confidence

Select the option with the highest confidence from multiple columns. Inputs are expected to be of the form [<<value>>, <<confidence_score>>].

Select the option with the highest confidence from multiple columns. Inputs are expected to be of the form [value, confidence_score].

Parameters​

NameDescriptionAccepted ValuesDefaultRequired
I/O
inputList of the input columns to select from.array—Yes
outputIf two columns; the result and confidence. If one column; [result, confidence].string, array—Yes
Conditions
ifCondition that determines whether the wrangle runs as a whole. Recipe variables may be referenced with ${variable}.string—No
whereFilter rows before applying the wrangle using SQL-like criteria, such as column1 = 123 OR column2 = 'abc'.string—No
where_paramsValues used with where for parameterized criteria. Uses SQLite placeholder syntax such as ? or :name.array, object—No

Examples​

wrangles:
- select.highest_confidence:
input:
- Col1
- Col2
- Col3
output: Highest Confidence
Col1Col2Col3
['A', 0.79]['B', 0.77]['C', 0.99]
Highest Confidence
['C', 0.99]
wrangles:
- select.highest_confidence:
input:
- Col1
- Col2
- Col3
output:
- Item
- Confidence
Col1Col2Col3
['A', 0.79]['B', 0.77]['C', 0.99]
ItemConfidence
C0.99
Access
RequirementValue
AI-poweredNo
Requires WrangleWorks accountNo
Requires subscriptionNo
Requires external API keyNo
Technical details
FieldValue
Catalog ID54
Catalog keyselect.highest_confidence
Recipe keyselect.highest_confidence
Catalog statusactive
Lifecycle statusactive
Recipe Writer eligibleYes
Namespaceselect
Documentation groupselect
AliasesNone
Runtime symbolwrangles.recipe_wrangles.select.highest_confidence
Legacy UUID00aad85d-8cc8-42e5-86f3-e4ff916e8ac2

Sources