pub struct PredictorStats {
pub predictions: usize,
pub avg_active_neurons: f32,
pub avg_sparsity: f32,
pub is_calibrated: bool,
}Expand description
Statistics about predictor performance.
Fields§
§predictions: usizeNumber of predictions made.
avg_active_neurons: f32Average number of neurons predicted as active.
avg_sparsity: f32Average sparsity ratio (1 - active/total).
is_calibrated: boolWhether the predictor is calibrated.
Trait Implementations§
Source§impl Clone for PredictorStats
impl Clone for PredictorStats
Source§fn clone(&self) -> PredictorStats
fn clone(&self) -> PredictorStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PredictorStats
impl Debug for PredictorStats
Source§impl Default for PredictorStats
impl Default for PredictorStats
Source§fn default() -> PredictorStats
fn default() -> PredictorStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PredictorStats
impl RefUnwindSafe for PredictorStats
impl Send for PredictorStats
impl Sync for PredictorStats
impl Unpin for PredictorStats
impl UnwindSafe for PredictorStats
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