pub struct JaccardBounds {
pub lower_bound: f64,
pub estimate: f64,
pub upper_bound: f64,
}Expand description
The result of a Tuple Jaccard similarity computation — returned by both
array_of_doubles_jaccard_similarity and
tuple_jaccard_similarity:
a confidence interval around the estimated Jaccard index of two sketches,
in [0.0, 1.0].
This is a distinct type from the theta module’s JaccardBounds with the
same shape — the two sketch families are independently feature-gated and
do not share types. (Deliberately not an intra-doc link: theta may not
be compiled in.)
Fields§
§lower_bound: f64Lower bound of the confidence interval around Self::estimate.
estimate: f64The estimated Jaccard index.
upper_bound: f64Upper bound of the confidence interval around Self::estimate.
Trait Implementations§
Source§impl Clone for JaccardBounds
impl Clone for JaccardBounds
Source§fn clone(&self) -> JaccardBounds
fn clone(&self) -> JaccardBounds
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 moreimpl Copy for JaccardBounds
Source§impl Debug for JaccardBounds
impl Debug for JaccardBounds
Source§impl From<TupleGenericJaccardBoundsFfi> for JaccardBounds
impl From<TupleGenericJaccardBoundsFfi> for JaccardBounds
Source§fn from(ffi: TupleGenericJaccardBoundsFfi) -> Self
fn from(ffi: TupleGenericJaccardBoundsFfi) -> Self
Converts to this type from the input type.
Source§impl From<TupleJaccardBoundsFfi> for JaccardBounds
impl From<TupleJaccardBoundsFfi> for JaccardBounds
Source§fn from(ffi: TupleJaccardBoundsFfi) -> Self
fn from(ffi: TupleJaccardBoundsFfi) -> Self
Converts to this type from the input type.
Source§impl PartialEq for JaccardBounds
impl PartialEq for JaccardBounds
impl StructuralPartialEq for JaccardBounds
Auto Trait Implementations§
impl Freeze for JaccardBounds
impl RefUnwindSafe for JaccardBounds
impl Send for JaccardBounds
impl Sync for JaccardBounds
impl Unpin for JaccardBounds
impl UnsafeUnpin for JaccardBounds
impl UnwindSafe for JaccardBounds
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