[−][src]Struct error_predictive_learning::TrainingSettings
Stores training settings.
Fields
accuracy_error: f64
Acceptable accuracy in error.
step: f64
The minimum step value.
When error_predictions
is set to 0
, this is used as fixed step.
max_iterations: u64
Maximum number of iterations.
error_predictions: usize
The number of error prediction terms.
More terms accelerate the search, but might lead to instability.
reset_interval: u64
The interval to reset error predictions, in case they are far off or become unstable.
elasticity: f64
A factor greater than zero to prevent under or over-stepping.
E.g. 0.95
This is used because predicted errors does not provide information about the gradient directly in the domain. Elasticity is used to estimate the gradient.
debug: bool
Whether to print out result each reset interval.
Trait Implementations
impl Clone for TrainingSettings
[src]
fn clone(&self) -> TrainingSettings
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for TrainingSettings
[src]
impl Debug for TrainingSettings
[src]
Auto Trait Implementations
impl RefUnwindSafe for TrainingSettings
impl Send for TrainingSettings
impl Sync for TrainingSettings
impl Unpin for TrainingSettings
impl UnwindSafe for TrainingSettings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,