pub enum ErrorKind {
InvalidParameters,
InvalidData,
InvalidState,
UntrainedModel,
LinearAlgebra,
}
Expand description
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
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more