Skip to main content
Note that for each possible kind parameter ("significantTerms", "sequential", or "originals"), this step has different configuration options. See subsections below for more details.

Usage

The following examples show how the step can be used in a recipe.

Examples

  • Example 1
  • Example 2
  • Signature
configure_category_labels(ds.cluster, { "kind": "originals" })

Inputs & Outputs

The following are the inputs expected by the step and the outputs it produces. These are generally columns (ds.first_name), datasets (ds or ds[["first_name", "last_name"]]) or models (referenced by name e.g. "churn-clf").
column
column[category]
required
Column to be configured.

Configuration

The following parameters can be used to configure the behaviour of the step by including them in a json object as the last “input” to the step, i.e. step(..., {"param": "value", ...}) -> (output).

Parameters

  • Significant Terms
  • Sequential
  • Originals
kind
string
default:"significantTerms"
required
Label categories with significant terms.
column
string
required
Significant terms column. This column’s significant terms will be shown as category labels.
order
string
required
In what order to show the categories.Values must be one of the following:
  • BACKGROUND
  • FOREGROUND
  • UPLIFT
  • TFIDF
  • ORDINAL
I