Skip to content

Multilayer Perceptron

A feed-forward neural network that predicts a categorical outcome (classification) or a scale outcome from factors and covariates. It can capture nonlinear effects and interactions without you specifying them.

  • When prediction accuracy matters more than interpretable coefficients.
  • When the relationship between predictors and outcome is likely nonlinear or involves interactions.
  • When you have enough cases to set some aside for testing (a few hundred or more).
  • Cases are independent. There are no distributional assumptions, but the network needs enough training cases relative to the number of weights.
  • Results depend on the random partition and starting weights; set a seed (SET SEED) to reproduce them.
  • Covariates are rescaled with the training sample’s statistics; factors are coded one column per category.
  • Case Processing Summary: how many cases fell in the training, testing and holdout samples.
  • Network Information: inputs, hidden units, activation functions and the error function.
  • Model Summary: error and percent incorrect (classification) or relative error (scale) per sample. Judge the model on the testing or holdout sample, not the training sample.
  • Classification: observed against predicted categories with percent correct.
  • Independent Variable Importance: how much the error grows when a predictor is held at its average; larger means more important. It describes the fitted network, not causal effects.
  • ROC, gains and lift charts: how well the predicted pseudo-probabilities rank cases of each category.

A multilayer perceptron with one hidden layer of 4 units (hyperbolic tangent activation) was trained on 70% of the cases. It classified 91.2% of the holdout cases correctly (AUC = .95); income and age were the most important predictors.

Syntax: MLP churn BY plan WITH age income /PARTITION TRAINING=7 TESTING=2 HOLDOUT=1 /PRINT CPS NETWORKINFO SUMMARY CLASSIFICATION IMPORTANCE /PLOT NETWORK ROC.


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.