% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/decomposition_core.R
\name{fit_global_mlp}
\alias{fit_global_mlp}
\title{Fit Global MLP and Compute Residual Diagnostics}
\usage{
fit_global_mlp(corrected_signal)
}
\arguments{
\item{corrected_signal}{Numeric vector. Output of \code{\link[=decompose_signal_core]{decompose_signal_core()}}.}
}
\value{
A list containing:
\describe{
\item{smooth_curve}{Global MLP smooth fit.}
\item{residual}{Residuals from the smooth fit.}
\item{mlp_model}{The fitted RSNNS MLP model.}
}
}
\description{
Fits a global MLP model to a corrected signal and computes:
\itemize{
\item smooth trend estimate
\item residuals
}

This function does NOT compute a piecewise-constant component.
That is handled entirely in \code{decompose_signal_core()}.
}
