pub trait ComputeMedoid: Sized {
// Required method
fn compute_medoid(data: MatrixView<'_, Self>) -> Vec<Self>;
}Expand description
Return the row in data that is closest to the medoid of all rows.
Required Methods§
fn compute_medoid(data: MatrixView<'_, Self>) -> Vec<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.