pub struct SemanticOutlier {
pub key: String,
pub avg_knn_distance: FixedPoint,
pub z_score: FixedPoint,
pub nearest_peer: String,
pub nearest_distance: FixedPoint,
}Expand description
A semantic outlier found by Store::find_outliers: a node whose
average distance to its nearest peers is anomalously large relative to
the population under the queried prefix.
Fields§
§key: StringThe outlying node’s key.
avg_knn_distance: FixedPointIts average distance to its k nearest peers in the population.
z_score: FixedPointHow many standard deviations that average sits above the population mean (always > the requested threshold).
nearest_peer: StringThe closest peer — “even its best match is this far away”.
nearest_distance: FixedPointDistance to that closest peer.
Trait Implementations§
Source§impl Clone for SemanticOutlier
impl Clone for SemanticOutlier
Source§fn clone(&self) -> SemanticOutlier
fn clone(&self) -> SemanticOutlier
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 SemanticOutlier
impl Debug for SemanticOutlier
Source§impl PartialEq for SemanticOutlier
impl PartialEq for SemanticOutlier
impl StructuralPartialEq for SemanticOutlier
Auto Trait Implementations§
impl Freeze for SemanticOutlier
impl RefUnwindSafe for SemanticOutlier
impl Send for SemanticOutlier
impl Sync for SemanticOutlier
impl Unpin for SemanticOutlier
impl UnsafeUnpin for SemanticOutlier
impl UnwindSafe for SemanticOutlier
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