\name{codez_control}
\alias{codez_control}
\title{codez training controls}
\usage{
codez_control(
  batch_size = 32,
  validation_split = 0.1,
  n_sim = 1000,
  backend = "torch",
  epochs = NULL,
  patience = NULL,
  holdout = NULL
)
}
\arguments{
\item{batch_size}{Positive integer. Mini-batch size for torch training.}
\item{validation_split}{Numeric value in [0, 1). Validation share for the autoencoder.}
\item{n_sim}{Positive integer. Number of simulated paths generated from validation residuals.}
\item{backend}{String. Neural backend. Only "torch" is supported.}
\item{epochs}{Optional positive integer overriding \code{codez()} epochs.}
\item{patience}{Optional positive integer overriding early-stopping patience.}
\item{holdout}{Optional numeric value between 0 and 1 overriding validation holdout.}
}
\value{
A list of controls for \code{fit_codez()}.
}
\description{
Create reusable training controls for the codez 2.0 torch backend.
}
