Enum prophet::ErrorKind
[−]
[src]
pub enum ErrorKind { InvalidSampleInputSize, InvalidSampleTargetSize, InvalidLearnRate, InvalidLearnMomentum, InvalidRecentMSE, InvalidLatestMSE, }
Kinds of errors that may occure while using this crate.
Variants
InvalidSampleInputSize
Occures when invalid sample input sizes are recognized.
InvalidSampleTargetSize
Occures when invalid sample target sizes are recognized.
InvalidLearnRate
Occures when the learning rate is not within the valid
range of (0,1)
.
InvalidLearnMomentum
Occures when the learning momentum is not within the
valid range of (0,1)
.
InvalidRecentMSE
Occures when the specified average net error criterion is invalid.
InvalidLatestMSE
Occures when the specified mean squared error criterion is invalid.
Trait Implementations
impl Debug for ErrorKind
[src]
impl Copy for ErrorKind
[src]
impl Clone for ErrorKind
[src]
fn clone(&self) -> ErrorKind
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ErrorKind
[src]
fn eq(&self, __arg_0: &ErrorKind) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.