pub enum PlsError {
NotEnoughSamplesError(usize),
BadComponentNumberError {
upperbound: usize,
actual: usize,
},
InvalidTolerance(f32),
ZeroMaxIter,
PowerMethodNotConvergedError(usize),
PowerMethodConstantResidualError(),
LinalgError(LinalgError),
LinfaError(Error),
MinMaxError(MinMaxError),
}
Variants§
NotEnoughSamplesError(usize)
BadComponentNumberError
InvalidTolerance(f32)
ZeroMaxIter
PowerMethodNotConvergedError(usize)
PowerMethodConstantResidualError()
LinalgError(LinalgError)
LinfaError(Error)
MinMaxError(MinMaxError)
Trait Implementations§
source§impl Error for PlsError
impl Error for PlsError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl<F: Float, D: Data<Elem = F>> Fit<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<D, Dim<[usize; 2]>>, PlsError> for PlsCanonicalValidParams<F>
impl<F: Float, D: Data<Elem = F>> Fit<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<D, Dim<[usize; 2]>>, PlsError> for PlsCanonicalValidParams<F>
source§impl<F: Float, D: Data<Elem = F>> Fit<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<D, Dim<[usize; 2]>>, PlsError> for PlsCcaValidParams<F>
impl<F: Float, D: Data<Elem = F>> Fit<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<D, Dim<[usize; 2]>>, PlsError> for PlsCcaValidParams<F>
source§impl<F: Float, D: Data<Elem = F>> Fit<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<D, Dim<[usize; 2]>>, PlsError> for PlsRegressionValidParams<F>
impl<F: Float, D: Data<Elem = F>> Fit<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<D, Dim<[usize; 2]>>, PlsError> for PlsRegressionValidParams<F>
source§impl<F: Float, D: Data<Elem = F>> Fit<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<D, Dim<[usize; 2]>>, PlsError> for PlsSvdParams
impl<F: Float, D: Data<Elem = F>> Fit<ArrayBase<D, Dim<[usize; 2]>>, ArrayBase<D, Dim<[usize; 2]>>, PlsError> for PlsSvdParams
source§impl From<LinalgError> for PlsError
impl From<LinalgError> for PlsError
source§fn from(source: LinalgError) -> Self
fn from(source: LinalgError) -> Self
Converts to this type from the input type.
source§impl From<MinMaxError> for PlsError
impl From<MinMaxError> for PlsError
source§fn from(source: MinMaxError) -> Self
fn from(source: MinMaxError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for PlsError
impl Send for PlsError
impl Sync for PlsError
impl Unpin for PlsError
impl UnwindSafe for PlsError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more