Boolean Rule Action Set
Provides actions for Boolean rule extraction and scoring
brScore Action
Scores text data based on Boolean rules.
CASL Syntax
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 parameterruleTerms |
— |
specifies a data table that contains the terms in each rule that is generated by the training action. |
|
required parametertable |
— |
specifies the input data table for rule scoring. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies a data table to contain the rule matching (whether a document satisfies a rule) results. |
Parameter Descriptions
casOut={casouttable}
specifies a data table to contain the rule matching (whether a document satisfies a rule) results.
For more information about specifying the casOut parameter, see the common casouttable parameter (Appendix A: Common Parameters).
docId="variable-name"
specifies the variable in the TABLE= data table that contains the document ID.
| Default | "_document_" |
|---|
nThreads=integer
specifies the number of threads to be used per node. The value must be an integer.
| Default | 0 |
|---|---|
| Range | 0–1024 |
* ruleTerms={castable}
specifies a data table that contains the terms in each rule that is generated by the training action.
For more information about specifying the ruleTerms parameter, see the common castable parameter (Appendix A: Common Parameters).
* table={castable}
specifies the input data table for rule scoring.
For more information about specifying the table parameter, see the common castable parameter (Appendix A: Common Parameters).
termId="variable-name"
specifies the variable in the TABLE= data table that contains the term ID.
| Default | "_termnum_" |
|---|
useOldNames=TRUE | FALSE
specifies whether to use the old variable names used in HPBOOLRULE
| Aliases | legacyName |
|---|---|
| legacyNames | |
| Default | FALSE |
brScore Action
Scores text data based on Boolean rules.
Lua Syntax
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 parameterruleTerms |
— |
specifies a data table that contains the terms in each rule that is generated by the training action. |
|
required parametertable |
— |
specifies the input data table for rule scoring. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies a data table to contain the rule matching (whether a document satisfies a rule) results. |
Parameter Descriptions
casOut={casouttable}
specifies a data table to contain the rule matching (whether a document satisfies a rule) results.
For more information about specifying the casOut parameter, see the common casouttable parameter (Appendix A: Common Parameters).
docId="variable-name"
specifies the variable in the TABLE= data table that contains the document ID.
| Default | "_document_" |
|---|
nThreads=integer
specifies the number of threads to be used per node. The value must be an integer.
| Default | 0 |
|---|---|
| Range | 0–1024 |
* ruleTerms={castable}
specifies a data table that contains the terms in each rule that is generated by the training action.
For more information about specifying the ruleTerms parameter, see the common castable parameter (Appendix A: Common Parameters).
* table={castable}
specifies the input data table for rule scoring.
For more information about specifying the table parameter, see the common castable parameter (Appendix A: Common Parameters).
termId="variable-name"
specifies the variable in the TABLE= data table that contains the term ID.
| Default | "_termnum_" |
|---|
useOldNames=true | false
specifies whether to use the old variable names used in HPBOOLRULE
| Aliases | legacyName |
|---|---|
| legacyNames | |
| Default | false |
brScore Action
Scores text data based on Boolean rules.
Python Syntax
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 parameterruleTerms |
— |
specifies a data table that contains the terms in each rule that is generated by the training action. |
|
required parametertable |
— |
specifies the input data table for rule scoring. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies a data table to contain the rule matching (whether a document satisfies a rule) results. |
Parameter Descriptions
casOut={casouttable}
specifies a data table to contain the rule matching (whether a document satisfies a rule) results.
For more information about specifying the casOut parameter, see the common casouttable parameter (Appendix A: Common Parameters).
docId="variable-name"
specifies the variable in the TABLE= data table that contains the document ID.
| Default | "_document_" |
|---|
nThreads=integer
specifies the number of threads to be used per node. The value must be an integer.
| Default | 0 |
|---|---|
| Range | 0–1024 |
* ruleTerms={castable}
specifies a data table that contains the terms in each rule that is generated by the training action.
For more information about specifying the ruleTerms parameter, see the common castable parameter (Appendix A: Common Parameters).
* table={castable}
specifies the input data table for rule scoring.
For more information about specifying the table parameter, see the common castable parameter (Appendix A: Common Parameters).
termId="variable-name"
specifies the variable in the TABLE= data table that contains the term ID.
| Default | "_termnum_" |
|---|
useOldNames=True | False
specifies whether to use the old variable names used in HPBOOLRULE
| Aliases | legacyName |
|---|---|
| legacyNames | |
| Default | False |
brScore Action
Scores text data based on Boolean rules.
R Syntax
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 parameterruleTerms |
— |
specifies a data table that contains the terms in each rule that is generated by the training action. |
|
required parametertable |
— |
specifies the input data table for rule scoring. |
|
Parameter |
Subparameter |
Description |
|---|---|---|
|
— |
specifies a data table to contain the rule matching (whether a document satisfies a rule) results. |
Parameter Descriptions
casOut=list(casouttable)
specifies a data table to contain the rule matching (whether a document satisfies a rule) results.
For more information about specifying the casOut parameter, see the common casouttable parameter (Appendix A: Common Parameters).
docId="variable-name"
specifies the variable in the TABLE= data table that contains the document ID.
| Default | "_document_" |
|---|
nThreads=integer
specifies the number of threads to be used per node. The value must be an integer.
| Default | 0 |
|---|---|
| Range | 0–1024 |
* ruleTerms=list(castable)
specifies a data table that contains the terms in each rule that is generated by the training action.
For more information about specifying the ruleTerms parameter, see the common castable parameter (Appendix A: Common Parameters).
* table=list(castable)
specifies the input data table for rule scoring.
For more information about specifying the table parameter, see the common castable parameter (Appendix A: Common Parameters).
termId="variable-name"
specifies the variable in the TABLE= data table that contains the term ID.
| Default | "_termnum_" |
|---|
useOldNames=TRUE | FALSE
specifies whether to use the old variable names used in HPBOOLRULE
| Aliases | legacyName |
|---|---|
| legacyNames | |
| Default | FALSE |