コード例 #1
0
ファイル: Cluster.cs プロジェクト: vutiendung/RS
        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());
        }
コード例 #2
0
ファイル: Cluster.cs プロジェクト: vutiendung/RS
        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());
        }
コード例 #3
0
ファイル: Cluster.cs プロジェクト: vutiendung/RS
 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();
 }
コード例 #4
0
ファイル: Cluster.cs プロジェクト: vutiendung/RS
 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();
 }