BOOLRULE Procedure
DOCINFO Statement
DOCINFO <options>;
The DOCINFO statement specifies information about the data table that is specified in the DOCINFO= option in the PROC BOOLRULE statement.
You can specify the following options:
-
EVENTS=(value1, value2,
)
-
specifies the values of target variables that are considered as positive events or categories of interest as follows:
When TARGETTYPE=BINARY, the values of each target variable that is specified in the TARGETS= option correspond to positive events. All other values correspond to negative events.
When TARGETTYPE=BINARY, for any variable specified in the TARGETS= option that is a numeric variable, "1" is considered to be a positive event by default.
When TARGETTYPE=BINARY, for any variable specified in the TARGETS= option that is a character variable, "Y" is considered to be a positive event by default.
You cannot specify this option when TARGETTYPE=MULTICLASS.
- ID=variable
specifies the variable that contains the document ID. To fetch the target information about documents, the values in the variable are matched to the document ID variable that is specified in the DOCID= option in the PROC BOOLRULE statement. The variable can be either a numeric variable or a character variable. Its type must match the type of the variable that is specified in the DOCID= option in the PROC BOOLRULE statement.
-
TARGETS=(variable, variable,
)
-
specifies the target variables. A target variable can be either a numeric variable or a character variable.
When TARGETTYPE=BINARY, you can specify multiple target variables, and each target variable corresponds to a category.
When TARGETTYPE=MULTICLASS, you can specify only one target variable, and each of its levels corresponds to a category.
- TARGETTYPE=BINARY | MULTICLASS
-
specifies the type of the target variables. You can specify the following values:
- BINARY
indicates that multiple target variables can be specified and each target variable corresponds to a category.
- MULTICLASS
indicates that only one target variable can be specified and each level of the target variable corresponds to a category.
By default, TARGETTYPE=BINARY.