Skip to contents

Performs either bulk or step-wise input node selection.

Usage

input_node_sel(
  X,
  y,
  q,
  n_init,
  type = "bulk",
  inf_crit = "BIC",
  task = "regression",
  unif = 3,
  X_full = NULL,
  maxit = 1000,
  ...
)

Arguments

X

Matrix of covariates

y

Vector of response

q

Number of hidden nodes

n_init

Number of random initialisations (tracks)

type

Selection type: "bulk" (the default) or "step"

inf_crit

Information criterion: "BIC" (default), "AIC" or "AICc"

task

"regression" (default) or "classification"

unif

Random initial values max value

X_full

Full matrix of covariates if X has some dropped

maxit

maximum number of iterations for nnet (default = 100)

...

additional argument for nnet

Value

Inputs dropped from model