pub struct CurveFitResultV2 { /* private fields */ }Implementations§
Source§impl CurveFitResultV2
impl CurveFitResultV2
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) -> &CurveResultDetailsV2
pub fn curve_result_details(&self) -> &CurveResultDetailsV2
Description of the fit curve.
Trait Implementations§
Source§impl Clone for CurveFitResultV2
impl Clone for CurveFitResultV2
Source§fn clone(&self) -> CurveFitResultV2
fn clone(&self) -> CurveFitResultV2
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 CurveFitResultV2
impl Debug for CurveFitResultV2
Source§impl<'de> Deserialize<'de> for CurveFitResultV2
impl<'de> Deserialize<'de> for CurveFitResultV2
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CurveFitResultV2, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CurveFitResultV2, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for CurveFitResultV2
Source§impl Hash for CurveFitResultV2
impl Hash for CurveFitResultV2
Source§impl Ord for CurveFitResultV2
impl Ord for CurveFitResultV2
Source§fn cmp(&self, other: &CurveFitResultV2) -> Ordering
fn cmp(&self, other: &CurveFitResultV2) -> Ordering
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 CurveFitResultV2
impl PartialEq for CurveFitResultV2
Source§fn eq(&self, other: &CurveFitResultV2) -> bool
fn eq(&self, other: &CurveFitResultV2) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CurveFitResultV2
impl PartialOrd for CurveFitResultV2
Source§impl Serialize for CurveFitResultV2
impl Serialize for CurveFitResultV2
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for CurveFitResultV2
impl RefUnwindSafe for CurveFitResultV2
impl Send for CurveFitResultV2
impl Sync for CurveFitResultV2
impl Unpin for CurveFitResultV2
impl UnsafeUnpin for CurveFitResultV2
impl UnwindSafe for CurveFitResultV2
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