pub struct ClusteringConfig {
pub cluster_count: u8,
pub output_cluster_index_dimension: u8,
pub dimensions: Option<Vec<usize>>,
}
Expand description
Configuration for clustering transforms
Fields§
§cluster_count: u8
The number of clusters to generate (must be > 1).
output_cluster_index_dimension: u8
dimension to which the cluster index will be written
dimensions: Option<Vec<usize>>
dimensions of source data that will be used in calculation of a cluster
Trait Implementations§
Source§impl Clone for ClusteringConfig
impl Clone for ClusteringConfig
Source§fn clone(&self) -> ClusteringConfig
fn clone(&self) -> ClusteringConfig
Returns a copy 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 ClusteringConfig
impl Debug for ClusteringConfig
Source§impl<'de> Deserialize<'de> for ClusteringConfig
impl<'de> Deserialize<'de> for ClusteringConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClusteringConfig
impl RefUnwindSafe for ClusteringConfig
impl Send for ClusteringConfig
impl Sync for ClusteringConfig
impl Unpin for ClusteringConfig
impl UnwindSafe for ClusteringConfig
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