In addition to the syntax that is described in the CLASS and MODEL statement sections, PROC HPSPLIT supports SAS Enterprise Miner INPUT/TARGET syntax that many Enterprise Miner users are familiar with. The INPUT/TARGET syntax cannot be used together with the CLASS/MODEL syntax of SAS/STAT. Doing so is an error.
Enterprise Miner style syntax has one TARGET statement and one or more INPUT statements. If you use the Enterprise Miner syntax, then the PROC HPSPLIT statement, the TARGET statement, and the INPUT statement are required. Depending on the options in those statements, specified variables can be interval or nominal. By default, numeric INPUT variables are treated as interval (or continuous) predictors, and character INPUT variables are treated as nominal (or categorical) predictors.
INPUT variables </ option>;
The INPUT statement specifies predictor variables for the decision tree or regression tree. The value of variable can be a range such as "var_1–var_1000" or the special "_ALL_" value to include all variables in the data set. As with CLASS variables, all nominal INPUT variables are padded or truncated to 32 characters.
It is an error to use an INPUT statement with a MODEL or CLASS statement.
You can specify the following option:
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.
It is an error to use a TARGET statement with a MODEL or CLASS statement.
You can specify the following options:
The following two programs are equivalent. The first is based on the syntax in the section Syntax: HPSPLIT Procedure, and the second is SAS Enterprise Miner syntax.
proc hpsplit data=sashelp.cars; class enginesize model; model enginesize = mpg_highway model; run;
proc hpsplit data=sashelp.cars; target enginesize; input mpg_highway model; run;
The following two programs are equivalent. The first is based on the syntax in the section Syntax: HPSPLIT Procedure, and the second is SAS Enterprise Miner syntax.
proc hpsplit data=sashelp.cars; class model; model enginesize = mpg_highway model; run;
proc hpsplit data=sashelp.cars; target enginesize / level=int; input mpg_highway model; run;
Note: The RSS splitting criterion is also known as the variance splitting criterion.