pub struct ClusterAssignment {
pub symbol: String,
pub cluster_id: usize,
pub distance_to_centroid: f64,
}Expand description
Cluster assignment for a single asset.
Fields§
§symbol: StringAsset identifier.
cluster_id: usizeZero-based cluster index.
distance_to_centroid: f64Euclidean distance from the asset’s feature vector to its centroid.
Trait Implementations§
Source§impl Clone for ClusterAssignment
impl Clone for ClusterAssignment
Auto Trait Implementations§
impl Freeze for ClusterAssignment
impl RefUnwindSafe for ClusterAssignment
impl Send for ClusterAssignment
impl Sync for ClusterAssignment
impl Unpin for ClusterAssignment
impl UnsafeUnpin for ClusterAssignment
impl UnwindSafe for ClusterAssignment
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