Esempio n. 1
0
        private Dictionary <int, int> byKmeansDCA()
        {
            K_means_DCA k_mean_DCA = new K_means_DCA();

            k_mean_DCA.addSetting(k, maxLoop, x, epsilon, sigma, T, M);
            k_mean_DCA.run();
            v_Last = k_mean_DCA.getV();
            return(k_mean_DCA.get_Clustered_Data());
        }
Esempio n. 2
0
        private Dictionary <int, int> byKmeansDCA(double[][] v)
        {
            K_means_DCA k_mean_DCA = new K_means_DCA();

            //k_mean.addSetting(k, maxLoop, Normalized(x), epsilon, sigma, T, M);
            k_mean_DCA.addSetting(k, maxLoop, x, epsilon, sigma, T, M);
            k_mean_DCA.run(v);
            v_Last = k_mean_DCA.getV();
            return(k_mean_DCA.get_Clustered_Data());
        }
Esempio n. 3
0
 private Dictionary<int, int> byKmeansDCA(double[][] v)
 {
     K_means_DCA k_mean_DCA = new K_means_DCA();
     //k_mean.addSetting(k, maxLoop, Normalized(x), epsilon, sigma, T, M);
     k_mean_DCA.addSetting(k, maxLoop, x, epsilon, sigma, T, M);
     k_mean_DCA.run(v);
     v_Last = k_mean_DCA.getV();
     return k_mean_DCA.get_Clustered_Data();
 }
Esempio n. 4
0
 private Dictionary<int, int> byKmeansDCA()
 {
     K_means_DCA k_mean_DCA = new K_means_DCA();
     k_mean_DCA.addSetting(k, maxLoop, x, epsilon, sigma, T, M);
     k_mean_DCA.run();
     v_Last = k_mean_DCA.getV();
     return k_mean_DCA.get_Clustered_Data();
 }