hme_toolbox 0.1.0

A nice toolbox for AI- using Hierarchical-Mixture of Experts
Documentation
1
2
3
4
5
6
7
8
9
10
11
use rayon::prelude::*;
use super::hme::HierarchicalCluster;

impl HierarchicalCluster {
    pub fn parallel_update(&mut self) {
        self.subclusters.par_iter_mut().for_each(|sub| {
            sub.parallel_update();
        });
        self.cluster.update_centroid();
    }
}