pub struct FitResult {
pub class: ComplexityClass,
pub r_squared: f64,
pub coefficients: Vec<f64>,
}Expand description
Result of fitting data to a complexity class.
Fields§
§class: ComplexityClassComplexity class
r_squared: f64R² coefficient of determination
coefficients: Vec<f64>Fitted coefficients
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FitResult
impl RefUnwindSafe for FitResult
impl Send for FitResult
impl Sync for FitResult
impl Unpin for FitResult
impl UnsafeUnpin for FitResult
impl UnwindSafe for FitResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more