pub struct CurveFitResult { /* private fields */ }Implementations§
Source§impl CurveFitResult
impl CurveFitResult
Sourcepub fn r2(&self) -> f64
pub fn r2(&self) -> f64
R^2 (coefficient of determination) for the fit curve, a normalized measure of how well the curve fits the data. Usually ranges from 0 to 1, with higher indicating better fit (points closer to fit line).
Sourcepub fn mae(&self) -> f64
pub fn mae(&self) -> f64
Mean Absolute Error (MAE) - the average of the absolute differences between predicted and actual values. Measured in the same units as the y-values.
Sourcepub fn mse(&self) -> f64
pub fn mse(&self) -> f64
Mean Squared Error (MSE) - the average of the squared differences between predicted and actual values. Measured in the squared units of the y-values.
Sourcepub fn rmse(&self) -> f64
pub fn rmse(&self) -> f64
Root Mean Squared Error (RMSE) - the square root of the mean squared error. Measured in the same units as the y-values.
Sourcepub fn max_absolute_error(&self) -> f64
pub fn max_absolute_error(&self) -> f64
Maximum Absolute Error - the largest absolute difference between any predicted and actual value. Measured in the same units as the y-values.
Sourcepub fn sample_count(&self) -> i32
pub fn sample_count(&self) -> i32
The number of data points used in the curve fitting calculation.
Sourcepub fn curve_result_details(&self) -> &CurveResultDetails
pub fn curve_result_details(&self) -> &CurveResultDetails
Description of the fit curve.
Trait Implementations§
Source§impl Clone for CurveFitResult
impl Clone for CurveFitResult
Source§fn clone(&self) -> CurveFitResult
fn clone(&self) -> CurveFitResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CurveFitResult
impl Debug for CurveFitResult
Source§impl<'de> Deserialize<'de> for CurveFitResult
impl<'de> Deserialize<'de> for CurveFitResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for CurveFitResult
Source§impl From<CurveFitResult> for Builder<Complete>
impl From<CurveFitResult> for Builder<Complete>
Source§fn from(v: CurveFitResult) -> Self
fn from(v: CurveFitResult) -> Self
Source§impl Hash for CurveFitResult
impl Hash for CurveFitResult
Source§impl Ord for CurveFitResult
impl Ord for CurveFitResult
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for CurveFitResult
impl PartialEq for CurveFitResult
Source§impl PartialOrd for CurveFitResult
impl PartialOrd for CurveFitResult
Auto Trait Implementations§
impl Freeze for CurveFitResult
impl RefUnwindSafe for CurveFitResult
impl Send for CurveFitResult
impl Sync for CurveFitResult
impl Unpin for CurveFitResult
impl UnsafeUnpin for CurveFitResult
impl UnwindSafe for CurveFitResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request