Skip to main content

Classify

Run classify wrangles on the specified columns. Requires WrangleWorks Account and Subscription.

Run a custom classification wrangle on the specified column or columns. A classification wrangle must be trained first.

Parameters​

NameDescriptionAccepted ValuesDefaultRequired
I/O
inputName of the input column.string, integer, array—Yes
outputName of the output column.string, array—Yes
Formatting
include_confidenceFor models that support it, include the confidence level in the output.boolean—No
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
Details
model_idID of the classification model to be used.string—Yes

Examples​

wrangles:
- classify:
input: Products
output: Category
model_id: ${model_id}
where: Products = Milk
Products
Rice
Milk
Category
Dairy
Access
RequirementValue
AI-poweredNo
Requires WrangleWorks accountYes
Requires subscriptionNo
Requires external API keyNo
Technical details
FieldValue
Catalog ID71
Catalog keyclassify
Recipe keyclassify
Catalog statusactive
Lifecycle statusactive
Recipe Writer eligibleYes
NamespaceRoot-level
Documentation groupai
AliasesNone
Runtime symbolwrangles.recipe_wrangles.main.classify
Legacy UUID06669ef8-cdd1-42f7-8078-98e0b7a42c30

Sources