Group: | Neural Networks |
See also: | nnfunc nnvisu |
Function: | nninit | |
Description: | nninit checks if a given network is feedforward network and suggest reorderings. |
Usage: | ind = nninit (wei, unit) | |
Input: | ||
wei | n x 3 matrix of weights | |
unit | m x 2 matrix of units | |
Output: | ||
ind | n x 1 reordering vector |
x = read("bank2") ; read bank2 data y =(1:200).<101 ;; build logit model wei =(1:6)~(7.*matrix(6))~normal(6) unit = trans(#(-1,0)).*matrix(7)|trans(#(1,2)) ind = nninit(wei, unit) wei = index(wei, ind) wei
Contents of wei