NNET Procedure

HIDDEN Statement

  • HIDDEN number </options>;

The HIDDEN statement specifies the number of neurons or units in a hidden layer. You must specify a number, and it must be a positive integer. You can specify multiple HIDDEN statements; each HIDDEN statement represents a hidden layer. This statement is required if you specify the MITIGATEBIAS statement. It is ignored if you specify the AUTOTUNE statement.

You can also specify the following options:

ACT=EXP |IDENTITY |LOGISTIC |RECTIFIER |SIN |TANH

specifies the activation function for the hidden layer.

You can specify the following measures:

EXP

specifies the exponential function.

IDENTITY

specifies the identity function.

LOGISTIC

specifies the logistic function.

RECTIFIER

specifies the rectifier activation function.

SIN

specifies the sine function.

TANH

specifies the hyperbolic tangent function.

By default, ACT=TANH.

COMB=ADD |LINEAR

specifies the combination function for the hidden layer.

You can specify the following functions:

ADD

specifies the additive combination function.

LINEAR

specifies the linear combination function.

By default, COMB=LINEAR.

Last updated: September 23, 2026