Fit a neural network model
tl_fit_nn(
data,
formula,
is_classification = FALSE,
size = 5,
decay = 0,
maxit = 100,
trace = FALSE,
...
)A fitted neural network model
A data frame containing the training data
A formula specifying the model
Logical indicating if this is a classification problem
Number of units in the hidden layer (default: 5)
Weight decay parameter (default: 0)
Maximum number of iterations (default: 100)
Logical; whether to print progress (default: FALSE)
Additional arguments to pass to nnet()