Text Analytics Conditional Random Fields Action Set: Syntax
SAS Text Analytics conditional random field modeling package for sequence labeling.
crfScore Action
Score documents against CRF Model.
| See: | Score a Conditional Random Fields Model |
|---|---|
| Example: | Using Conditional Random Fields (CRF) to Train and Score a Model in CAS |
Summary: Input and Output Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametermodel |
required parameterlabel, required parameterattr, required parameterfeature, required parameterattrfeature, required parametertemplate |
Specifies the input modelling tables. |
|
required parametertable |
— |
Specifies the CAS table name that contains the input data. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametercasOut |
— |
Specifies the CAS table name that contains the output tagged data. |
Parameter Descriptions
* casOut={casouttable}
Specifies the CAS table name that contains the output tagged data.
For more information about specifying the casOut parameter, see the common casouttable parameter.
* model={crfmodel}
Specifies the input modelling tables.
The crfmodel value can be one or more of the following:
* attr={castable}
Specifies the modelling CAS table name for attributes.
For more information about specifying the attr parameter, see the common castable (Form 1) parameter.
* attrfeature={castable}
Specifies the modelling CAS table name for attribute-feature mapping information.
For more information about specifying the attrfeature parameter, see the common castable (Form 1) parameter.
* feature={castable}
Specifies the modelling CAS table name for features.
For more information about specifying the feature parameter, see the common castable (Form 1) parameter.
* label={castable}
Specifies the modelling CAS table name for labels.
For more information about specifying the label parameter, see the common castable (Form 1) parameter.
* template={castable}
Specifies the modelling CAS table name for templates.
For more information about specifying the template parameter, see the common castable (Form 1) parameter.
* table={castable}
Specifies the CAS table name that contains the input data.
For more information about specifying the table parameter, see the common castable (Form 1) parameter.
* target="string"
Specifies the predicted/hidden variable name of the output table.
crfScore Action
Score documents against CRF Model.
| See: | Score a Conditional Random Fields Model |
|---|---|
| Example: | Using Conditional Random Fields (CRF) to Train and Score a Model in CAS |
Summary: Input and Output Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametermodel |
required parameterlabel, required parameterattr, required parameterfeature, required parameterattrfeature, required parametertemplate |
Specifies the input modelling tables. |
|
required parametertable |
— |
Specifies the CAS table name that contains the input data. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametercasOut |
— |
Specifies the CAS table name that contains the output tagged data. |
Parameter Descriptions
* casOut={casouttable}
Specifies the CAS table name that contains the output tagged data.
For more information about specifying the casOut parameter, see the common casouttable parameter.
* model={crfmodel}
Specifies the input modelling tables.
The crfmodel value can be one or more of the following:
* attr={castable}
Specifies the modelling CAS table name for attributes.
For more information about specifying the attr parameter, see the common castable (Form 1) parameter.
* attrfeature={castable}
Specifies the modelling CAS table name for attribute-feature mapping information.
For more information about specifying the attrfeature parameter, see the common castable (Form 1) parameter.
* feature={castable}
Specifies the modelling CAS table name for features.
For more information about specifying the feature parameter, see the common castable (Form 1) parameter.
* label={castable}
Specifies the modelling CAS table name for labels.
For more information about specifying the label parameter, see the common castable (Form 1) parameter.
* template={castable}
Specifies the modelling CAS table name for templates.
For more information about specifying the template parameter, see the common castable (Form 1) parameter.
* table={castable}
Specifies the CAS table name that contains the input data.
For more information about specifying the table parameter, see the common castable (Form 1) parameter.
* target="string"
Specifies the predicted/hidden variable name of the output table.
crfScore Action
Score documents against CRF Model.
| See: | Score a Conditional Random Fields Model |
|---|---|
| Example: | Using Conditional Random Fields (CRF) to Train and Score a Model in CAS |
Summary: Input and Output Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametermodel |
required parameterlabel, required parameterattr, required parameterfeature, required parameterattrfeature, required parametertemplate |
Specifies the input modelling tables. |
|
required parametertable |
— |
Specifies the CAS table name that contains the input data. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametercasOut |
— |
Specifies the CAS table name that contains the output tagged data. |
Parameter Descriptions
* casOut={casouttable}
Specifies the CAS table name that contains the output tagged data.
For more information about specifying the casOut parameter, see the common casouttable parameter.
* model={crfmodel}
Specifies the input modelling tables.
The crfmodel value can be one or more of the following:
* "attr":{castable}
Specifies the modelling CAS table name for attributes.
For more information about specifying the attr parameter, see the common castable (Form 1) parameter.
* "attrfeature":{castable}
Specifies the modelling CAS table name for attribute-feature mapping information.
For more information about specifying the attrfeature parameter, see the common castable (Form 1) parameter.
* "feature":{castable}
Specifies the modelling CAS table name for features.
For more information about specifying the feature parameter, see the common castable (Form 1) parameter.
* "label":{castable}
Specifies the modelling CAS table name for labels.
For more information about specifying the label parameter, see the common castable (Form 1) parameter.
* "template":{castable}
Specifies the modelling CAS table name for templates.
For more information about specifying the template parameter, see the common castable (Form 1) parameter.
* table={castable}
Specifies the CAS table name that contains the input data.
For more information about specifying the table parameter, see the common castable (Form 1) parameter.
* target="string"
Specifies the predicted/hidden variable name of the output table.
crfScore Action
Score documents against CRF Model.
| See: | Score a Conditional Random Fields Model |
|---|---|
| Example: | Using Conditional Random Fields (CRF) to Train and Score a Model in CAS |
Summary: Input and Output Tables
If a row includes a subparameter, you can specify the name, caslib, and so on in the subparameter. Otherwise, you can specify the name, caslib, and so on in the parameter.
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametermodel |
required parameterlabel, required parameterattr, required parameterfeature, required parameterattrfeature, required parametertemplate |
Specifies the input modelling tables. |
|
required parametertable |
— |
Specifies the CAS table name that contains the input data. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
required parametercasOut |
— |
Specifies the CAS table name that contains the output tagged data. |
Parameter Descriptions
* casOut=list(casouttable)
Specifies the CAS table name that contains the output tagged data.
For more information about specifying the casOut parameter, see the common casouttable parameter.
* model=list(crfmodel)
Specifies the input modelling tables.
The crfmodel value can be one or more of the following:
* attr=list(castable)
Specifies the modelling CAS table name for attributes.
For more information about specifying the attr parameter, see the common castable (Form 1) parameter.
* attrfeature=list(castable)
Specifies the modelling CAS table name for attribute-feature mapping information.
For more information about specifying the attrfeature parameter, see the common castable (Form 1) parameter.
* feature=list(castable)
Specifies the modelling CAS table name for features.
For more information about specifying the feature parameter, see the common castable (Form 1) parameter.
* label=list(castable)
Specifies the modelling CAS table name for labels.
For more information about specifying the label parameter, see the common castable (Form 1) parameter.
* template=list(castable)
Specifies the modelling CAS table name for templates.
For more information about specifying the template parameter, see the common castable (Form 1) parameter.
* table=list(castable)
Specifies the CAS table name that contains the input data.
For more information about specifying the table parameter, see the common castable (Form 1) parameter.
* target="string"
Specifies the predicted/hidden variable name of the output table.