w0.net {DChaos}R Documentation

Estimates the initial parameter vector of the neural net model

Description

This function estimates the initial parameter vector of the neural net model.

Usage

w0.net(
  x,
  y,
  m = 2,
  h = 2,
  rangx = 1/max(abs(x)),
  w0maxit = 100,
  seed.t = TRUE,
  seed = 56666459
)

Arguments

x

a matrix or a data.frame denoting the explanatory variables.

y

a vector, a matrix or a data.frame denoting the response variable.

m

a non-negative integer denoting the embedding dimension (Default 2).

h

a non-negative integer denoting the number of neurones (or nodes) in the single hidden layer (Default 2).

rangx

a non-negative integer denoting the range of the explanatory variables (Default 1/max(abs(x)).

w0maxit

a non-negative integer denoting the maximum iterations to estimate the initial parameter vector of the neural net models (Default 100).

seed.t

a logical value denoting if the user wants to fix the seed TRUE or not FALSE (Default TRUE).

seed

a non-negative integer denoting the value of the seed selected if seed.t = TRUE (Default 56666459).

Value

The optimal initial parameter vector of the neural net model considering the argument set selected by the user.

Note

The process of adjustment to a neural network often suffers from being trapped in local optima and different initialization strategies should be taken into account. For this reason the function w0.net have been implemented. This function estimates previously the initial parameter vector of the neural net model being able to set the maximum number of iterations that the user wants to obtain setting w0maxit. In addition, by default the neural network estimation is initialized with a fixed seed denoted by seed.t=TRUE with a value equal to seed=56666459. The R user can let the seed be fixed either randomly by seed.t=FALSE or even fix other value of the seed to be able to replicate the results obtained.

Author(s)

Julio E. Sandubete, Lorenzo Escot

References

Ripley, B.D. 1996 Pattern Recognition and Neural Networks. Cambridge.

Venables, W.N., Ripley, B.D. 2002 Modern Applied Statistics with S. Fourth edition. Springer.

Hornik, K., Stinchcombe, M., White, H. 1989 Multilayer feedforward networks are universal approximators. Neural Networks 2(5):359-366.


[Package DChaos version 0.1-7 Index]