pub struct LinearProbeResult {
pub mean_accuracy: f64,
pub std_accuracy: f64,
pub per_fold_accuracy: Vec<f64>,
pub macro_f1: f64,
pub per_class_f1: Vec<f64>,
}Expand description
Summary of a k-fold cross-validation linear probing run.
Fields§
§mean_accuracy: f64Mean accuracy across all folds.
std_accuracy: f64Standard deviation of per-fold accuracies.
per_fold_accuracy: Vec<f64>Per-fold accuracy values (length = n_folds).
macro_f1: f64Macro-averaged F1 score across all folds (mean per-class harmonic mean).
per_class_f1: Vec<f64>Per-class F1 scores (length = n_classes).
Trait Implementations§
Source§impl Clone for LinearProbeResult
impl Clone for LinearProbeResult
Source§fn clone(&self) -> LinearProbeResult
fn clone(&self) -> LinearProbeResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LinearProbeResult
impl RefUnwindSafe for LinearProbeResult
impl Send for LinearProbeResult
impl Sync for LinearProbeResult
impl Unpin for LinearProbeResult
impl UnsafeUnpin for LinearProbeResult
impl UnwindSafe for LinearProbeResult
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