pub struct RetrievalEvaluationReport {
pub cases: Vec<RetrievalCaseMetrics>,
pub mean_precision_at_k: f64,
pub mean_recall_at_k: f64,
pub mean_reciprocal_rank: f64,
pub mean_ndcg_at_k: f64,
pub mean_elapsed_micros: u64,
}Expand description
Macro-averaged retrieval-quality report.
Fields§
§cases: Vec<RetrievalCaseMetrics>Per-case evidence in input order.
mean_precision_at_k: f64Mean precision at K.
mean_recall_at_k: f64Mean recall at K.
mean_reciprocal_rank: f64Mean reciprocal rank.
mean_ndcg_at_k: f64Mean normalized discounted cumulative gain.
mean_elapsed_micros: u64Mean host-observed latency.
Trait Implementations§
Source§impl Clone for RetrievalEvaluationReport
impl Clone for RetrievalEvaluationReport
Source§fn clone(&self) -> RetrievalEvaluationReport
fn clone(&self) -> RetrievalEvaluationReport
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 moreSource§impl Debug for RetrievalEvaluationReport
impl Debug for RetrievalEvaluationReport
impl StructuralPartialEq for RetrievalEvaluationReport
Auto Trait Implementations§
impl Freeze for RetrievalEvaluationReport
impl RefUnwindSafe for RetrievalEvaluationReport
impl Send for RetrievalEvaluationReport
impl Sync for RetrievalEvaluationReport
impl Unpin for RetrievalEvaluationReport
impl UnsafeUnpin for RetrievalEvaluationReport
impl UnwindSafe for RetrievalEvaluationReport
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