pub struct ConjugateGD {
    pub rho: f64,
    pub sig: f64,
    pub int: f64,
    pub ext: f64,
    pub max: usize,
    pub ratio: f64,
    pub iters: usize,
}
Expand description

Conjugate Gradient Descent algorithm

Fields

rho: f64

Constant in the Wolfe-Powell conditions.

sig: f64

Constant in the Wolfe-Powell conditions.

int: f64

Don’t reevaluate within int of the limit of the current bracket.

ext: f64

Extrapolate max of ext times the current bracket.

max: usize

Max of max function evaluations per line search

ratio: f64

The maximum allowed slope ratio

iters: usize

The default number of max iterations.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

The default Conjugate GD algorithm.

The defaults are:

  • rho = 0.01
  • sig = 0.5
  • int = 0.1
  • ext = 3
  • max = 20
  • ration = 100
  • iters = 100
Returns the “default value” for a type. Read more
Return the optimized parameter using gradient optimization. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.