pub enum Classification {
Scores(Vec<Score>),
Ambiguous(Vec<Score>),
}Expand description
A classifier’s verdict for a request: a set of target Scores, flagged by how
confident the classifier is that they are decisive.
Variants§
Scores(Vec<Score>)
Definite recommendations; argmax always yields the top target.
Ambiguous(Vec<Score>)
Recommendations the classifier considers ambiguous; argmax yields
nothing unless the caller opts to ignore ambiguity.
Implementations§
Auto Trait Implementations§
impl Freeze for Classification
impl RefUnwindSafe for Classification
impl Send for Classification
impl Sync for Classification
impl Unpin for Classification
impl UnsafeUnpin for Classification
impl UnwindSafe for Classification
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