Examples (RBF command)

Basic specification with default neural network settings

RBF DepVar BY A B C WITH X Y Z. 
  • The RBF procedure treats DepVar as the dependent variable. Predictors A, B, and C are factors, and X, Y, and Z are covariates.
  • By default, covariates and the dependent variable (if it has scale measurement level) are standardized before training. Also, the active dataset is partitioned into training and testing data samples, with 70% going to the training data and 30% to the testing data sample.
  • Automatic architecture selection is used to find the “best” neural network architecture.
  • User-missing values are excluded and default output is displayed.

User-specified neural network with three hidden units

RBF DepVar BY A B C WITH X Y Z
  /ARCHITECTURE
     NUMUNITS=3
     HIDDENFUNCTION=ORBF.
  • The RBF procedure treats DepVar as the dependent variable. Predictors A, B, and C are factors, and X, Y, and Z are covariates.
  • By default, covariates and the dependent variable (if it has scale measurement level) are standardized before training. Also, the active dataset is partitioned into training and testing data samples, with 70% going to the training data and 30% to the testing data sample.
  • The ARCHITECTURE subcommand specifies a neural network with three hidden units, thereby overriding automatic architecture selection. In addition, the hidden layer uses the ordinary radial basis function.