pub struct LabelSpreadResult {
pub labels: Vec<u32>,
pub confidence: Vec<Vec<f64>>,
}Expand description
Result of label spreading prediction.
Fields§
§labels: Vec<u32>Predicted label for each vertex (class with max probability).
confidence: Vec<Vec<f64>>Confidence matrix: confidence[v][c] = probability of vertex v
belonging to class c.
Trait Implementations§
Source§impl Clone for LabelSpreadResult
impl Clone for LabelSpreadResult
Source§fn clone(&self) -> LabelSpreadResult
fn clone(&self) -> LabelSpreadResult
Returns a duplicate of the value. Read more
1.0.0 · 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 LabelSpreadResult
impl Debug for LabelSpreadResult
Source§impl PartialEq for LabelSpreadResult
impl PartialEq for LabelSpreadResult
impl StructuralPartialEq for LabelSpreadResult
Auto Trait Implementations§
impl Freeze for LabelSpreadResult
impl RefUnwindSafe for LabelSpreadResult
impl Send for LabelSpreadResult
impl Sync for LabelSpreadResult
impl Unpin for LabelSpreadResult
impl UnsafeUnpin for LabelSpreadResult
impl UnwindSafe for LabelSpreadResult
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