Enum prophet::ErrorKind [] [src]

pub enum ErrorKind {
    InvalidSampleInputSize,
    InvalidSampleTargetSize,
    InvalidLearnRate,
    InvalidLearnMomentum,
    InvalidRecentMSE,
    InvalidLatestMSE,
}

Kinds of errors that may occure while using this crate.

Variants

Occures when invalid sample input sizes are recognized.

Occures when invalid sample target sizes are recognized.

Occures when the learning rate is not within the valid range of (0,1).

Occures when the learning momentum is not within the valid range of (0,1).

Occures when the specified average net error criterion is invalid.

Occures when the specified mean squared error criterion is invalid.

Trait Implementations

impl Debug for ErrorKind
[src]

[src]

Formats the value using the given formatter.

impl Copy for ErrorKind
[src]

impl Clone for ErrorKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ErrorKind
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for ErrorKind
[src]