Skip to main content

MixedRefineOps

Trait MixedRefineOps 

Source
pub trait MixedRefineOps {
    // Required method
    fn partition_columns_to_refined_mixed_groups<T>(
        &mut self,
        proj_kn: &DMatrix<f32>,
        num_features: Option<usize>,
        batch_membership: &[T],
        min_batches: usize,
        merge_levels: usize,
        params: &MixedRefineParams,
    ) -> Result<usize>
       where T: Hash + Eq + Clone;
}

Required Methods§

Source

fn partition_columns_to_refined_mixed_groups<T>( &mut self, proj_kn: &DMatrix<f32>, num_features: Option<usize>, batch_membership: &[T], min_batches: usize, merge_levels: usize, params: &MixedRefineParams, ) -> Result<usize>
where T: Hash + Eq + Clone,

Like RandProjOps::partition_columns_to_mixed_groups, then move cells between the groups under the likelihood of this data’s counts (see the module docs). Without sweeps the groups are exactly those of the unrefined partition. Returns the number of nonempty groups.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§