affect only that statement.
Lists the identifiers of two or more layers to connect. The identifiers must have been previously
defined by the ID= option in an INPUT, a HIDDEN, or a TARGET statement. Each layer except
the last is connected to the next layer in the list. Connections must be feedforward. Loops are not
For example, the following PROC NEURAL step connects the input layers to the output layer, the input
layers to the hidden units, and the hidden units to the output layer.
title 'Fully Connected Network';
proc neural data=mydata dmdbcat=mycat;
input a b / level= nominal id=nom;
input x z / level= interval id=int;
hidden 2 / id= hu;
target y / level=interval id=tar;
connect int tar;
connect nom tar;
connect int hu;
connect nom hu;
connect hu tar;
You must specify either:
Specifies the identifiers of the layers to disconnect.
Disconnects all layers.
Copyright 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.
and SPLIT procedures.
Specifies the input data set that contains the decision matrix. The DECDATA= data set must
contain the target variable.
Note: The DECDATA= data set may also contain decision variables specified by means of the
DECVARS= option, and prior probability variable(s) specified by means of the PRIORVAR=
option or the OLDPRIORVAR= option, or both.
The target variable is specified by means of the TARGET statement in the DECIDE, NEURAL,
and SPLIT procedures or by using the MODEL statement in the DMREG procedure. If the target
variable in the DATA= data set is categorical, then the target variable of the DECDATA= data set
should contain the category values, and the decision variables will contain the common
consequences of making those decisions for the corresponding target level. If the target variable is
interval, then each decision variable will contain the value of the consequence for that decision at
a point specified in the target variable. The unspecified regions of the decision function are
interpolated by a piecewise linear spline.
The DECDATA= data set may be of TYPE=LOSS, PROFIT, OR
REVENUE. If unspecified, TYPE=PROFIT is assumed by default. TYPE= is
a data set option that should be specified when the data set is created.
Specifies the decision variables in the DECDATA= data set that contain the target-specific
consequences for each decision.
Specifies numeric constants that give the cost of a decision, or variables in the DATA= data set
that contain the case-specific costs, or any combination of constants and variables. There must be
the same number of cost constants and variables as there are decision variables in the DECVARS=
ABC--XYZ, or PQR:.
All costs are assumed to be 0.
Specifies the variable in the DECDATA= data set that contains the prior probabilities to use for
In the DECIDE procedure, if PRIORVAR= is specified, OLDPRIORVAR=
must also be specified.
Specifies the variable in the DECDATA= data set that contains the prior probabilities that were
used when originally fitting the model.
If OLDPRIORVAR= is specified, PRIORVAR= must also be specified.