The attribute specification in a transformation record defines characteristics that are specific to this attribute. If not null, the attribute specification can include values FORCE_IN
, NOPREP
, or TEXT
, as described in Table 4-2.
Example 4-1 An Attribute Specification with Multiple Keywords
If more than one attribute specification keyword is applicable, you can provide them in a comma-delimited list.The following expression is the specification for an attribute in a GLM model. Assuming that the ftr_selection_enable
setting is enabled, this expression forces the attribute to be included in the model. If ADP is on, automatic transformation of the attribute will not be performed.
"FORCE_IN,NOPREP"
Example 4-2 A Text Attribute Specification
For text attributes, you can optionally specify subsettings POLICY_NAME
, TOKEN_TYPE
, and MAX_FEATURES
. The subsettings provide configuration information that is specific to text transformation. In this example, the transformation instructions for the text content are defined in a text policy named my_policy
with token type is THEME
. The maximum number of extracted features is 3000.
"TEXT(POLICY_NAME:my_policy)(TOKEN_TYPE:THEME)(MAX_FEATURES:3000)"
See "Configuring a Text Attribute" for more examples.