Struct revonet::neproblem::SymbolicRegressionProblem [] [src]

pub struct SymbolicRegressionProblem { /* fields omitted */ }

Problem which is typically used to test GP algorithms. Represents symbolic regression with 1 input and 1 output. There are three variants: * f - 4-th order polynomial. * g - 5-th order polynomial. * h - 6-th order polynomial.

See for details: Luke S. Essentials of metaheuristics.

Methods

impl SymbolicRegressionProblem
[src]

Create a new problem depending on the problem type: * f - 4-th order polynomial. * g - 5-th order polynomial. * h - 6-th order polynomial.

Arguments:

  • problem_type - symbol from set ('f', 'g', 'h') to set the problem type.

Create f-type problem (4-th order polynomial)

Create g-type problem (4-th order polynomial)

Create h-type problem (4-th order polynomial)

Trait Implementations

impl NeuroProblem for SymbolicRegressionProblem
[src]

Number of input variables.

Number of output (target) variables.

Returns random network with default number of inputs and outputs and some predefined structure. Read more

Compute fitness value for the given neural network. Read more