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
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.
UntrainedModel
The model has not been trained
LinearAlgebra
Linear algebra related error