---
name: "mlpack_optimization_test"
section: "3"
platform: "linux"
package: "mlpack-doc"
version: "1.0.10-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mlpack_optimization_test"
---

# mlpack\_optimization\_test(3)

## NAME

mlpack::optimization::test -

## SYNOPSIS

### Classes

class **GeneralizedRosenbrockFunction**\
 *The Generalized Rosenbrock function in n dimensions, defined by f(x) = sum\_i^{n - 1} (f(i)(x)) f\_i(x) = 100 \* (x\_i^2 - x\_{i + 1})^2 + (1 - x\_i)^2 x\_0 = \[-1.2, 1, -1.2, 1, ...\].*  class **RosenbrockFunction**\
 *The Rosenbrock function, defined by f(x) = f1(x) + f2(x) f1(x) = 100 (x2 - x1^2)^2 f2(x) = (1 - x1)^2 x\_0 = \[-1.2, 1\].*  class **RosenbrockWoodFunction**\
 *The Generalized Rosenbrock function in 4 dimensions with the Wood Function in four dimensions.*  class **SGDTestFunction**\
 *Very, very simple test function which is the composite of three other functions.*  class **WoodFunction**\
 *The Wood function, defined by f(x) = f1(x) + f2(x) + f3(x) + f4(x) + f5(x) + f6(x) f1(x) = 100 (x2 - x1^2)^2 f2(x) = (1 - x1)^2 f3(x) = 90 (x4 - x3^2)^2 f4(x) = (1 - x3)^2 f5(x) = 10 (x2 + x4 - 2)^2 f6(x) = (1 / 10) (x2 - x4)^2 x\_0 = \[-3, -1, -3, -1\].*

## Author

Generated automatically by Doxygen for MLPACK from the source code.
