pub struct Fit {
pub error: f64,
pub weights: Vec<f64>,
pub error_predictions: Vec<f64>,
pub iterations: u64,
}
Expand description
Stores fit data.
Fields§
§error: f64
The error of the fit.
weights: Vec<f64>
Weights of best fit (so far).
error_predictions: Vec<f64>
Error predictions weights.
iterations: u64
The number of iterations to produce the result.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Fit
impl RefUnwindSafe for Fit
impl Send for Fit
impl Sync for Fit
impl Unpin for Fit
impl UnwindSafe for Fit
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