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

pub enum ErrorKind {
    InvalidParameters,
    InvalidData,
    InvalidState,
    UntrainedModel,
    LinearAlgebra,
}

Types of errors produced in the learning module.

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

Variants

The parameters used to define the model are not valid.

The input data to the model is not valid.

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

The model has not been trained

Linear algebra related error

Trait Implementations

impl Debug for ErrorKind
[src]

Formats the value using the given formatter.