Struct fann::QuickpropParams
source · pub struct QuickpropParams {
pub decay: c_float,
pub mu: c_float,
pub learning_rate: c_float,
}
Fields§
§decay: c_float
The factor by which weights should become smaller in each iteration, to ensure that the weights don’t grow too large during training. Should be a negative number close to 0. The default is -0.0001.
mu: c_float
The mu factor is used to increase or decrease the step size; should always be greater than 1. The default is 1.75.
learning_rate: c_float
The learning rate determines how aggressive training should be. Default is 0.7.
Trait Implementations§
source§impl Clone for QuickpropParams
impl Clone for QuickpropParams
source§fn clone(&self) -> QuickpropParams
fn clone(&self) -> QuickpropParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QuickpropParams
impl Debug for QuickpropParams
source§impl Default for QuickpropParams
impl Default for QuickpropParams
source§fn default() -> QuickpropParams
fn default() -> QuickpropParams
Returns the “default value” for a type. Read more
source§impl PartialEq for QuickpropParams
impl PartialEq for QuickpropParams
source§fn eq(&self, other: &QuickpropParams) -> bool
fn eq(&self, other: &QuickpropParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for QuickpropParams
impl StructuralPartialEq for QuickpropParams
Auto Trait Implementations§
impl RefUnwindSafe for QuickpropParams
impl Send for QuickpropParams
impl Sync for QuickpropParams
impl Unpin for QuickpropParams
impl UnwindSafe for QuickpropParams
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more