Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: nn
See also: nnfunc2 nnvisu2

Quantlet: nninit2
Description: nninit2 checks if a given network is feedforward network and suggest reorderings.

Usage: out = nninit2 (x, unit)
Input:
x n x 3 matrix of weights
unit m x 2 matrix of units
Output:
out n x 1 reordering vector

Example:
library("nn")
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  = nninit2(wei, unit)
wei  = index(wei, ind)
wei

Result:
Contents of wei



Author: K. Komorad, W. Haerdle, 20010117 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006