Enum rusty_machine::learning::error::ErrorKind [] [src]

pub enum ErrorKind {
    InvalidParameters,
    InvalidData,
    InvalidState,
}

Types of errors produced in the learning module.

List intended to grow and so you should be wary of matching against explicitly.

Variants

InvalidParameters

The parameters used to define the model are not valid.

InvalidData

The input data to the model is not valid.

InvalidState

The action could not be carried out as the model was in an invalid state.

Trait Implementations

impl Debug for ErrorKind
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.