pub struct ConfidenceScorer { /* private fields */ }Expand description
Confidence scorer for hybrid evaluations Enhanced confidence scoring system for hybrid evaluation
Implementations§
Source§impl ConfidenceScorer
impl ConfidenceScorer
pub fn new() -> Self
Sourcepub fn with_calibration_settings(
self,
settings: ConfidenceCalibrationSettings,
) -> Self
pub fn with_calibration_settings( self, settings: ConfidenceCalibrationSettings, ) -> Self
Create confidence scorer with custom calibration settings
Sourcepub fn compute_confidence(
&self,
evaluation_results: &EvaluationResults,
blend_weights: &BlendWeights,
complexity_score: f32,
position_context: &PositionContext,
) -> ConfidenceAnalysisResult
pub fn compute_confidence( &self, evaluation_results: &EvaluationResults, blend_weights: &BlendWeights, complexity_score: f32, position_context: &PositionContext, ) -> ConfidenceAnalysisResult
Compute comprehensive confidence in the hybrid evaluation
Sourcepub fn compute_simple_confidence(
&self,
evaluation_results: &EvaluationResults,
blend_weights: &BlendWeights,
complexity_score: f32,
) -> f32
pub fn compute_simple_confidence( &self, evaluation_results: &EvaluationResults, blend_weights: &BlendWeights, complexity_score: f32, ) -> f32
Simplified confidence computation for compatibility
Sourcepub fn update_accuracy_history(
&self,
evaluation_results: &EvaluationResults,
blend_weights: &BlendWeights,
position_context: &PositionContext,
actual_outcome: f32,
predicted_outcome: f32,
)
pub fn update_accuracy_history( &self, evaluation_results: &EvaluationResults, blend_weights: &BlendWeights, position_context: &PositionContext, actual_outcome: f32, predicted_outcome: f32, )
Update historical accuracy based on actual game outcomes
Sourcepub fn get_statistics(&self) -> ConfidenceScoringStats
pub fn get_statistics(&self) -> ConfidenceScoringStats
Get confidence scoring statistics
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConfidenceScorer
impl RefUnwindSafe for ConfidenceScorer
impl Send for ConfidenceScorer
impl Sync for ConfidenceScorer
impl Unpin for ConfidenceScorer
impl UnwindSafe for ConfidenceScorer
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
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more