pub fn two_variable_optimization(
fitness_function: impl Fn([f64; 2]) -> f64,
options: Options,
) -> [f64; 2]Available on crate feature
regression only.Expand description
Samples points on a logarithmic spiral in the phase space of all possible straight lines.
See Options.
Can be used for models other than linear, as this just optimizes two floats according to
fitness_function. The returned values are the best match.