% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/supervised-neural-networks.R
\name{tl_fit_nn}
\alias{tl_fit_nn}
\title{Fit a neural network model}
\usage{
tl_fit_nn(
  data,
  formula,
  is_classification = FALSE,
  size = 5,
  decay = 0,
  maxit = 100,
  trace = FALSE,
  ...
)
}
\arguments{
\item{data}{A data frame containing the training data}

\item{formula}{A formula specifying the model}

\item{is_classification}{Logical indicating if this is a
classification problem}

\item{size}{Number of units in the hidden layer (default: 5)}

\item{decay}{Weight decay parameter (default: 0)}

\item{maxit}{Maximum number of iterations (default: 100)}

\item{trace}{Logical; whether to print progress (default: FALSE)}

\item{...}{Additional arguments to pass to nnet()}
}
\value{
A fitted neural network model
}
\description{
Fit a neural network model
}
\keyword{internal}
