Struct rusty_machine::learning::optim::fmincg::ConjugateGD
source · [−]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
sourceimpl Clone for ConjugateGD
impl Clone for ConjugateGD
sourcefn clone(&self) -> ConjugateGD
fn clone(&self) -> ConjugateGD
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConjugateGD
impl Debug for ConjugateGD
sourceimpl Default for ConjugateGD
impl Default for ConjugateGD
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
sourcefn default() -> ConjugateGD
fn default() -> ConjugateGD
Returns the “default value” for a type. Read more
sourceimpl<M: Optimizable> OptimAlgorithm<M> for ConjugateGD
impl<M: Optimizable> OptimAlgorithm<M> for ConjugateGD
impl Copy for ConjugateGD
Auto Trait Implementations
impl RefUnwindSafe for ConjugateGD
impl Send for ConjugateGD
impl Sync for ConjugateGD
impl Unpin for ConjugateGD
impl UnwindSafe for ConjugateGD
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more