af.fit: Function af.fit

af.fitR Documentation

Function af.fit

Description

Fits nnet, glmnet and linear regression (with and without interaction terms) to a data.frame.

Usage

af.fit(data.train, output = NULL, rep.nnet = 5, preProc = c("center",
  "scale"), control = caret::trainControl(method = "boot", number = 10),
  nnet.linout = T, nnet.maxit = 1000, nnet.trace = F, ...)

Arguments

data.train

data.frame containing training data.

output

index or name of criterion in training data.

rep.nnet

number of random initialisations that should be applied for choosing af.nnet.

Examples

data=data.frame(y=rnorm(100),x1=rnorm(100),x2=rnorm(100));
fit.quant(data,"y1")

AndreasFischer1985/quantqual documentation built on June 20, 2022, 4:55 p.m.