Tune a neural network model
Arguments
- data
A data frame containing the training data
- formula
A formula specifying the model
- is_classification
Logical indicating if this is a classification problem
- sizes
Vector of hidden layer sizes to try
- decays
Vector of weight decay parameters to try
- folds
Number of cross-validation folds (default: 5)
- ...
Additional arguments to pass to nnet()
