Learn R Programming

fastml (version 0.2.0)

define_neural_network_spec: Define Neural Network Model Specification (nnet)

Description

Define Neural Network Model Specification (nnet)

Usage

define_neural_network_spec(task, tune = FALSE)

Value

List containing the model specification (`model_spec`).

Arguments

task

Character string specifying the task type: "classification" or "regression".

tune

Logical indicating whether to use tuning parameters.