train_mlp_gradient: Train an MLP with a Gradient-Based Optimizer

View source: R/mlp_gradient.R

train_mlp_gradientR Documentation

Train an MLP with a Gradient-Based Optimizer

Description

Internal gradient-based training engine for MLP regression and classification.

Usage

train_mlp_gradient(
  x,
  y,
  architecture,
  optimizer,
  loss,
  seed = NULL,
  verbose = TRUE
)

Arguments

x

Numeric input matrix.

y

Response vector or matrix used for training.

architecture

MLP architecture object.

optimizer

Gradient-based optimizer object.

loss

Loss object.

seed

Optional random seed.

verbose

Logical. If TRUE, training progress is printed.

Value

An object compatible with "met_optimize_result".


metANN documentation built on May 16, 2026, 1:06 a.m.