TARGET
variable </ options> ;
The TARGET statement names the variable whose values PROC HPSPLIT tries to predict. Missing values in the target are ignored except during scoring.
You can specify the following options:
-
LEVEL=INT | NOM
-
specifies whether the specified target variable is interval or nominal.
-
INT
-
treats the target as an interval variable and creates a regression tree.
-
NOM
-
treats the target as a nominal variable and creates a decision tree.
By default, PROC HPSPLIT creates a decision tree (nominal target).
-
ORDER=ordering
-
ensures that the target values are levelized in the specified order. You can specify one of the following values for ordering:
- ASC | ASCENDING
-
levelizes target values in ascending order.
- DESC | DESCENDING
-
levelizes target values in descending order. This is the default.
- FMTASC | ASCFORMATTED
-
levelizes target values in ascending order of the formatted value.
- FMTDESC | DESFORMATTED
-
levelizes target values in descending order of the formatted value.
Copyright © SAS Institute Inc. All Rights Reserved.