nnetRep: Fit a Neural Network Repeatedly for Different Starting Values

Description Usage Arguments Value See Also Examples

View source: R/nnetRep.R

Description

Fit a neural network repeatedly for different starting values.

Usage

1
nnetRep(reps = 1, ...)

Arguments

reps

Number of repetitions. Defaults to 1. reps larger one does not make sense if Wts is specified.

...

Further arguments to nnet.

Value

An object of class "nnet".

See Also

nnet.

Examples

1
2
fit <- nnetRep(5, Species ~ ., data = iris, size = 2, decay = 0.2, trace = FALSE)
predict(fit)

schiffner/locClass documentation built on May 29, 2019, 3:39 p.m.