pub struct RagEvalResult {
pub recall_at_k: f32,
pub ndcg_at_k: f32,
pub exact_rerank_recovery: f32,
}Fields§
§recall_at_k: f32§ndcg_at_k: f32§exact_rerank_recovery: f32Trait Implementations§
Source§impl Clone for RagEvalResult
impl Clone for RagEvalResult
Source§fn clone(&self) -> RagEvalResult
fn clone(&self) -> RagEvalResult
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 RagEvalResult
impl Debug for RagEvalResult
Source§impl PartialEq for RagEvalResult
impl PartialEq for RagEvalResult
Source§fn eq(&self, other: &RagEvalResult) -> bool
fn eq(&self, other: &RagEvalResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RagEvalResult
Auto Trait Implementations§
impl Freeze for RagEvalResult
impl RefUnwindSafe for RagEvalResult
impl Send for RagEvalResult
impl Sync for RagEvalResult
impl Unpin for RagEvalResult
impl UnsafeUnpin for RagEvalResult
impl UnwindSafe for RagEvalResult
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