Symbolic Regression

bm_ripple(individual)

Ripple benchmark function.

Parameters

individual (Individual) – The individual to be evaluated.

Returns

The fitness of the individual.

Return type

float

Equations

Range

\(\mathbf{x} \in [-5, 5]^2\)

Function

\(f(\mathbf{x}) = (x_1 - 3) (x_2 - 3) + 2 \sin((x_1 - 4) (x_2 -4))\)

bm_sin_cos(individual)

Sine cosine benchmark function.

Parameters

individual (Individual) – The individual to be evaluated.

Returns

The fitness of the individual.

Return type

float

Equations

Range

\(\mathbf{x} \in [0, 6]^2\)

Function

\(f(\mathbf{x}) = 6\sin(x_1)\cos(x_2)\)

bm_unwrapped_ball(individual)

Unwrapped ball benchmark function.

Parameters

individual (Individual) – The individual to be evaluated.

Returns

The fitness of the individual.

Return type

float

Equations

Range

\(\mathbf{x} \in [-2, 8]^n\)

Function

\(f(\mathbf{x}) = \frac{10}{5 + \sum_{i=1}^n (x_i - 3)^2}\)

bm_kotanchek(individual)

Kotanchek benchmark function.

Parameters

individual (Individual) – The individual to be evaluated.

Returns

The fitness of the individual.

Return type

float

Equations

Range

\(\mathbf{x} \in [-1, 7]^2\)

Function

\(f(\mathbf{x}) = \frac{e^{-(x_1 - 1)^2}}{3.2 + (x_2 - 2.5)^2}\)

bm_salustowicz_1d(individual)

Salustowicz benchmark function.

Parameters

individual (Individual) – The individual to be evaluated.

Returns

The fitness of the individual.

Return type

float

Equations

Range

\(x \in [0, 10]\)

Function

\(f(x) = e^{-x} x^3 \cos(x) \sin(x) (\cos(x) \sin^2(x) - 1)\)

bm_salustowicz_2d(individual)

Salustowicz benchmark function.

Parameters

individual (Individual) – The individual to be evaluated.

Returns

The fitness of the individual.

Return type

float

Equations

Range

\(\mathbf{x} \in [0, 7]^2\)

Function

\(f(\mathbf{x}) = e^{-x_1} x_1^3 \cos(x_1) \sin(x_1) (\cos(x_1) \sin^2(x_1) - 1) (x_2 -5)\)

bm_rational_polynomial_1(individual)

Rational polynomial ball benchmark function.

Parameters

individual (Individual) – The individual to be evaluated.

Returns

The fitness of the individual.

Return type

float

Equations

Range

\(\mathbf{x} \in [0, 2]^3\)

Function

\(f(\mathbf{x}) = \frac{30 * (x_1 - 1) (x_3 - 1)}{x_2^2 (x_1 - 10)}\)

bm_rational_polynomial_2(individual)

Rational polynomial benchmark function.

Parameters

individual (Individual) – The individual to be evaluated.

Returns

The fitness of the individual.

Return type

float

Equations

Range

\(\mathbf{x} \in [0, 6]^2\)

Function

\(f(\mathbf{x}) = \frac{(x_1 - 3)^4 + (x_2 - 3)^3 - (x_2 - 3)}{(x_2 - 2)^4 + 10}\)