Exemple #1
0
 public void Setup()
 {
     _data                       = KMeans.LoadDataSet();
     _initialCentroids           = KMeans.GetRandomCentroids(_data, 1986, 11).ToImmutableList();
     _linqKMeans                 = new LINQKMeans(_data);
     _plinqKMeans                = new PLINQKMeans(_data);
     _plinqWithPartitionerKMeans = new PLINQWithPartitionerKMeans(_data);
 }