Browse Source

1er commit

Titouan Labourdette 2 years ago
parent
commit
e3009c62af
100 changed files with 424677 additions and 136 deletions
  1. 0
    131
      .gitignore
  2. 6
    0
      .ipynb_checkpoints/Untitled-checkpoint.ipynb
  3. 0
    3
      LICENSE
  4. 0
    2
      README.md
  5. 58
    0
      Untitled.ipynb
  6. 15
    0
      clustering-benchmark-master/.gitignore
  7. 151
    0
      clustering-benchmark-master/README-old.asc
  8. 139
    0
      clustering-benchmark-master/README.md
  9. 6
    0
      clustering-benchmark-master/consensus
  10. 3
    0
      clustering-benchmark-master/evolve-sc
  11. 21
    0
      clustering-benchmark-master/nb-configuration.xml
  12. 246
    0
      clustering-benchmark-master/pom.xml
  13. 9
    0
      clustering-benchmark-master/run
  14. 40
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/AbsParams.java
  15. 104
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/Bench.java
  16. 42
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/BenchParams.java
  17. 63
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/ClusteringBenchmark.java
  18. 86
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/Container.java
  19. 127
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/Experiment.java
  20. 232
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/GnuplotReporter.java
  21. 94
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/Main.java
  22. 89
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/ParamExperiment.java
  23. 74
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/chameleon2/Cham2Bench.java
  24. 60
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/consensus/ConsensusExp.java
  25. 43
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/consensus/ConsensusParams.java
  26. 183
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/consensus/ConsensusRun.java
  27. 245
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/cutoff/CutoffComparison.java
  28. 85
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/cutoff/CutoffExp.java
  29. 58
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/cutoff/CutoffParams.java
  30. 148
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/cutoff/FirstJumpOptimization.java
  31. 117
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/evolve/EvolveExp.java
  32. 40
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/evolve/EvolveParams.java
  33. 188
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/exp/Data.java
  34. 78
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/exp/EvolveScores.java
  35. 59
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/exp/HclusPar.java
  36. 60
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/exp/HclusPar2.java
  37. 100
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/exp/Hclust.java
  38. 76
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/gen/NsgaGen.java
  39. 131
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/gen/NsgaGenExp.java
  40. 49
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/gen/NsgaGenParams.java
  41. 134
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/nsga/NsgaExp.java
  42. 55
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/nsga/NsgaParams.java
  43. 82
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/nsga/NsgaScore.java
  44. 151
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/partition/PartitionBench.java
  45. 65
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/partition/PartitionExp.java
  46. 40
    0
      clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/partition/PartitionParams.java
  47. 242
    0
      clustering-benchmark-master/src/main/java/org/clueminer/data/DataLoader.java
  48. 227
    0
      clustering-benchmark-master/src/main/java/org/clueminer/data/ResourceList.java
  49. 2
    0
      clustering-benchmark-master/src/main/nbm/manifest.mf
  50. 2997
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/2d-10c.arff
  51. 1527
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/2d-20c-no0.arff
  52. 725
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/2d-3c-no123.arff
  53. 873
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/2d-4c-no4.arff
  54. 886
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/2d-4c-no9.arff
  55. 1271
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/2d-4c.arff
  56. 1013
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/2dnormals.arff
  57. 2013
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/2sp2glob.arff
  58. 324
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/3-spiral.arff
  59. 412
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/3MC.arff
  60. 3111
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/D31.arff
  61. 589
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/DS-577.arff
  62. 862
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/DS-850.arff
  63. 610
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/R15.arff
  64. 800
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/aggregation.arff
  65. 819
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/aml28.arff
  66. 820
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/atom.arff
  67. 4818
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/banana.arff
  68. 100006
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/birch-rg1.arff
  69. 100006
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/birch-rg2.arff
  70. 100006
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/birch-rg3.arff
  71. 311
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/blobs.arff
  72. 1013
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/cassini.arff
  73. 1020
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/chainlink.arff
  74. 1020
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/circle.arff
  75. 8010
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/cluto-t4-8k.arff
  76. 8010
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/cluto-t5-8k.arff
  77. 10013
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/cluto-t7-10k.arff
  78. 8013
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/cluto-t8-8k.arff
  79. 2560
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/complex8.arff
  80. 3040
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/complex9.arff
  81. 410
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/compound.arff
  82. 1022
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/cuboids.arff
  83. 2007
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/cure-t0-2000n-2D.arff
  84. 2007
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/cure-t1-2000n-2D.arff
  85. 4207
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/cure-t2-4k.arff
  86. 1007
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/curves1.arff
  87. 1007
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/curves2.arff
  88. 1007
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/dartboard1.arff
  89. 1007
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/dartboard2.arff
  90. 3007
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/dense-disk-3000.arff
  91. 5007
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/dense-disk-5000.arff
  92. 3009
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/diamond9.arff
  93. 1008
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/disk-1000n.arff
  94. 3007
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/disk-3000n.arff
  95. 4007
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/disk-4000n.arff
  96. 4508
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/disk-4500n.arff
  97. 4607
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/disk-4600n.arff
  98. 5008
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/disk-5000n.arff
  99. 6007
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/disk-6000n.arff
  100. 0
    0
      clustering-benchmark-master/src/main/resources/datasets/artificial/donut1.arff

+ 0
- 131
.gitignore View File

@@ -1,131 +0,0 @@
1
-# ---> Python
2
-# Byte-compiled / optimized / DLL files
3
-__pycache__/
4
-*.py[cod]
5
-*$py.class
6
-
7
-# C extensions
8
-*.so
9
-
10
-# Distribution / packaging
11
-.Python
12
-env/
13
-build/
14
-develop-eggs/
15
-dist/
16
-downloads/
17
-eggs/
18
-.eggs/
19
-lib/
20
-lib64/
21
-parts/
22
-sdist/
23
-var/
24
-wheels/
25
-*.egg-info/
26
-.installed.cfg
27
-*.egg
28
-
29
-# PyInstaller
30
-#  Usually these files are written by a python script from a template
31
-#  before PyInstaller builds the exe, so as to inject date/other infos into it.
32
-*.manifest
33
-*.spec
34
-
35
-# Installer logs
36
-pip-log.txt
37
-pip-delete-this-directory.txt
38
-
39
-# Unit test / coverage reports
40
-htmlcov/
41
-.tox/
42
-.coverage
43
-.coverage.*
44
-.cache
45
-nosetests.xml
46
-coverage.xml
47
-*,cover
48
-.hypothesis/
49
-
50
-# Translations
51
-*.mo
52
-*.pot
53
-
54
-# Django stuff:
55
-*.log
56
-local_settings.py
57
-
58
-# Flask stuff:
59
-instance/
60
-.webassets-cache
61
-
62
-# Scrapy stuff:
63
-.scrapy
64
-
65
-# Sphinx documentation
66
-docs/_build/
67
-
68
-# PyBuilder
69
-target/
70
-
71
-# Jupyter Notebook
72
-.ipynb_checkpoints
73
-
74
-# pyenv
75
-.python-version
76
-
77
-# celery beat schedule file
78
-celerybeat-schedule
79
-
80
-# SageMath parsed files
81
-*.sage.py
82
-
83
-# dotenv
84
-.env
85
-
86
-# virtualenv
87
-.venv
88
-venv/
89
-ENV/
90
-
91
-# Spyder project settings
92
-.spyderproject
93
-
94
-# Rope project settings
95
-.ropeproject
96
-
97
-# ---> R
98
-# History files
99
-.Rhistory
100
-.Rapp.history
101
-
102
-# Session Data files
103
-.RData
104
-
105
-# Example code in package build process
106
-*-Ex.R
107
-
108
-# Output files from R CMD build
109
-/*.tar.gz
110
-
111
-# Output files from R CMD check
112
-/*.Rcheck/
113
-
114
-# RStudio files
115
-.Rproj.user/
116
-
117
-# produced vignettes
118
-vignettes/*.html
119
-vignettes/*.pdf
120
-
121
-# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
122
-.httr-oauth
123
-
124
-# knitr and R markdown default cache directories
125
-/*_cache/
126
-/cache/
127
-
128
-# Temporary files created by R markdown
129
-*.utf8.md
130
-*.knit.md
131
-

+ 6
- 0
.ipynb_checkpoints/Untitled-checkpoint.ipynb View File

@@ -0,0 +1,6 @@
1
+{
2
+ "cells": [],
3
+ "metadata": {},
4
+ "nbformat": 4,
5
+ "nbformat_minor": 5
6
+}

+ 0
- 3
LICENSE View File

@@ -1,3 +0,0 @@
1
-Copyright (C) 2006 by Rob Landley <rob@landley.net>
2
-Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
3
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

+ 0
- 2
README.md View File

@@ -1,2 +0,0 @@
1
-# tp-apprentissage
2
-

+ 58
- 0
Untitled.ipynb View File

@@ -0,0 +1,58 @@
1
+{
2
+ "cells": [
3
+  {
4
+   "cell_type": "code",
5
+   "execution_count": 2,
6
+   "id": "ad547a73",
7
+   "metadata": {},
8
+   "outputs": [
9
+    {
10
+     "ename": "OSError",
11
+     "evalue": "[Errno 22] Invalid argument: '.\\\\clustering-benchmark-master\\\\src\\\\main\\resources\\\\datasets\\x07rtificial\\x02d-3c-no123.arff'",
12
+     "output_type": "error",
13
+     "traceback": [
14
+      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
15
+      "\u001b[1;31mOSError\u001b[0m                                   Traceback (most recent call last)",
16
+      "\u001b[1;32m<ipython-input-2-2bb53bd2604e>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m\u001b[0m\n\u001b[0;32m      2\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m      3\u001b[0m \u001b[1;31m# data = arff.loadarff(open('file.arff','r'))\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 4\u001b[1;33m \u001b[0mdata\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0marff\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mloadarff\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mopen\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m'.\\clustering-benchmark-master\\src\\main\\resources\\datasets\\artificial\\2d-3c-no123.arff'\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;34m'r'\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
17
+      "\u001b[1;31mOSError\u001b[0m: [Errno 22] Invalid argument: '.\\\\clustering-benchmark-master\\\\src\\\\main\\resources\\\\datasets\\x07rtificial\\x02d-3c-no123.arff'"
18
+     ]
19
+    }
20
+   ],
21
+   "source": [
22
+    "from scipy.io import arff\n",
23
+    "\n",
24
+    "# data = arff.loadarff(open('file.arff','r'))\n",
25
+    "data = arff.loadarff(open('.\\clustering-benchmark-master\\src\\main\\resources\\datasets\\artificial\\2d-3c-no123.arff','r'))\n"
26
+   ]
27
+  },
28
+  {
29
+   "cell_type": "code",
30
+   "execution_count": null,
31
+   "id": "13b7eb33",
32
+   "metadata": {},
33
+   "outputs": [],
34
+   "source": []
35
+  }
36
+ ],
37
+ "metadata": {
38
+  "kernelspec": {
39
+   "display_name": "Python 3",
40
+   "language": "python",
41
+   "name": "python3"
42
+  },
43
+  "language_info": {
44
+   "codemirror_mode": {
45
+    "name": "ipython",
46
+    "version": 3
47
+   },
48
+   "file_extension": ".py",
49
+   "mimetype": "text/x-python",
50
+   "name": "python",
51
+   "nbconvert_exporter": "python",
52
+   "pygments_lexer": "ipython3",
53
+   "version": "3.8.8"
54
+  }
55
+ },
56
+ "nbformat": 4,
57
+ "nbformat_minor": 5
58
+}

+ 15
- 0
clustering-benchmark-master/.gitignore View File

@@ -0,0 +1,15 @@
1
+*.class
2
+
3
+# Package Files #
4
+*.jar
5
+*.war
6
+*.ear
7
+*~
8
+.classpath
9
+.project
10
+.settings/
11
+target/
12
+logs/
13
+/nbproject/private/
14
+
15
+/nbproject/

+ 151
- 0
clustering-benchmark-master/README-old.asc View File

@@ -0,0 +1,151 @@
1
+# Clustering datasets
2
+
3
+## Datasets
4
+
5
+This project contains collection of labeled clustering problems that can be found in the literature. Most of datasets were artificially created.
6
+
7
+All datasets can be found link:https://github.com/deric/clustering-benchmark/tree/master/src/main/resources/datasets/artificial[data folder].
8
+
9
+### 2d-10c
10
+
11
+[align="right",options="header"]
12
+|===
13
+| data points | clusters | dimension
14
+| 2990  |  10 |  2
15
+|===
16
+
17
+image::https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/2d-10c.png["2d-10c",400,float="left"]
18
+
19
+[.float .right]
20
+* link:https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/2d-10c.arff[ARFF]
21
+* link:https://github.com/deric/handl-data-generators[generator]
22
+
23
+> J. Handl and J. Knowles, “Multiobjective clustering with automatic
24
+> determination of the number of clusters,” UMIST, Tech. Rep., 2004.
25
+
26
+### atom
27
+
28
+[align="right",options="header"]
29
+|===
30
+| data points | clusters | dimension
31
+| 800         |        2 |  3
32
+|===
33
+
34
+image::https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/atom.png["atom",400,float="left"]
35
+
36
+[.float .right]
37
+* source: link:https://www.uni-marburg.de/fb12/datenbionik/data?language_sync=1[FCPS]
38
+* link:https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/atom.arff[ARFF]
39
+
40
+### aggregation
41
+
42
+[align="right",options="header"]
43
+|===
44
+| data points | clusters | dimension
45
+| 788  |  7 |  2
46
+|===
47
+
48
+image::https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/aggregation.png[aggregation,400,float="left"]
49
+
50
+[.float .right]
51
+* link:https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/aggregation.arff[ARFF]
52
+* link:http://cs.joensuu.fi/sipu/datasets/[original source]
53
+
54
+> Gionis, A., H. Mannila, and P. Tsaparas, Clustering aggregation.
55
+> ACM Transactions on Knowledge Discovery from Data (TKDD), 2007. 1(1): p. 1-30.
56
+
57
+### chainlink
58
+
59
+[align="right",options="header"]
60
+|===
61
+| data points | clusters | dimension
62
+| 1000        |        2 |  3
63
+|===
64
+
65
+image::https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/chainlink.png["chainlink",400,float="left"]
66
+
67
+[.float .right]
68
+* source: link:https://www.uni-marburg.de/fb12/datenbionik/data?language_sync=1[FCPS]
69
+* link:https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/chainlink.arff[ARFF]
70
+
71
+> Alfred Ultsch, Clustering with SOM: U*C,
72
+> in Proc. Workshop on Self Organizing Feature Maps ,pp 31-37 Paris 2005.
73
+
74
+### D31
75
+
76
+[align="right",style="asciidoc",options="noborders,wide"]
77
+|===
78
+| data points |  3100
79
+| clusters    | 31
80
+| dimensions  | 2
81
+| image::https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/D31.png["D31",400,float="left"] | * link:https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/D31.arff[ARFF]
82
+|===
83
+
84
+> Veenman, C.J., M.J.T. Reinders, and E. Backer,
85
+> A maximum variance cluster algorithm. IEEE Trans. Pattern Analysis and Machine Intelligence 2002. 24(9): p. 1273-1280.
86
+
87
+### 3MC
88
+
89
+[align="right",options="header",style="literal"]
90
+|===
91
+| data points | clusters | dimension
92
+| 400         |        3 |  2
93
+|===
94
+
95
+[.float .right]
96
+image::https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/3MC.png["3MC",400,float="left"]
97
+
98
+
99
+### DS577
100
+
101
+[align="right",options="header"]
102
+|===
103
+| data points | clusters | dimension
104
+| 577        |        3 |  2
105
+|===
106
+
107
+image::https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/DS577.png["D31",400,float="left"]
108
+
109
+[.float .right]
110
+* link:https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/DS577.arff[ARFF]
111
+
112
+> M. C. Su, C. H. Chou, and C. C. Hsieh, “Fuzzy C-Means Algorithm with a Point Symmetry Distance,”
113
+> International Journal of Fuzzy Systems, vol. 7, no. 4, pp. 175-181, 2005.
114
+
115
+
116
+### cluto-t4_8k
117
+
118
+[align="right",options="header"]
119
+|===
120
+| data points | clusters | dimension
121
+| 8000        |        7 |  2
122
+|===
123
+
124
+image::https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/cluto-t4_8k.png["cluto-t4_8k",400,float="left"]
125
+
126
+[.float .right]
127
+* link:https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/cluto-t4.8k.arff[ARFF]
128
+
129
+> G. Karypis, “CLUTO A Clustering Toolkit,”
130
+> Dept. of Computer Science, University of Minnesota, Tech. Rep. 02-017, 2002, available at
131
+http://www.cs.umn.edu/ ̃cluto.
132
+
133
+
134
+## Experiments
135
+
136
+This project contains set of clustering methods benchmarks on various dataset. The project is dependent on [Clueminer project](https://github.com/deric/clueminer).
137
+
138
+in order to run benchmark compile dependencies into a single JAR file:
139
+
140
+    mvn assembly:assembly
141
+
142
+# Consensus experiment
143
+
144
+allows running repeated runs of the same algorithm:
145
+
146
+```
147
+./run consensus --dataset "triangle1" --repeat 10
148
+```
149
+by default k-means algorithm is used.
150
+
151
+For available datasets see [resources folder](https://github.com/deric/clustering-benchmark/tree/master/src/main/resources/datasets/artificial).

+ 139
- 0
clustering-benchmark-master/README.md View File

@@ -0,0 +1,139 @@
1
+# Clustering benchmarks
2
+
3
+## Datasets
4
+
5
+This project contains collection of labeled clustering problems that can be found in the literature. Most of datasets were artificially created.
6
+
7
+The benchmark includes:
8
+
9
+  * [artificial datasets](https://github.com/deric/clustering-benchmark/tree/master/src/main/resources/datasets/artificial)
10
+  * [real world datasets](https://github.com/deric/clustering-benchmark/tree/master/src/main/resources/datasets/real-world)
11
+
12
+### Artificial data
13
+
14
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/2d-10c.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/2d-10c.png" alt="2d-10c" title="2d-10c" width="239px" style="max-width: 100%;float:left;"/></a>
15
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/2d-20c-no0.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/2d-20c-no0.png" alt="2d-20c-no0" title="2d-20c-no0" width="239px" style="max-width: 100%;float:left;"/></a>
16
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/2d-3c-no123.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/2d-3c-no123.png" alt="2d-3c-no123" title="2d-3c-no123" width="239px" style="max-width: 100%;float:left;"/></a>
17
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/2d-4c-no4.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/2d-4c-no4.png" alt="2d-4c-no4" title="2d-4c-no4" width="239px" style="max-width: 100%;float:left;"/></a>
18
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/2d-4c-no9.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/2d-4c-no9.png" alt="2d-4c-no9" title="2d-4c-no9" width="239px" style="max-width: 100%;float:left;"/></a>
19
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/2d-4c.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/2d-4c.png" alt="2d-4c" title="2d-4c" width="239px" style="max-width: 100%;float:left;"/></a>
20
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/2sp2glob.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/2sp2glob.png" alt="2sp2glob" title="2sp2glob" width="239px" style="max-width: 100%;float:left;"/></a>
21
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/3-spiral.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/3-spiral.png" alt="3-spiral" title="3-spiral" width="239px" style="max-width: 100%;float:left;"/></a>
22
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/3MC.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/3mc.png" alt="3MC" title="3MC" width="239px" style="max-width: 100%;float:left;"/></a>
23
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/D31.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/d31.png" alt="D31" title="D31" width="239px" style="max-width: 100%;float:left;"/></a>
24
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/DS577.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/ds577.png" alt="DS577" title="DS577" width="239px" style="max-width: 100%;float:left;"/></a>
25
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/DS850.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/ds850.png" alt="DS850" title="DS850" width="239px" style="max-width: 100%;float:left;"/></a>
26
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/R15.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/r15.png" alt="R15" title="R15" width="239px" style="max-width: 100%;float:left;"/></a>
27
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/aggregation.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/aggregation.png" alt="aggregation" title="aggregation" width="239px" style="max-width: 100%;float:left;"/></a>
28
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/atom.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/atom.png" alt="atom" title="atom" width="239px" style="max-width: 100%;float:left;"/></a>
29
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/banana.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/banana.png" alt="banana" title="banana" width="239px" style="max-width: 100%;float:left;"/></a>
30
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/birch-rg1.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/birch-rg1.png" alt="birch-rg1" title="birch-rg1" width="239px" style="max-width: 100%;float:left;"/></a>
31
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/birch-rg2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/birch-rg2.png" alt="birch-rg2" title="birch-rg2" width="239px" style="max-width: 100%;float:left;"/></a>
32
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/birch-rg3.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/birch-rg3.png" alt="birch-rg3" title="birch-rg3" width="239px" style="max-width: 100%;float:left;"/></a>
33
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/chainlink.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/chainlink.png" alt="chainlink" title="chainlink" width="239px" style="max-width: 100%;float:left;"/></a>
34
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/cluto-t4.8k.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/cluto-t4.8k.png" alt="cluto-t4.8k" title="cluto-t4.8k" width="239px" style="max-width: 100%;float:left;"/></a>
35
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/cluto-t5.8k.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/cluto-t5.8k.png" alt="cluto-t5.8k" title="cluto-t5.8k" width="239px" style="max-width: 100%;float:left;"/></a>
36
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/cluto-t7.10k.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/cluto-t7.10k.png" alt="cluto-t7.10k" title="cluto-t7.10k" width="239px" style="max-width: 100%;float:left;"/></a>
37
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/cluto-t8.8k.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/cluto-t8.8k.png" alt="cluto-t8.8k" title="cluto-t8.8k" width="239px" style="max-width: 100%;float:left;"/></a>
38
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/complex8.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/complex8.png" alt="complex8" title="complex8" width="239px" style="max-width: 100%;float:left;"/></a>
39
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/complex9.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/complex9.png" alt="complex9" title="complex9" width="239px" style="max-width: 100%;float:left;"/></a>
40
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/compound.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/compound.png" alt="compound" title="compound" width="239px" style="max-width: 100%;float:left;"/></a>
41
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/cure-t0-2000n-2D.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/cure-t0-2000n-2d.png" alt="cure-t0-2000n-2D" title="cure-t0-2000n-2D" width="239px" style="max-width: 100%;float:left;"/></a>
42
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/cure-t1-2000n-2D.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/cure-t1-2000n-2d.png" alt="cure-t1-2000n-2D" title="cure-t1-2000n-2D" width="239px" style="max-width: 100%;float:left;"/></a>
43
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/cure-t2-4k.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/cure-t2-4k.png" alt="cure-t2-4k" title="cure-t2-4k" width="239px" style="max-width: 100%;float:left;"/></a>
44
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/curves1.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/curves1.png" alt="curves1" title="curves1" width="239px" style="max-width: 100%;float:left;"/></a>
45
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/curves2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/curves2.png" alt="curves2" title="curves2" width="239px" style="max-width: 100%;float:left;"/></a>
46
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/dartboard1.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/dartboard1.png" alt="dartboard1" title="dartboard1" width="239px" style="max-width: 100%;float:left;"/></a>
47
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/dartboard2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/dartboard2.png" alt="dartboard2" title="dartboard2" width="239px" style="max-width: 100%;float:left;"/></a>
48
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/dense-disk-3000.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/dense-disk-3000.png" alt="dense-disk-3000" title="dense-disk-3000" width="239px" style="max-width: 100%;float:left;"/></a>
49
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/dense-disk-5000.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/dense-disk-5000.png" alt="dense-disk-5000" title="dense-disk-5000" width="239px" style="max-width: 100%;float:left;"/></a>
50
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/diamond9.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/diamond9.png" alt="diamond9" title="diamond9" width="239px" style="max-width: 100%;float:left;"/></a>
51
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/disk-1000n.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/disk-1000n.png" alt="disk-1000n" title="disk-1000n" width="239px" style="max-width: 100%;float:left;"/></a>
52
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/disk-3000n.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/disk-3000n.png" alt="disk-3000n" title="disk-3000n" width="239px" style="max-width: 100%;float:left;"/></a>
53
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/disk-4000n.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/disk-4000n.png" alt="disk-4000n" title="disk-4000n" width="239px" style="max-width: 100%;float:left;"/></a>
54
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/disk-4500n.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/disk-4500n.png" alt="disk-4500n" title="disk-4500n" width="239px" style="max-width: 100%;float:left;"/></a>
55
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/disk-4600n.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/disk-4600n.png" alt="disk-4600n" title="disk-4600n" width="239px" style="max-width: 100%;float:left;"/></a>
56
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/disk-5000n.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/disk-5000n.png" alt="disk-5000n" title="disk-5000n" width="239px" style="max-width: 100%;float:left;"/></a>
57
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/disk-6000n.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/disk-6000n.png" alt="disk-6000n" title="disk-6000n" width="239px" style="max-width: 100%;float:left;"/></a>
58
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/donut1.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/donut1.png" alt="donut1" title="donut1" width="239px" style="max-width: 100%;float:left;"/></a>
59
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/donut2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/donut2.png" alt="donut2" title="donut2" width="239px" style="max-width: 100%;float:left;"/></a>
60
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/donut3.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/donut3.png" alt="donut3" title="donut3" width="239px" style="max-width: 100%;float:left;"/></a>
61
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/donutcurves.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/donutcurves.png" alt="donutcurves" title="donutcurves" width="239px" style="max-width: 100%;float:left;"/></a>
62
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/ds2c2sc13.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/ds2c2sc13.png" alt="ds2c2sc13" title="ds2c2sc13" width="239px" style="max-width: 100%;float:left;"/></a>
63
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/ds3c3sc6.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/ds3c3sc6.png" alt="ds3c3sc6" title="ds3c3sc6" width="239px" style="max-width: 100%;float:left;"/></a>
64
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/ds4c2sc8.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/ds4c2sc8.png" alt="ds4c2sc8" title="ds4c2sc8" width="239px" style="max-width: 100%;float:left;"/></a>
65
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/elliptical_10_2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/elliptical_10_2.png" alt="elliptical_10_2" title="elliptical_10_2" width="239px" style="max-width: 100%;float:left;"/></a>
66
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/elly-2d10c13s.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/elly-2d10c13s.png" alt="elly-2d10c13s" title="elly-2d10c13s" width="239px" style="max-width: 100%;float:left;"/></a>
67
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/engytime.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/engytime.png" alt="engytime" title="engytime" width="239px" style="max-width: 100%;float:left;"/></a>
68
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/flame.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/flame.png" alt="flame" title="flame" width="239px" style="max-width: 100%;float:left;"/></a>
69
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/fourty.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/fourty.png" alt="fourty" title="fourty" width="239px" style="max-width: 100%;float:left;"/></a>
70
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/golfball.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/golfball.png" alt="golfball" title="golfball" width="239px" style="max-width: 100%;float:left;"/></a>
71
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/hepta.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/hepta.png" alt="hepta" title="hepta" width="239px" style="max-width: 100%;float:left;"/></a>
72
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/insect.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/insect.png" alt="insect" title="insect" width="239px" style="max-width: 100%;float:left;"/></a>
73
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/jain.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/jain.png" alt="jain" title="jain" width="239px" style="max-width: 100%;float:left;"/></a>
74
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/long1.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/long1.png" alt="long1" title="long1" width="239px" style="max-width: 100%;float:left;"/></a>
75
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/long2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/long2.png" alt="long2" title="long2" width="239px" style="max-width: 100%;float:left;"/></a>
76
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/long3.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/long3.png" alt="long3" title="long3" width="239px" style="max-width: 100%;float:left;"/></a>
77
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/longsquare.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/longsquare.png" alt="longsquare" title="longsquare" width="239px" style="max-width: 100%;float:left;"/></a>
78
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/lsun.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/lsun.png" alt="lsun" title="lsun" width="239px" style="max-width: 100%;float:left;"/></a>
79
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/mopsi-finland.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/mopsi-finland.png" alt="mopsi-finland" title="mopsi-finland" width="239px" style="max-width: 100%;float:left;"/></a>
80
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/mopsi-joensuu.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/mopsi-joensuu.png" alt="mopsi-joensuu" title="mopsi-joensuu" width="239px" style="max-width: 100%;float:left;"/></a>
81
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/pathbased.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/pathbased.png" alt="pathbased" title="pathbased" width="239px" style="max-width: 100%;float:left;"/></a>
82
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/rings.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/rings.png" alt="rings" title="rings" width="239px" style="max-width: 100%;float:left;"/></a>
83
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/s-set1.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/s-set1.png" alt="s-set1" title="s-set1" width="239px" style="max-width: 100%;float:left;"/></a>
84
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/s-set2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/s-set2.png" alt="s-set2" title="s-set2" width="239px" style="max-width: 100%;float:left;"/></a>
85
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/s-set3.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/s-set3.png" alt="s-set3" title="s-set3" width="239px" style="max-width: 100%;float:left;"/></a>
86
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/s-set4.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/s-set4.png" alt="s-set4" title="s-set4" width="239px" style="max-width: 100%;float:left;"/></a>
87
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/sizes1.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/sizes1.png" alt="sizes1" title="sizes1" width="239px" style="max-width: 100%;float:left;"/></a>
88
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/sizes2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/sizes2.png" alt="sizes2" title="sizes2" width="239px" style="max-width: 100%;float:left;"/></a>
89
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/sizes3.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/sizes3.png" alt="sizes3" title="sizes3" width="239px" style="max-width: 100%;float:left;"/></a>
90
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/sizes4.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/sizes4.png" alt="sizes4" title="sizes4" width="239px" style="max-width: 100%;float:left;"/></a>
91
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/sizes5.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/sizes5.png" alt="sizes5" title="sizes5" width="239px" style="max-width: 100%;float:left;"/></a>
92
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/smile1.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/smile1.png" alt="smile1" title="smile1" width="239px" style="max-width: 100%;float:left;"/></a>
93
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/smile2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/smile2.png" alt="smile2" title="smile2" width="239px" style="max-width: 100%;float:left;"/></a>
94
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/smile3.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/smile3.png" alt="smile3" title="smile3" width="239px" style="max-width: 100%;float:left;"/></a>
95
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/spherical_4_3.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/spherical_4_3.png" alt="spherical_4_3" title="spherical_4_3" width="239px" style="max-width: 100%;float:left;"/></a>
96
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/spherical_5_2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/spherical_5_2.png" alt="spherical_5_2" title="spherical_5_2" width="239px" style="max-width: 100%;float:left;"/></a>
97
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/spherical_6_2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/spherical_6_2.png" alt="spherical_6_2" title="spherical_6_2" width="239px" style="max-width: 100%;float:left;"/></a>
98
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/spiral.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/spiral.png" alt="spiral" title="spiral" width="239px" style="max-width: 100%;float:left;"/></a>
99
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/spiralsquare.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/spiralsquare.png" alt="spiralsquare" title="spiralsquare" width="239px" style="max-width: 100%;float:left;"/></a>
100
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/square1.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/square1.png" alt="square1" title="square1" width="239px" style="max-width: 100%;float:left;"/></a>
101
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/square2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/square2.png" alt="square2" title="square2" width="239px" style="max-width: 100%;float:left;"/></a>
102
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/square3.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/square3.png" alt="square3" title="square3" width="239px" style="max-width: 100%;float:left;"/></a>
103
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/square4.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/square4.png" alt="square4" title="square4" width="239px" style="max-width: 100%;float:left;"/></a>
104
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/square5.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/square5.png" alt="square5" title="square5" width="239px" style="max-width: 100%;float:left;"/></a>
105
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/st900.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/st900.png" alt="st900" title="st900" width="239px" style="max-width: 100%;float:left;"/></a>
106
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/target.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/target.png" alt="target" title="target" width="239px" style="max-width: 100%;float:left;"/></a>
107
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/tetra.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/tetra.png" alt="tetra" title="tetra" width="239px" style="max-width: 100%;float:left;"/></a>
108
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/triangle1.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/triangle1.png" alt="triangle1" title="triangle1" width="239px" style="max-width: 100%;float:left;"/></a>
109
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/triangle2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/triangle2.png" alt="triangle2" title="triangle2" width="239px" style="max-width: 100%;float:left;"/></a>
110
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/twenty.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/twenty.png" alt="twenty" title="twenty" width="239px" style="max-width: 100%;float:left;"/></a>
111
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/twodiamonds.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/twodiamonds.png" alt="twodiamonds" title="twodiamonds" width="239px" style="max-width: 100%;float:left;"/></a>
112
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/wingnut.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/wingnut.png" alt="wingnut" title="wingnut" width="239px" style="max-width: 100%;float:left;"/></a>
113
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/xclara.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/xclara.png" alt="xclara" title="xclara" width="239px" style="max-width: 100%;float:left;"/></a>
114
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/zelnik1.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/zelnik1.png" alt="zelnik1" title="zelnik1" width="239px" style="max-width: 100%;float:left;"/></a>
115
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/zelnik2.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/zelnik2.png" alt="zelnik2" title="zelnik2" width="239px" style="max-width: 100%;float:left;"/></a>
116
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/zelnik3.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/zelnik3.png" alt="zelnik3" title="zelnik3" width="239px" style="max-width: 100%;float:left;"/></a>
117
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/zelnik4.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/zelnik4.png" alt="zelnik4" title="zelnik4" width="239px" style="max-width: 100%;float:left;"/></a>
118
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/zelnik5.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/zelnik5.png" alt="zelnik5" title="zelnik5" width="239px" style="max-width: 100%;float:left;"/></a>
119
+<a href="https://github.com/deric/clustering-benchmark/blob/master/src/main/resources/datasets/artificial/zelnik6.arff"><img src="https://github.com/deric/clustering-benchmark/blob/images/fig/artificial/zelnik6.png" alt="zelnik6" title="zelnik6" width="239px" style="max-width: 100%;float:left;"/></a>
120
+
121
+
122
+## Experiments
123
+
124
+This project contains set of clustering methods benchmarks on various dataset. The project is dependent on [Clueminer project](https://github.com/deric/clueminer).
125
+
126
+in order to run benchmark compile dependencies into a single JAR file:
127
+
128
+    mvn assembly:assembly
129
+
130
+# Consensus experiment
131
+
132
+allows running repeated runs of the same algorithm:
133
+
134
+```
135
+./run consensus --dataset "triangle1" --repeat 10
136
+```
137
+by default k-means algorithm is used.
138
+
139
+For available datasets see [resources folder](https://github.com/deric/clustering-benchmark/tree/master/src/main/resources/datasets/artificial).

+ 6
- 0
clustering-benchmark-master/consensus View File

@@ -0,0 +1,6 @@
1
+#!/bin/bash
2
+meth=("KmB-COMUSA-RAND" "KmB-COMUSA-MO" "KmB-COMUSA-RAND-fixed")
3
+for m in "${meth[@]}"; do
4
+ ./run consensus --repeat 10 --method "$m" --dataset "$@"
5
+done
6
+

+ 3
- 0
clustering-benchmark-master/evolve-sc View File

@@ -0,0 +1,3 @@
1
+#!/bin/bash
2
+ARGS="evolve-sc --test --generations 20 --population 50 $@"
3
+`./run $ARGS`

+ 21
- 0
clustering-benchmark-master/nb-configuration.xml View File

@@ -0,0 +1,21 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project-shared-configuration>
3
+    <!--
4
+This file contains additional configuration written by modules in the NetBeans IDE.
5
+The configuration is intended to be shared among all the users of project and
6
+therefore it is assumed to be part of version control checkout.
7
+Without this configuration present, some functionality in the IDE may be limited or fail altogether.
8
+-->
9
+    <spellchecker-wordlist xmlns="http://www.netbeans.org/ns/spellchecker-wordlist/1">
10
+        <word>unsupervised</word>
11
+    </spellchecker-wordlist>
12
+    <properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
13
+        <!--
14
+Properties that influence various parts of the IDE, especially code formatting and the like. 
15
+You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
16
+That way multiple projects can share the same settings (useful for formatting rules for example).
17
+Any value defined here will override the pom.xml file value but is only applicable to the current project.
18
+-->
19
+        <netbeans.hint.licensePath>${project.basedir}/../clueminer/license.txt</netbeans.hint.licensePath>
20
+    </properties>
21
+</project-shared-configuration>

+ 246
- 0
clustering-benchmark-master/pom.xml View File

@@ -0,0 +1,246 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
+    <modelVersion>4.0.0</modelVersion>
4
+    <parent>
5
+        <artifactId>clueminer-parent</artifactId>
6
+        <groupId>org.clueminer</groupId>
7
+        <version>0.1.0-SNAPSHOT</version>
8
+        <relativePath>../..</relativePath>
9
+    </parent>
10
+
11
+    <groupId>org.clueminer</groupId>
12
+    <artifactId>clustering-benchmark</artifactId>
13
+    <version>0.1.0-SNAPSHOT</version>
14
+    <packaging>nbm</packaging>
15
+
16
+    <name>clustering-benchmark</name>
17
+
18
+    <properties>
19
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20
+    </properties>
21
+
22
+    <repositories>
23
+        <!--
24
+        Repository hosting NetBeans modules, especially APIs.
25
+        Versions are based on IDE releases, e.g.: RELEASE691
26
+        To create your own repository, use: nbm:populate-repository
27
+        -->
28
+        <repository>
29
+            <id>netbeans</id>
30
+            <name>NetBeans</name>
31
+            <url>http://bits.netbeans.org/maven2/</url>
32
+            <snapshots>
33
+                <enabled>false</enabled>
34
+            </snapshots>
35
+        </repository>
36
+    </repositories>
37
+
38
+    <dependencies>
39
+        <dependency>
40
+            <groupId>org.netbeans.api</groupId>
41
+            <artifactId>org-netbeans-api-annotations-common</artifactId>
42
+        </dependency>
43
+        <dependency>
44
+            <groupId>${project.groupId}</groupId>
45
+            <artifactId>dataset-api</artifactId>
46
+            <version>${project.version}</version>
47
+        </dependency>
48
+        <dependency>
49
+            <groupId>${project.groupId}</groupId>
50
+            <artifactId>clustering-impl</artifactId>
51
+            <version>${project.version}</version>
52
+        </dependency>
53
+        <dependency>
54
+            <groupId>${project.groupId}</groupId>
55
+            <artifactId>clustering-api</artifactId>
56
+            <version>${project.version}</version>
57
+        </dependency>
58
+        <dependency>
59
+            <groupId>${project.groupId}</groupId>
60
+            <artifactId>dataset-impl</artifactId>
61
+            <version>${project.version}</version>
62
+        </dependency>
63
+        <dependency>
64
+            <groupId>${project.groupId}</groupId>
65
+            <artifactId>dataset-io</artifactId>
66
+            <version>${project.version}</version>
67
+        </dependency>
68
+        <dependency>
69
+            <groupId>${project.groupId}</groupId>
70
+            <artifactId>fixtures</artifactId>
71
+            <version>${project.version}</version>
72
+        </dependency>
73
+        <dependency>
74
+            <groupId>${project.groupId}</groupId>
75
+            <artifactId>dataset-benchmark</artifactId>
76
+            <version>${project.version}</version>
77
+        </dependency>
78
+        <dependency>
79
+            <groupId>org.netbeans.api</groupId>
80
+            <artifactId>org-openide-util-lookup</artifactId>
81
+        </dependency>
82
+        <dependency>
83
+            <groupId>org.netbeans.api</groupId>
84
+            <artifactId>org-openide-util</artifactId>
85
+        </dependency>
86
+        <dependency>
87
+            <groupId>${project.groupId}</groupId>
88
+            <artifactId>utils</artifactId>
89
+            <version>${project.version}</version>
90
+        </dependency>
91
+        <dependency>
92
+            <groupId>${project.groupId}</groupId>
93
+            <artifactId>clustering-evolution</artifactId>
94
+            <version>${project.version}</version>
95
+        </dependency>
96
+        <dependency>
97
+            <groupId>${project.groupId}</groupId>
98
+            <artifactId>clustering-eval</artifactId>
99
+            <version>${project.version}</version>
100
+        </dependency>
101
+        <dependency>
102
+            <groupId>${project.groupId}</groupId>
103
+            <artifactId>clustering-dist</artifactId>
104
+            <version>${project.version}</version>
105
+        </dependency>
106
+        <dependency>
107
+            <groupId>${project.groupId}</groupId>
108
+            <artifactId>fixtures-clustering</artifactId>
109
+            <version>${project.version}</version>
110
+        </dependency>
111
+        <dependency>
112
+            <groupId>junit</groupId>
113
+            <artifactId>junit</artifactId>
114
+            <version>${clueminer.junit.version}</version>
115
+            <scope>test</scope>
116
+        </dependency>
117
+        <dependency>
118
+            <groupId>com.beust</groupId>
119
+            <artifactId>jcommander</artifactId>
120
+            <version>1.48</version>
121
+        </dependency>
122
+        <dependency>
123
+            <groupId>${project.groupId}</groupId>
124
+            <artifactId>core-lib-wrapper</artifactId>
125
+            <version>${project.version}</version>
126
+        </dependency>
127
+        <dependency>
128
+            <groupId>${project.groupId}</groupId>
129
+            <artifactId>evolution-api</artifactId>
130
+            <version>${project.version}</version>
131
+        </dependency>
132
+        <dependency>
133
+            <groupId>org.clueminer</groupId>
134
+            <artifactId>chameleon</artifactId>
135
+            <version>${project.version}</version>
136
+        </dependency>
137
+        <dependency>
138
+            <groupId>${project.groupId}</groupId>
139
+            <artifactId>gnuplot</artifactId>
140
+            <version>${project.version}</version>
141
+        </dependency>
142
+        <dependency>
143
+            <groupId>${project.groupId}</groupId>
144
+            <artifactId>partitioning-api</artifactId>
145
+            <version>${project.version}</version>
146
+        </dependency>
147
+        <dependency>
148
+            <groupId>${project.groupId}</groupId>
149
+            <artifactId>graph-api</artifactId>
150
+            <version>${project.version}</version>
151
+        </dependency>
152
+        <dependency>
153
+            <groupId>${project.groupId}</groupId>
154
+            <artifactId>graph-impl</artifactId>
155
+            <version>${project.version}</version>
156
+        </dependency>
157
+        <dependency>
158
+            <groupId>${project.groupId}</groupId>
159
+            <artifactId>partitioning-impl</artifactId>
160
+            <version>${project.version}</version>
161
+        </dependency>
162
+        <dependency>
163
+            <groupId>org.netbeans.api</groupId>
164
+            <artifactId>org-openide-util-ui</artifactId>
165
+        </dependency>
166
+    </dependencies>
167
+
168
+    <build>
169
+        <plugins>
170
+            <plugin>
171
+                <groupId>org.codehaus.mojo</groupId>
172
+                <artifactId>nbm-maven-plugin</artifactId>
173
+                <extensions>true</extensions>
174
+                <configuration>
175
+                    <publicPackages>
176
+                        <publicPackage>org.clueminer.clustering.benchmark</publicPackage>
177
+                        <publicPackage>org.clueminer.data</publicPackage>
178
+                    </publicPackages>
179
+                </configuration>
180
+            </plugin>
181
+
182
+            <plugin>
183
+                <!-- NetBeans 6.9+ requires JDK 6 -->
184
+                <groupId>org.apache.maven.plugins</groupId>
185
+                <artifactId>maven-compiler-plugin</artifactId>
186
+                <version>${maven.compiler}</version>
187
+                <configuration>
188
+                    <source>1.8</source>
189
+                    <target>1.8</target>
190
+                    <archive>
191
+                        <manifest>
192
+                            <mainClass>org.clueminer.clustering.benchmark.Main</mainClass>
193
+                            <packageName>org.clueminer.clustering.benchmark</packageName>
194
+                            <addClasspath>true</addClasspath>
195
+                        </manifest>
196
+                    </archive>
197
+                </configuration>
198
+            </plugin>
199
+
200
+            <plugin>
201
+                <groupId>org.apache.maven.plugins</groupId>
202
+                <artifactId>maven-jar-plugin</artifactId>
203
+                <version>2.4</version>
204
+                <configuration>
205
+                    <!-- to have the jar plugin pickup the nbm generated manifest -->
206
+                    <useDefaultManifestFile>true</useDefaultManifestFile>
207
+                    <archive>
208
+                        <manifest>
209
+                            <mainClass>org.clueminer.clustering.benchmark.Main</mainClass>
210
+                            <packageName>org.clueminer.clustering.benchmark</packageName>
211
+                            <addClasspath>true</addClasspath>
212
+                        </manifest>
213
+                    </archive>
214
+                </configuration>
215
+            </plugin>
216
+            <plugin>
217
+                <artifactId>maven-assembly-plugin</artifactId>
218
+                <configuration>
219
+                    <descriptorRefs>
220
+                        <descriptorRef>jar-with-dependencies</descriptorRef>
221
+                    </descriptorRefs>
222
+                    <archive>
223
+                        <manifest>
224
+                            <mainClass>org.clueminer.clustering.benchmark.Main</mainClass>
225
+                        </manifest>
226
+                    </archive>
227
+                </configuration>
228
+            </plugin>
229
+            <plugin>
230
+                <artifactId>maven-dependency-plugin</artifactId>
231
+                <executions>
232
+                    <execution>
233
+                        <phase>install</phase>
234
+                        <goals>
235
+                            <goal>copy-dependencies</goal>
236
+                        </goals>
237
+                        <configuration>
238
+                            <outputDirectory>${project.build.directory}/lib</outputDirectory>
239
+                        </configuration>
240
+                    </execution>
241
+                </executions>
242
+            </plugin>
243
+
244
+        </plugins>
245
+    </build>
246
+</project>

+ 9
- 0
clustering-benchmark-master/run View File

@@ -0,0 +1,9 @@
1
+#!/bin/bash
2
+ARGS="$@"
3
+MAIN="org.clueminer.clustering.benchmark.Main"
4
+jarfile="$(ls -t target/*jar-with-dependencies.jar | head -1)"
5
+if [[ -f "$jarfile" ]]; then
6
+  java -jar $jarfile $ARGS
7
+else
8
+  mvn "-Dexec.args=-classpath %classpath $MAIN $ARGS" -Dexec.executable=java -Dexec.classpathScope=runtime org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
9
+fi

+ 40
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/AbsParams.java View File

@@ -0,0 +1,40 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark;
18
+
19
+import com.beust.jcommander.Parameter;
20
+import java.io.File;
21
+import org.clueminer.utils.FileUtils;
22
+import org.openide.util.NbBundle;
23
+
24
+/**
25
+ *
26
+ * @author Tomas Barton
27
+ */
28
+public class AbsParams {
29
+
30
+    @Parameter(names = "--dir", description = "directory for results", required = false)
31
+    public String home = System.getProperty("user.home") + File.separatorChar
32
+            + NbBundle.getMessage(FileUtils.class, "FOLDER_Home");
33
+
34
+    @Parameter(names = "--repeat", description = "number of repetitions of each experiment")
35
+    public int repeat = 5;
36
+
37
+    @Parameter(names = "--log", description = "java log level")
38
+    public String log = "INFO";
39
+
40
+}

+ 104
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/Bench.java View File

@@ -0,0 +1,104 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark;
18
+
19
+import com.beust.jcommander.JCommander;
20
+import com.beust.jcommander.ParameterException;
21
+import java.io.File;
22
+import java.util.HashMap;
23
+import java.util.Map;
24
+import org.clueminer.data.DataLoader;
25
+import org.clueminer.dataset.api.DataProvider;
26
+import org.clueminer.dataset.api.Dataset;
27
+import org.clueminer.dataset.api.Instance;
28
+import org.clueminer.dataset.benchmark.DatasetFixture;
29
+
30
+/**
31
+ *
32
+ * @author Tomas Barton
33
+ */
34
+public abstract class Bench {
35
+
36
+    protected static String benchmarkFolder;
37
+    protected HashMap<String, Map.Entry<Dataset<? extends Instance>, Integer>> availableDatasets = new HashMap<>();
38
+    protected DataProvider provider;
39
+
40
+    public Bench() {
41
+        //constructor without arguments
42
+    }
43
+
44
+    public static void ensureFolder(String folder) {
45
+        File file = new File(folder);
46
+        if (!file.exists()) {
47
+            if (file.mkdirs()) {
48
+                System.out.println("Directory " + folder + " created!");
49
+            } else {
50
+                System.out.println("Failed to create " + folder + "directory!");
51
+            }
52
+        }
53
+    }
54
+
55
+    public abstract void main(String[] args);
56
+
57
+    public static void printUsage(String[] args, JCommander cmd, AbsParams params) {
58
+
59
+        try {
60
+            cmd.parse(args);
61
+
62
+        } catch (ParameterException ex) {
63
+            System.out.println(ex.getMessage());
64
+            cmd.usage();
65
+            System.exit(0);
66
+        }
67
+    }
68
+
69
+    protected void loadDatasets() {
70
+        Map<Dataset<? extends Instance>, Integer> datasets = DatasetFixture.allDatasets();
71
+        for (Map.Entry<Dataset<? extends Instance>, Integer> entry : datasets.entrySet()) {
72
+            Dataset<? extends Instance> d = entry.getKey();
73
+            availableDatasets.put(d.getName(), entry);
74
+        }
75
+    }
76
+
77
+    protected void loadBenchArtificial() {
78
+        provider = DataLoader.createLoader("datasets", "artificial");
79
+    }
80
+
81
+    protected void loadBenchRealWorld() {
82
+        provider = DataLoader.createLoader("datasets", "real-world");
83
+    }
84
+
85
+    /**
86
+     * Load specific dataset by name
87
+     *
88
+     * @param name
89
+     */
90
+    protected void load(String name) {
91
+        Map<Dataset<? extends Instance>, Integer> datasets = DatasetFixture.allDatasets();
92
+        for (Map.Entry<Dataset<? extends Instance>, Integer> entry : datasets.entrySet()) {
93
+            Dataset<? extends Instance> d = entry.getKey();
94
+            if (d.getName().equalsIgnoreCase(name)) {
95
+                availableDatasets.put(d.getName(), entry);
96
+            }
97
+        }
98
+    }
99
+
100
+    public static String safeName(String name) {
101
+        return name.toLowerCase().replace(" ", "_");
102
+    }
103
+
104
+}

+ 42
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/BenchParams.java View File

@@ -0,0 +1,42 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark;
18
+
19
+import com.beust.jcommander.Parameter;
20
+
21
+/**
22
+ *
23
+ * @author Tomas Barton
24
+ */
25
+public class BenchParams extends AbsParams {
26
+
27
+    @Parameter(names = "--n", description = "size of biggest dataset", required = false)
28
+    public int n = 20;
29
+
30
+    @Parameter(names = "--n-small", description = "size of smallest", required = false)
31
+    public int nSmall = 5;
32
+
33
+    @Parameter(names = "--steps", description = "number of datasets which will be generated")
34
+    public int steps = 4;
35
+
36
+    @Parameter(names = "--dimension", description = "number of attributes of each dataset")
37
+    public int dimension = 5;
38
+
39
+    @Parameter(names = "--linkage", description = "linkage method")
40
+    public String linkage = "Single Linkage";
41
+
42
+}

+ 63
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/ClusteringBenchmark.java View File

@@ -0,0 +1,63 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark;
18
+
19
+import org.clueminer.clustering.aggl.linkage.CompleteLinkage;
20
+import org.clueminer.clustering.aggl.linkage.SingleLinkage;
21
+import org.clueminer.clustering.api.AgglomerativeClustering;
22
+import org.clueminer.clustering.api.AlgParams;
23
+import org.clueminer.clustering.api.ClusteringAlgorithm;
24
+import org.clueminer.clustering.api.ClusteringFactory;
25
+import org.clueminer.dataset.api.Dataset;
26
+import org.clueminer.dataset.api.Instance;
27
+import org.clueminer.utils.Props;
28
+
29
+/**
30
+ * Execute single clustering
31
+ *
32
+ * @author Tomas Barton
33
+ * @param <E>
34
+ */
35
+public class ClusteringBenchmark<E extends Instance> {
36
+
37
+    public Container<E> cluster(Dataset<E> dataset, Props props) {
38
+        ClusteringFactory cf = ClusteringFactory.getInstance();
39
+        ClusteringAlgorithm algorithm = cf.getProvider(props.get(AlgParams.ALG));
40
+
41
+        return new Container(algorithm, dataset, props);
42
+    }
43
+
44
+    public Container<E> cluster(ClusteringAlgorithm algorithm, Dataset<E> dataset, Props props) {
45
+        return new Container(algorithm, dataset, props);
46
+    }
47
+
48
+    public Container<E> hclust(final AgglomerativeClustering algorithm, final Dataset<E> dataset, final String linkage) {
49
+        Props props = new Props();
50
+        props.put(AlgParams.LINKAGE, linkage);
51
+        final Container<E> runnable = new Container(algorithm, dataset, props);
52
+        return runnable;
53
+    }
54
+
55
+    public Container<E> singleLinkage(final AgglomerativeClustering algorithm, final Dataset<E> dataset) {
56
+        return hclust(algorithm, dataset, SingleLinkage.name);
57
+    }
58
+
59
+    public Container<E> completeLinkage(final AgglomerativeClustering algorithm, final Dataset<E> dataset) {
60
+        return hclust(algorithm, dataset, CompleteLinkage.name);
61
+    }
62
+
63
+}

+ 86
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/Container.java View File

@@ -0,0 +1,86 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark;
18
+
19
+import org.clueminer.clustering.TreeDiff;
20
+import org.clueminer.clustering.api.AgglomerativeClustering;
21
+import org.clueminer.clustering.api.AlgParams;
22
+import org.clueminer.clustering.api.Clustering;
23
+import org.clueminer.clustering.api.ClusteringAlgorithm;
24
+import org.clueminer.clustering.api.ClusteringType;
25
+import org.clueminer.clustering.api.HierarchicalResult;
26
+import org.clueminer.dataset.api.Dataset;
27
+import org.clueminer.dataset.api.Instance;
28
+import org.clueminer.exec.ClusteringExecutorCached;
29
+import org.clueminer.utils.Props;
30
+import org.slf4j.Logger;
31
+import org.slf4j.LoggerFactory;
32
+
33
+/**
34
+ *
35
+ * @author Tomas Barton
36
+ * @param <E>
37
+ */
38
+public class Container<E extends Instance> implements Runnable {
39
+
40
+    private HierarchicalResult result;
41
+    private Clustering clustering;
42
+    private final Dataset<E> dataset;
43
+    private Props params;
44
+    private static final Logger LOG = LoggerFactory.getLogger(Container.class);
45
+    private ClusteringExecutorCached executor;
46
+
47
+    public Container(ClusteringAlgorithm algorithm, Dataset<E> dataset) {
48
+        this.executor = new ClusteringExecutorCached();
49
+        executor.setAlgorithm(algorithm);
50
+        this.dataset = dataset;
51
+        this.params = new Props();
52
+    }
53
+
54
+    public Container(ClusteringAlgorithm algorithm, Dataset<E> dataset, Props params) {
55
+        this.executor = new ClusteringExecutorCached();
56
+        executor.setAlgorithm(algorithm);
57
+        this.dataset = dataset;
58
+        this.params = params;
59
+    }
60
+
61
+    public HierarchicalResult hierarchical(AgglomerativeClustering algorithm, Dataset<E> dataset, Props params) {
62
+        params.put(AlgParams.CLUSTERING_TYPE, ClusteringType.ROWS_CLUSTERING);
63
+        return algorithm.hierarchy(dataset, params);
64
+    }
65
+
66
+    @Override
67
+    public void run() {
68
+        if (executor.getAlgorithm() instanceof AgglomerativeClustering) {
69
+            this.result = executor.hclustRows(dataset, params);
70
+        } else {
71
+            this.clustering = executor.clusterRows(dataset, params);
72
+        }
73
+    }
74
+
75
+    public Clustering cluster(ClusteringAlgorithm algorithm, Dataset<E> dataset, Props params) {
76
+        return executor.clusterRows(dataset, params);
77
+    }
78
+
79
+    public boolean equals(Container other) {
80
+        if (this.result == null || other.result == null) {
81
+            throw new RuntimeException("got null result. this = " + result + " other = " + other);
82
+        }
83
+        return TreeDiff.compare(this.result, other.result);
84
+    }
85
+
86
+}

+ 127
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/Experiment.java View File

@@ -0,0 +1,127 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark;
18
+
19
+import java.util.Random;
20
+import org.clueminer.clustering.api.AgglomerativeClustering;
21
+import org.clueminer.clustering.api.ClusteringAlgorithm;
22
+import org.clueminer.dataset.api.Dataset;
23
+import org.clueminer.dataset.api.Instance;
24
+import org.clueminer.dataset.impl.ArrayDataset;
25
+import org.clueminer.report.NanoBench;
26
+import org.clueminer.utils.Props;
27
+import org.openide.util.Exceptions;
28
+import org.slf4j.Logger;
29
+import org.slf4j.LoggerFactory;
30
+
31
+/**
32
+ *
33
+ * @author Tomas Barton
34
+ * @param <E>
35
+ */
36
+public class Experiment<E extends Instance> implements Runnable {
37
+
38
+    protected final Random rand;
39
+    protected final BenchParams params;
40
+    private ClusteringAlgorithm[] algorithms;
41
+    protected final String results;
42
+    private static final Logger LOG = LoggerFactory.getLogger(Experiment.class);
43
+
44
+    public Experiment(BenchParams params, String results) {
45
+        rand = new Random();
46
+        this.params = params;
47
+        this.results = results;
48
+    }
49
+
50
+    public Experiment(BenchParams params, String results, ClusteringAlgorithm[] algorithms) {
51
+        rand = new Random();
52
+        this.params = params;
53
+        this.results = results;
54
+        this.algorithms = algorithms;
55
+    }
56
+
57
+    @Override
58
+    public void run() {
59
+        int inc = (params.n - params.nSmall) / params.steps;
60
+
61
+        String[] names = new String[algorithms.length];
62
+        int j = 0;
63
+        for (ClusteringAlgorithm alg : algorithms) {
64
+            names[j++] = alg.getName();
65
+        }
66
+
67
+        GnuplotReporter reporter = new GnuplotReporter(results,
68
+                new String[]{"algorithm", "linkage", "n"}, names, params.nSmall + "-" + params.n,
69
+                10);
70
+        LOG.info("increment = {}", inc);
71
+        ClusteringBenchmark bench = new ClusteringBenchmark();
72
+        Container container;
73
+        AgglomerativeClustering aggl;
74
+        for (int i = params.nSmall; i <= params.n; i += inc) {
75
+            Dataset<E> dataset = generateData(i, params.dimension);
76
+            for (ClusteringAlgorithm alg : algorithms) {
77
+                String[] opts = new String[]{alg.getName(), params.linkage, String.valueOf(dataset.size())};
78
+
79
+                if (alg instanceof AgglomerativeClustering) {
80
+                    aggl = (AgglomerativeClustering) alg;
81
+                    container = bench.hclust(aggl, dataset, params.linkage);
82
+                } else {
83
+                    container = bench.cluster(alg, dataset, new Props());
84
+                }
85
+
86
+                NanoBench.create().measurements(params.repeat).collect(reporter, opts).measure(
87
+                        alg.getName() + " - " + dataset.size(),
88
+                        container
89
+                );
90
+                // Get the Java runtime
91
+                Runtime runtime = Runtime.getRuntime();
92
+                // Run the garbage collector
93
+                runtime.gc();
94
+                try {
95
+                    Thread.sleep(1000);
96
+                } catch (InterruptedException ex) {
97
+                    Exceptions.printStackTrace(ex);
98
+                }
99
+            }
100
+        }
101
+        reporter.finish();
102
+    }
103
+
104
+    /**
105
+     * Generate random dataset of doubles with given dimensions
106
+     *
107
+     * @param size
108
+     * @param dim
109
+     * @return
110
+     */
111
+    public Dataset<E> generateData(int size, int dim) {
112
+        LOG.info("generating data: {}x{}", size, dim);
113
+        Dataset<E> dataset = new ArrayDataset<>(size, dim);
114
+        for (int i = 0; i < dim; i++) {
115
+            dataset.attributeBuilder().create("attr-" + i, "NUMERIC");
116
+        }
117
+        for (int i = 0; i < size; i++) {
118
+            dataset.instance(i).setName(String.valueOf(i));
119
+            for (int j = 0; j < dim; j++) {
120
+                dataset.set(i, j, rand.nextDouble());
121
+            }
122
+        }
123
+
124
+        return dataset;
125
+    }
126
+
127
+}

+ 232
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/GnuplotReporter.java View File

@@ -0,0 +1,232 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark;
18
+
19
+import com.google.common.collect.ObjectArrays;
20
+import java.io.File;
21
+import java.io.FileNotFoundException;
22
+import java.io.IOException;
23
+import java.io.PrintWriter;
24
+import java.io.UnsupportedEncodingException;
25
+import java.util.LinkedList;
26
+import org.clueminer.gnuplot.GnuplotHelper;
27
+import org.clueminer.gnuplot.PointTypeIterator;
28
+import org.clueminer.report.BigORes;
29
+import org.clueminer.report.Reporter;
30
+import org.openide.util.Exceptions;
31
+
32
+/**
33
+ *
34
+ * @author Tomas Barton
35
+ */
36
+public class GnuplotReporter extends GnuplotHelper implements Reporter {
37
+
38
+    private final String dataDir;
39
+    private final File dataFile;
40
+    private final LinkedList<String> plots;
41
+
42
+    public GnuplotReporter(String folder, String[] opts, String[] algorithms, String suffix, int xCol) {
43
+        this.dataDir = folder + File.separatorChar + "data";
44
+        mkdir(dataDir);
45
+        this.dataFile = new File(dataDir + File.separatorChar + "results-" + suffix + ".csv");
46
+        this.plots = new LinkedList<>();
47
+        writeHeader(opts);
48
+
49
+        String memPath = dataDir + File.separatorChar + "mem" + suffix + ".gpt";
50
+        String cpuPath = dataDir + File.separatorChar + "cpu" + suffix + ".gpt";
51
+        String cpu2Path = dataDir + File.separatorChar + "cpu2" + suffix + ".gpt";
52
+        String tpsPath = dataDir + File.separatorChar + "tps" + suffix + ".gpt";
53
+        String timePath = dataDir + File.separatorChar + "time" + suffix + ".gpt";
54
+
55
+        writePlotScript(new File(memPath),
56
+                plotComplexity(8, "memory (kB)", xCol, 7, dataFile.getName(), algorithms, "Memory usage of hierarchical clustering algorithms - " + opts[1], false));
57
+        writePlotScript(new File(cpuPath),
58
+                plotCpu(8, "CPU", xCol, 2, dataFile.getName(), algorithms, "CPU usage of hierarchical clustering algorithms - " + opts[1], false));
59
+        writePlotScript(new File(cpu2Path),
60
+                plotComplexity(8, "CPU time", xCol, 2, dataFile.getName(), algorithms, "CPU usage of hierarchical clustering algorithms - " + opts[1], false));
61
+        writePlotScript(new File(tpsPath),
62
+                plotComplexity(8, "tps", xCol, 5, dataFile.getName(), algorithms, "Transactuion per second - " + opts[1], true));
63
+
64
+        writePlotScript(new File(timePath),
65
+                plotComplexity(8, "time", xCol, 4, dataFile.getName(), algorithms, "Execution time - " + opts[1], true));
66
+
67
+        writeBashScript(folder);
68
+    }
69
+
70
+    private void writeHeader(String[] opts) {
71
+        String[] head = new String[]{"label", "avg time (ms)", "memory (MB)", "total time (s)", "tps", "repeats", "memory (kB)"};
72
+        String[] line = ObjectArrays.concat(head, opts, String.class);
73
+        writeCsvLine(dataFile, line, false);
74
+    }
75
+
76
+    /**
77
+     *
78
+     * @param result
79
+     */
80
+    @Override
81
+    public void finalResult(BigORes result) {
82
+        String[] res = new String[]{result.getLabel(), result.avgTimeMs(),
83
+            result.totalMemoryInMb(), result.totalTimeInS(), result.tps(),
84
+            result.measurements(), result.totalMemoryInKb()
85
+        };
86
+        String[] line = ObjectArrays.concat(res, result.getOpts(), String.class);
87
+        writeCsvLine(dataFile, line, true);
88
+    }
89
+
90
+    /**
91
+     *
92
+     * @param file     to write Gnuplot script
93
+     * @param dataFile
94
+     * @param labelPos column of label which is used for data rows in chart
95
+     * @param type
96
+     * @param x
97
+     * @param y
98
+     */
99
+    private void writePlotScript(File file, String script) {
100
+        PrintWriter template;
101
+        try {
102
+            template = new PrintWriter(file, "UTF-8");
103
+            template.write(script);
104
+            template.close();
105
+        } catch (FileNotFoundException | UnsupportedEncodingException ex) {
106
+            Exceptions.printStackTrace(ex);
107
+        }
108
+        plots.add(withoutExtension(file));
109
+    }
110
+
111
+    private String plotCpu(int labelPos, String yLabel, int x, int y, String dataFile, String[] algorithms, String title, boolean logscale) {
112
+        String res = "set datafile separator \",\"\n"
113
+                + "set key outside bottom horizontal box\n"
114
+                + "set title \"" + title + "\"\n"
115
+                + "set xlabel \"data size\" font \"Times,12\"\n"
116
+                + "set ylabel \"" + yLabel + "\" font \"Times,12\"\n"
117
+                //   + "set xtics 0,0.5 nomirror\n"
118
+                //   + "set ytics 0,0.5 nomirror\n"
119
+                + "set mytics 2\n"
120
+                + "set mx2tics 2\n"
121
+                + "set grid\n"
122
+                + "set pointsize 0.5\n"
123
+                + "f(x) = 0.5 * x**2\n";
124
+        if (logscale) {
125
+            res += "set logscale y 2\n";
126
+        }
127
+        int i = 0;
128
+        PointTypeIterator pti = new PointTypeIterator();
129
+        for (String alg : algorithms) {
130
+            if (i == 0) {
131
+                res += "plot ";
132
+            }
133
+            res += "\"< awk -F\\\",\\\" '{if($" + labelPos + " == \\\"" + alg
134
+                    + "\\\") print}' " + dataFile + "\" u " + x + ":" + y
135
+                    + " t \"" + alg + "\" w linespoints pt " + pti.next();
136
+            res += ", \\\n";
137
+            i++;
138
+        }
139
+        res += "f(x) title 'x^2' with lines linestyle 18\n";
140
+        return res;
141
+    }
142
+
143
+    private String plotComplexity(int labelPos, String yLabel, int x, int y, String dataFile, String[] algorithms, String title, boolean logscale) {
144
+        String res = "set datafile separator \",\"\n"
145
+                + "set key outside bottom horizontal box\n"
146
+                + "set title \"" + title + "\"\n"
147
+                + "set xlabel \"data size\" font \"Times,12\"\n"
148
+                + "set ylabel \"" + yLabel + "\" font \"Times,12\"\n"
149
+                //   + "set xtics 0,0.5 nomirror\n"
150
+                //   + "set ytics 0,0.5 nomirror\n"
151
+                + "set mytics 2\n"
152
+                + "set mx2tics 2\n"
153
+                + "set grid\n"
154
+                + "set pointsize 0.5\n";
155
+        if (logscale) {
156
+            res += "set logscale y 2\n";
157
+        }
158
+        int i = 0;
159
+        int last = algorithms.length - 1;
160
+        PointTypeIterator pti = new PointTypeIterator();
161
+        for (String alg : algorithms) {
162
+            if (i == 0) {
163
+                res += "plot ";
164
+            }
165
+            res += "\"< awk -F\\\",\\\" '{if($" + labelPos + " == \\\"" + alg
166
+                    + "\\\") print}' " + dataFile + "\" u " + x + ":" + y
167
+                    + " t \"" + alg + "\" w linespoints pt " + pti.next();
168
+            if (i != last) {
169
+                res += ", \\\n";
170
+            } else {
171
+                res += "\n";
172
+            }
173
+
174
+            i++;
175
+        }
176
+        return res;
177
+    }
178
+
179
+    /**
180
+     * Should be called when all plot files are written
181
+     */
182
+    public void finish() {
183
+        //TODO maybe some cleanup?
184
+    }
185
+
186
+    private void writeBashScript(String dataDir) {
187
+        try {
188
+            bashPlotScript(plots.toArray(new String[plots.size()]), dataDir, "data", "set term pdf font 'Times-New-Roman,8'", "pdf");
189
+            bashPlotScript(plots.toArray(new String[plots.size()]), dataDir, "data", "set terminal pngcairo size 1024,768 enhanced font 'Verdana,10'", "png");
190
+
191
+        } catch (FileNotFoundException ex) {
192
+            Exceptions.printStackTrace(ex);
193
+        } catch (UnsupportedEncodingException ex) {
194
+            Exceptions.printStackTrace(ex);
195
+        } catch (IOException ex) {
196
+            Exceptions.printStackTrace(ex);
197
+        }
198
+    }
199
+
200
+    /**
201
+     *
202
+     * @param plots      plot names without extension
203
+     * @param dir        base dir
204
+     * @param gnuplotDir directory with gnuplot file
205
+     * @param term
206
+     * @param ext        extentions of output format
207
+     * @throws FileNotFoundException
208
+     * @throws UnsupportedEncodingException
209
+     * @throws IOException
210
+     */
211
+    public static void bashPlotScript(String[] plots, String dir, String gnuplotDir, String term, String ext)
212
+            throws FileNotFoundException, UnsupportedEncodingException, IOException {
213
+        //bash script to generate results
214
+        String shFile = dir + File.separatorChar + "_plot-" + ext;
215
+        try (PrintWriter template = new PrintWriter(shFile, "UTF-8")) {
216
+            template.write(bashTemplate(gnuplotDir));
217
+            template.write("TERM=\"" + term + "\"\n");
218
+            int pos;
219
+            for (String plot : plots) {
220
+                pos = plot.indexOf(".");
221
+                if (pos > 0) {
222
+                    //remove extension part
223
+                    plot = plot.substring(0, pos);
224
+                }
225
+                template.write("gnuplot -e \"${TERM}\" " + plot + gnuplotExtension
226
+                        + " > $PWD" + File.separatorChar + ".." + File.separatorChar + plot + "." + ext + "\n");
227
+            }
228
+        }
229
+        Runtime.getRuntime().exec("chmod u+x " + shFile);
230
+    }
231
+
232
+}

+ 94
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/Main.java View File

@@ -0,0 +1,94 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark;
18
+
19
+import java.util.Arrays;
20
+import java.util.HashMap;
21
+import java.util.Map;
22
+import org.clueminer.clustering.benchmark.chameleon2.Cham2Bench;
23
+import org.clueminer.clustering.benchmark.consensus.ConsensusExp;
24
+import org.clueminer.clustering.benchmark.cutoff.CutoffExp;
25
+import org.clueminer.clustering.benchmark.exp.Data;
26
+import org.clueminer.clustering.benchmark.exp.EvolveScores;
27
+import org.clueminer.clustering.benchmark.exp.HclusPar;
28
+import org.clueminer.clustering.benchmark.exp.HclusPar2;
29
+import org.clueminer.clustering.benchmark.exp.Hclust;
30
+import org.clueminer.clustering.benchmark.gen.NsgaGen;
31
+import org.clueminer.clustering.benchmark.nsga.NsgaScore;
32
+import org.clueminer.clustering.benchmark.partition.PartitionExp;
33
+
34
+/**
35
+ *
36
+ * @author deric
37
+ */
38
+public class Main {
39
+
40
+    private static final Map<String, Bench> map = new HashMap<>();
41
+    private static Main instance;
42
+
43
+    public Main() {
44
+        map.put("hclust", new Hclust());
45
+        map.put("data", new Data());
46
+        map.put("hclust-par", new HclusPar());
47
+        map.put("hclust-par2", new HclusPar2());
48
+        map.put("evolve-sc", new EvolveScores());
49
+        map.put("nsga", new NsgaScore());
50
+        map.put("nsga-gen", new NsgaGen());
51
+        map.put("consensus", new ConsensusExp());
52
+        map.put("cutoff", new CutoffExp());
53
+        map.put("partition", new PartitionExp());
54
+        map.put("chameleon2", new Cham2Bench());
55
+    }
56
+
57
+    /**
58
+     * Entrypoint to all experiments
59
+     *
60
+     * @param args the command line arguments
61
+     */
62
+    public static void main(String[] args) {
63
+        if (instance == null) {
64
+            instance = new Main();
65
+        }
66
+        if (args.length == 0) {
67
+            usage();
68
+        }
69
+        String exp = args[0];
70
+        if (!Main.map.containsKey(exp)) {
71
+            usage();
72
+        }
73
+
74
+        String[] other = Arrays.copyOfRange(args, 1, args.length);
75
+        Bench bench = Main.map.get(exp);
76
+        //run it
77
+        bench.main(other);
78
+    }
79
+
80
+    private static void usage() {
81
+        System.out.println("Usage: java -jar {jar name} [experiment name] [[optional arguments]]");
82
+        System.out.println("Valid experriments values are:");
83
+        for (String key : map.keySet()) {
84
+            for (int i = 0; i < 5; i++) {
85
+                System.out.print(" ");
86
+            }
87
+            System.out.print("- " + key + "\n");
88
+        }
89
+        System.out.println("use '[experiment] --help' to find out more about optional arguments");
90
+        System.out.println("--------------------------");
91
+        System.exit(1);
92
+    }
93
+
94
+}

+ 89
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/ParamExperiment.java View File

@@ -0,0 +1,89 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark;
18
+
19
+import org.clueminer.clustering.api.AlgParams;
20
+import org.clueminer.dataset.api.Dataset;
21
+import org.clueminer.dataset.api.Instance;
22
+import org.clueminer.report.NanoBench;
23
+import org.clueminer.utils.Props;
24
+import org.openide.util.Exceptions;
25
+
26
+/**
27
+ *
28
+ * @author deric
29
+ * @param <E>
30
+ */
31
+public class ParamExperiment<E extends Instance> extends Experiment<E> {
32
+
33
+    private Props[] configs;
34
+
35
+    public ParamExperiment(BenchParams params, String results) {
36
+        super(params, results);
37
+    }
38
+
39
+    public ParamExperiment(BenchParams params, String results, Props[] configs) {
40
+        super(params, results);
41
+
42
+        this.configs = configs;
43
+    }
44
+
45
+    @Override
46
+    public void run() {
47
+        int inc = (params.n - params.nSmall) / params.steps;
48
+
49
+        String[] names = new String[configs.length];
50
+        int j = 0;
51
+        for (Props alg : configs) {
52
+            names[j++] = alg.get(AlgParams.ALG);
53
+        }
54
+
55
+        //json props must be last column (in order to avoid issues with gnuplot parsing commas in json)
56
+        GnuplotReporter reporter = new GnuplotReporter(results,
57
+                new String[]{"algorithm", "n", "config"},
58
+                names, params.nSmall + "-" + params.n, 9);
59
+        System.out.println("increment = " + inc);
60
+        ClusteringBenchmark bench = new ClusteringBenchmark();
61
+        Container container;
62
+        for (int i = params.nSmall; i <= params.n; i += inc) {
63
+            Dataset<E> dataset = generateData(i, params.dimension);
64
+            for (Props props : configs) {
65
+                String[] opts = new String[]{props.get(AlgParams.ALG), String.valueOf(dataset.size()), props.toJson()};
66
+                try {
67
+                    container = bench.cluster(dataset, props);
68
+                    NanoBench.create().measurements(params.repeat).collect(reporter, opts).measure(
69
+                            props.get(AlgParams.ALG) + " - " + dataset.size(),
70
+                            container
71
+                    );
72
+                } catch (Exception ex) {
73
+                    Exceptions.printStackTrace(ex);
74
+                }
75
+                // Get the Java runtime
76
+                Runtime runtime = Runtime.getRuntime();
77
+                // Run the garbage collector
78
+                runtime.gc();
79
+                try {
80
+                    Thread.sleep(1000);
81
+                } catch (InterruptedException ex) {
82
+                    Exceptions.printStackTrace(ex);
83
+                }
84
+            }
85
+        }
86
+        reporter.finish();
87
+    }
88
+
89
+}

+ 74
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/chameleon2/Cham2Bench.java View File

@@ -0,0 +1,74 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.chameleon2;
18
+
19
+import java.io.File;
20
+import java.util.concurrent.ExecutorService;
21
+import java.util.concurrent.Executors;
22
+import org.clueminer.clustering.api.AlgParams;
23
+import static org.clueminer.clustering.benchmark.Bench.ensureFolder;
24
+import org.clueminer.clustering.benchmark.BenchParams;
25
+import org.clueminer.clustering.benchmark.ParamExperiment;
26
+import org.clueminer.clustering.benchmark.exp.Hclust;
27
+import org.clueminer.log.ClmLog;
28
+import org.clueminer.utils.Props;
29
+
30
+/**
31
+ *
32
+ * @author deric
33
+ */
34
+public class Cham2Bench extends Hclust {
35
+
36
+    /**
37
+     * @param args the command line arguments
38
+     */
39
+    @Override
40
+    public void main(String[] args) {
41
+        BenchParams params = parseArguments(args);
42
+        ClmLog.setup(params.log);
43
+
44
+        benchmarkFolder = params.home + File.separatorChar + "chameleon2";
45
+        ensureFolder(benchmarkFolder);
46
+
47
+        System.out.println("# n = " + params.n);
48
+        System.out.println("=== starting experiment:");
49
+
50
+        Props ch2 = new Props();
51
+        ch2.put(AlgParams.ALG, "Chameleon");
52
+
53
+        Props hc = new Props();
54
+        hc.put(AlgParams.ALG, "HC-LW(ms)");
55
+        hc.put(AlgParams.LINKAGE, "Single");
56
+
57
+        Props dbscan = new Props();
58
+        dbscan.put(AlgParams.ALG, "DBSCAN");
59
+
60
+        Props km = new Props();
61
+        km.put(AlgParams.ALG, "k-means");
62
+
63
+        Props[] algorithms = new Props[]{
64
+            ch2,
65
+            hc,
66
+            dbscan, km
67
+        };
68
+        ParamExperiment exp = new ParamExperiment(params, benchmarkFolder, algorithms);
69
+        ExecutorService execService = Executors.newFixedThreadPool(1);
70
+        execService.submit(exp);
71
+        execService.shutdown();
72
+    }
73
+
74
+}

+ 60
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/consensus/ConsensusExp.java View File

@@ -0,0 +1,60 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.consensus;
18
+
19
+import com.beust.jcommander.JCommander;
20
+import java.util.concurrent.ExecutorService;
21
+import java.util.concurrent.Executors;
22
+import org.clueminer.clustering.benchmark.Bench;
23
+import static org.clueminer.clustering.benchmark.Bench.ensureFolder;
24
+import static org.clueminer.clustering.benchmark.Bench.printUsage;
25
+import org.clueminer.log.ClmLog;
26
+
27
+/**
28
+ *
29
+ * @author deric
30
+ */
31
+public class ConsensusExp extends Bench {
32
+
33
+    public static final String name = "consensus";
34
+
35
+    protected static ConsensusParams parseArguments(String[] args) {
36
+        ConsensusParams params = new ConsensusParams();
37
+        JCommander cmd = new JCommander(params);
38
+        printUsage(args, cmd, params);
39
+        return params;
40
+    }
41
+
42
+    @Override
43
+    public void main(String[] args) {
44
+        ConsensusParams params = parseArguments(args);
45
+        ClmLog.setup(params.log);
46
+
47
+        loadBenchArtificial();
48
+        System.out.println("dataset: " + params.dataset);
49
+
50
+        benchmarkFolder = params.home + '/' + "benchmark" + '/' + name;
51
+        ensureFolder(benchmarkFolder);
52
+        System.out.println("writing results to: " + benchmarkFolder);
53
+
54
+        System.out.println("=== starting " + name);
55
+        ConsensusRun exp = new ConsensusRun(params, benchmarkFolder, provider.getDataset(params.dataset));
56
+        ExecutorService execService = Executors.newFixedThreadPool(1);
57
+        execService.submit(exp);
58
+        execService.shutdown();
59
+    }
60
+}

+ 43
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/consensus/ConsensusParams.java View File

@@ -0,0 +1,43 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.consensus;
18
+
19
+import com.beust.jcommander.Parameter;
20
+import org.clueminer.clustering.benchmark.AbsParams;
21
+
22
+/**
23
+ *
24
+ * @author deric
25
+ */
26
+public class ConsensusParams extends AbsParams {
27
+
28
+    @Parameter(names = "--dataset", description = "use specific dataset")
29
+    public String dataset = null;
30
+
31
+    @Parameter(names = "--algorithm", description = "clustering algorithm name")
32
+    public String algorithm = "K-Means bagging";
33
+
34
+    @Parameter(names = "--k", description = "expected number of clusters (some methods might not respect this)")
35
+    public int k = -1;
36
+
37
+    @Parameter(names = "--method", description = "Initialization and consensus approach")
38
+    public String method = "";
39
+
40
+    @Parameter(names = "--fixed", description = "whether to use 'correct' k as parameter")
41
+    public boolean fixedK = false;
42
+
43
+}

+ 183
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/consensus/ConsensusRun.java View File

@@ -0,0 +1,183 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.consensus;
18
+
19
+import com.google.common.base.Supplier;
20
+import com.google.common.collect.Maps;
21
+import com.google.common.collect.Table;
22
+import com.google.common.collect.Tables;
23
+import java.io.File;
24
+import java.util.LinkedList;
25
+import java.util.Map;
26
+import org.clueminer.bagging.COMUSA;
27
+import org.clueminer.bagging.CoAssociationReduce;
28
+import org.clueminer.bagging.KMeansBagging;
29
+import org.clueminer.clustering.aggl.linkage.AverageLinkage;
30
+import org.clueminer.clustering.api.AlgParams;
31
+import org.clueminer.clustering.api.ClusterEvaluation;
32
+import org.clueminer.clustering.api.Clustering;
33
+import org.clueminer.clustering.api.ClusteringAlgorithm;
34
+import org.clueminer.clustering.api.ClusteringFactory;
35
+import org.clueminer.clustering.api.Executor;
36
+import org.clueminer.clustering.api.factory.EvaluationFactory;
37
+import static org.clueminer.clustering.benchmark.Bench.ensureFolder;
38
+import static org.clueminer.clustering.benchmark.Bench.safeName;
39
+import org.clueminer.dataset.api.Dataset;
40
+import org.clueminer.dataset.api.Instance;
41
+import org.clueminer.dataset.benchmark.ResultsCollector;
42
+import org.clueminer.exec.ClusteringExecutorCached;
43
+import org.clueminer.utils.Props;
44
+import org.openide.util.Exceptions;
45
+import org.slf4j.Logger;
46
+import org.slf4j.LoggerFactory;
47
+
48
+/**
49
+ *
50
+ * @author deric
51
+ */
52
+public class ConsensusRun implements Runnable {
53
+
54
+    private static ResultsCollector rc;
55
+    private ConsensusParams params;
56
+    private String benchmarkFolder;
57
+    //table for keeping results from experiments
58
+    private Table<String, String, Double> table;
59
+    private static final Logger LOG = LoggerFactory.getLogger(ConsensusRun.class);
60
+    private Dataset<? extends Instance> dataset;
61
+
62
+    public ConsensusRun(ConsensusParams params, String benchmarkFolder, Dataset<? extends Instance> dataset) {
63
+        this.params = params;
64
+        this.benchmarkFolder = benchmarkFolder;
65
+        this.dataset = dataset;
66
+
67
+        createTable();
68
+        rc = new ResultsCollector(table);
69
+    }
70
+
71
+    private void createTable() {
72
+        table = Tables.newCustomTable(
73
+                Maps.<String, Map<String, Double>>newHashMap(),
74
+                new Supplier<Map<String, Double>>() {
75
+            @Override
76
+            public Map<String, Double> get() {
77
+                return Maps.newHashMap();
78
+            }
79
+        });
80
+    }
81
+
82
+    @Override
83
+    public void run() {
84
+        try {
85
+            String name;
86
+            String algorithm;
87
+            String folder;
88
+            EvaluationFactory ef = EvaluationFactory.getInstance();
89
+            LinkedList<ClusterEvaluation> evals = new LinkedList<>();
90
+            evals.add(ef.getProvider("NMI-sqrt"));
91
+            evals.add(ef.getProvider("NMI-sum"));
92
+            evals.add(ef.getProvider("Adjusted Rand"));
93
+            evals.add(ef.getProvider("Deviation"));
94
+
95
+            ClusteringAlgorithm alg = ClusteringFactory.getInstance().getProvider(params.algorithm);
96
+            algorithm = safeName(alg.getName());
97
+            Executor exec = new ClusteringExecutorCached(alg);
98
+
99
+            createTable();
100
+            name = safeName(dataset.getName());
101
+            folder = benchmarkFolder + File.separatorChar + name;
102
+            ensureFolder(folder);
103
+
104
+            String csvRes = folder + File.separatorChar + algorithm + "_" + params.method + "_" + name + ".csv";
105
+            LOG.info("dataset: {} size: {} num attr: {}", name, dataset.size(), dataset.attributeCount());
106
+            //ensureFolder(benchmarkFolder + File.separatorChar + name);
107
+            Clustering c;
108
+            Props props = algorithmSetup(params.method);
109
+            if (params.fixedK) {
110
+                props.putBoolean(KMeansBagging.FIXED_K, true);
111
+            }
112
+            if (params.k > 0) {
113
+                props.putInt("k", params.k);
114
+            } else if (!props.containsKey("k") && props.getBoolean(KMeansBagging.FIXED_K, false)) {
115
+                //use "correct" number of clusters if k not specified
116
+                props.putInt("k", dataset.getClasses().size());
117
+            }
118
+            double score;
119
+            System.out.println(props.toString());
120
+            for (int i = 0; i < params.repeat; i++) {
121
+                c = exec.clusterRows(dataset, props);
122
+                for (ClusterEvaluation eval : evals) {
123
+                    if (c.getEvaluationTable() != null) {
124
+                        score = c.getEvaluationTable().getScore(eval);
125
+                    } else {
126
+                        score = eval.score(c);
127
+                    }
128
+                    System.out.println(eval.getName() + ": " + score + ", clusters: " + c.size());
129
+                    table.put("run " + i, eval.getName(), score);
130
+                }
131
+            }
132
+            rc.writeAvgColsCsv(table, csvRes);
133
+
134
+        } catch (Exception e) {
135
+            Exceptions.printStackTrace(e);
136
+        }
137
+    }
138
+
139
+    private Props algorithmSetup(String alg) {
140
+        Props p = new Props();
141
+        p.putInt(KMeansBagging.BAGGING, 10);
142
+        switch (alg) {
143
+            case "KmB-COMUSA-RAND":
144
+                p.put(KMeansBagging.CONSENSUS, COMUSA.name);
145
+                p.put(KMeansBagging.INIT_METHOD, "RANDOM");
146
+                p.putDouble(COMUSA.RELAX, 1.0);
147
+                p.putInt(KMeansBagging.MAX_K, 25);
148
+                break;
149
+            case "KmB-COMUSA-MO":
150
+                p.put(KMeansBagging.CONSENSUS, COMUSA.name);
151
+                p.put(KMeansBagging.INIT_METHOD, "MO");
152
+                p.putDouble(COMUSA.RELAX, 1.0);
153
+                p.put("mo_1", "AIC");
154
+                p.put("mo_2", "SD index");
155
+                p.putInt(KMeansBagging.MAX_K, 25);
156
+                break;
157
+            case "KmB-COMUSA-RAND-fixed":
158
+                p.put(KMeansBagging.CONSENSUS, COMUSA.name);
159
+                p.put(KMeansBagging.INIT_METHOD, "RANDOM");
160
+                p.putDouble(COMUSA.RELAX, 1.0);
161
+                p.putBoolean(KMeansBagging.FIXED_K, true);
162
+                break;
163
+            case "KmB-CoAssocHAC-MO-avg":
164
+                p.put(KMeansBagging.CONSENSUS, CoAssociationReduce.name);
165
+                p.put(KMeansBagging.INIT_METHOD, "MO");
166
+                p.put("mo_1", "AIC");
167
+                p.put("mo_2", "SD index");
168
+                p.put(AlgParams.LINKAGE, AverageLinkage.name);
169
+                break;
170
+            case "KmB-CoAssocHAC-MO-AIC_SD":
171
+                p.put(KMeansBagging.CONSENSUS, CoAssociationReduce.name);
172
+                p.put(KMeansBagging.INIT_METHOD, "MO");
173
+                p.put("mo_1", "AIC");
174
+                p.put("mo_2", "SD index");
175
+                break;
176
+            default:
177
+                break;
178
+
179
+        }
180
+        return p;
181
+    }
182
+
183
+}

+ 245
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/cutoff/CutoffComparison.java View File

@@ -0,0 +1,245 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.cutoff;
18
+
19
+import java.io.File;
20
+import java.io.PrintWriter;
21
+import java.util.ArrayList;
22
+import java.util.HashMap;
23
+import java.util.LinkedList;
24
+import java.util.Map;
25
+import org.clueminer.clustering.api.AgglomerativeClustering;
26
+import org.clueminer.clustering.api.Cluster;
27
+import org.clueminer.clustering.api.ClusterEvaluation;
28
+import org.clueminer.clustering.api.Clustering;
29
+import org.clueminer.clustering.api.ClusteringFactory;
30
+import org.clueminer.clustering.api.CutoffStrategy;
31
+import org.clueminer.clustering.api.HierarchicalResult;
32
+import org.clueminer.clustering.api.InternalEvaluator;
33
+import org.clueminer.clustering.api.ScoreException;
34
+import org.clueminer.clustering.api.factory.CutoffStrategyFactory;
35
+import org.clueminer.clustering.api.factory.EvaluationFactory;
36
+import org.clueminer.clustering.api.factory.InternalEvaluatorFactory;
37
+import static org.clueminer.clustering.benchmark.Bench.ensureFolder;
38
+import static org.clueminer.clustering.benchmark.Bench.safeName;
39
+import org.clueminer.io.csv.CSVWriter;
40
+import org.clueminer.dataset.api.Dataset;
41
+import org.clueminer.dataset.api.Instance;
42
+import org.clueminer.eval.hclust.HillClimbCutoff;
43
+import org.clueminer.utils.Props;
44
+import org.openide.util.Exceptions;
45
+import org.slf4j.LoggerFactory;
46
+
47
+/**
48
+ *
49
+ * @author Tomas Bruna
50
+ */
51
+public class CutoffComparison implements Runnable {
52
+
53
+    private final CutoffParams params;
54
+    private final String benchmarkFolder;
55
+    private final ArrayList<Dataset<? extends Instance>> datasets;
56
+    private Map<String, Average> averages;
57
+    private LinkedList<ClusterEvaluation> externalEvals;
58
+    private CSVWriter csv;
59
+    private static final org.slf4j.Logger LOG = LoggerFactory.getLogger(CutoffComparison.class);
60
+
61
+    public CutoffComparison(CutoffParams params, String benchmarkFolder, ArrayList<Dataset<? extends Instance>> datasets) {
62
+        this.params = params;
63
+        this.benchmarkFolder = benchmarkFolder;
64
+        this.datasets = datasets;
65
+        loadExternalEvals();
66
+    }
67
+
68
+    @Override
69
+    public void run() {
70
+        try {
71
+            String folder;
72
+            AgglomerativeClustering alg = (AgglomerativeClustering) ClusteringFactory.getInstance().getProvider(params.algorithm);
73
+            folder = benchmarkFolder + File.separatorChar + "Cutoff comparison";
74
+            ensureFolder(folder);
75
+            String csvRes = folder + File.separatorChar + "Cutoff comparison with " + safeName(alg.getName()) + " on " + datasets.size() + " datasets.csv";
76
+
77
+            PrintWriter writer = new PrintWriter(csvRes, "UTF-8");
78
+            csv = new CSVWriter(writer, ',');
79
+            csv.writeLine(alg.getName());
80
+
81
+            initAverages();
82
+            for (Dataset<? extends Instance> dataset : datasets) {
83
+                System.out.println("Running comparisons on " + dataset.getName());
84
+                //create dendrogram
85
+                HierarchicalResult rowsResult = alg.hierarchy(dataset, new Props());
86
+                writeHeader(dataset);
87
+
88
+                String strategies[] = params.strategies.split(",");
89
+                String internalEvals[] = params.internalEvals.split(",");
90
+                //try different cutoff methods
91
+                for (String strategy : strategies) {
92
+                    for (String internalEval : internalEvals) {
93
+                        CutoffStrategy cutoff = getCutoffStrategy(strategy.trim(), internalEval.trim());
94
+                        rowsResult.findCutoff(cutoff);
95
+                        Clustering c = rowsResult.getClustering();
96
+
97
+                        averages.get(strategy.trim() + internalEval.trim()).addValues(c);
98
+                        writeValues(cutoff, internalEval.trim(), c);
99
+
100
+                        if (!(cutoff instanceof HillClimbCutoff) || !(cutoff instanceof HillClimbCutoff)) {
101
+                            break;
102
+                        }
103
+                    }
104
+                }
105
+                csv.writeLine("");
106
+                csv.writeLine("");
107
+            }
108
+            writeAverages();
109
+            csv.close();
110
+        } catch (Exception e) {
111
+            Exceptions.printStackTrace(e);
112
+        }
113
+    }
114
+
115
+    private void loadExternalEvals() {
116
+        String evals[] = params.externalEvals.split(",");
117
+        externalEvals = new LinkedList<>();
118
+        EvaluationFactory ef = EvaluationFactory.getInstance();
119
+        for (String eval : evals) {
120
+            externalEvals.add(ef.getProvider(eval.trim()));
121
+        }
122
+    }
123
+
124
+    private void writeHeader(Dataset<? extends Instance> dataset) {
125
+        csv.writeLine("Dataset_" + safeName(dataset.getName()));
126
+        String row[] = new String[externalEvals.size() + 2];
127
+        row[0] = "Cutoff strategy";
128
+        row[1] = "Internal eval";
129
+        int i = 2;
130
+        for (ClusterEvaluation eval : externalEvals) {
131
+            row[i] = eval.getName();
132
+            i++;
133
+        }
134
+        csv.writeNext(row);
135
+    }
136
+
137
+    private void writeValues(CutoffStrategy cutoff, String internaEval, Clustering c) {
138
+        String row[] = new String[externalEvals.size() + 2];
139
+        row[0] = cutoff.getName();
140
+        if (cutoff instanceof HillClimbCutoff || cutoff instanceof HillClimbCutoff) {
141
+            row[1] = internaEval;
142
+        } else {
143
+            row[1] = "";
144
+        }
145
+        int i = 2;
146
+        for (ClusterEvaluation eval : externalEvals) {
147
+            double score;
148
+            if (c.getEvaluationTable() != null) {
149
+                score = c.getEvaluationTable().getScore(eval);
150
+            } else {
151
+                try {
152
+                    score = eval.score(c);
153
+                } catch (ScoreException ex) {
154
+                    score = Double.NaN;
155
+                    LOG.info("failed to compute score {}: {}", eval.getName(), ex.getMessage());
156
+                }
157
+            }
158
+            row[i] = String.valueOf(score);
159
+            i++;
160
+        }
161
+        csv.writeNext(row);
162
+    }
163
+
164
+    private void writeAverages() {
165
+        csv.writeLine("AVERAGES");
166
+        String row[] = new String[externalEvals.size() + 2];
167
+        for (Average average : averages.values()) {
168
+            row[0] = average.name;
169
+            row[1] = "";
170
+            int i = 2;
171
+            for (ClusterEvaluation eval : externalEvals) {
172
+                row[i] = String.valueOf(average.getAverage(eval.getName()));
173
+                i++;
174
+            }
175
+            csv.writeNext(row);
176
+        }
177
+    }
178
+
179
+    private CutoffStrategy getCutoffStrategy(String strategy, String eval) {
180
+        CutoffStrategy cutoffStrategy = CutoffStrategyFactory.getInstance().getProvider(strategy);
181
+        InternalEvaluatorFactory<Instance, Cluster<Instance>> ief = InternalEvaluatorFactory.getInstance();
182
+        InternalEvaluator evaluator = ief.getProvider(eval);
183
+        cutoffStrategy.setEvaluator(evaluator);
184
+        return cutoffStrategy;
185
+    }
186
+
187
+    private void initAverages() {
188
+        averages = new HashMap<>();
189
+        String strategies[] = params.strategies.split(",");
190
+        String internalEvals[] = params.internalEvals.split(",");
191
+        for (String strategy : strategies) {
192
+            for (String internalEval : internalEvals) {
193
+                CutoffStrategy cutoff = getCutoffStrategy(strategy.trim(), internalEval.trim());
194
+                if (!(cutoff instanceof HillClimbCutoff) || !(cutoff instanceof HillClimbCutoff)) {
195
+                    averages.put(strategy.trim() + internalEval.trim(), new Average(strategy.trim()));
196
+                    break;
197
+                } else {
198
+                    averages.put(strategy.trim() + internalEval.trim(), new Average(strategy.trim() + " with " + internalEval.trim()));
199
+                }
200
+            }
201
+        }
202
+
203
+    }
204
+
205
+    private class Average {
206
+
207
+        String name;
208
+        LinkedList<ClusterEvaluation> evals;
209
+        Map<String, Double> sum;
210
+        Map<String, Integer> cnt;
211
+
212
+        Average(String name) {
213
+            this.name = name;
214
+            sum = new HashMap<>();
215
+            cnt = new HashMap<>();
216
+            for (ClusterEvaluation eval : externalEvals) {
217
+                sum.put(eval.getName(), 0.0);
218
+                cnt.put(eval.getName(), 0);
219
+            }
220
+        }
221
+
222
+        public double getAverage(String eval) {
223
+            return sum.get(eval) / cnt.get(eval);
224
+        }
225
+
226
+        public void addValues(Clustering c) {
227
+            double score;
228
+            for (ClusterEvaluation eval : externalEvals) {
229
+                if (c.getEvaluationTable() != null) {
230
+                    score = c.getEvaluationTable().getScore(eval);
231
+                } else {
232
+                    try {
233
+                        score = eval.score(c);
234
+                    } catch (ScoreException ex) {
235
+                        score = Double.NaN;
236
+                        LOG.info("failed to compute score {}: {}", eval.getName(), ex.getMessage());
237
+                    }
238
+                }
239
+                sum.put(eval.getName(), sum.get(eval.getName()) + score);
240
+                cnt.put(eval.getName(), cnt.get(eval.getName()) + 1);
241
+            }
242
+        }
243
+
244
+    }
245
+}

+ 85
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/cutoff/CutoffExp.java View File

@@ -0,0 +1,85 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.cutoff;
18
+
19
+import com.beust.jcommander.JCommander;
20
+import java.util.ArrayList;
21
+import java.util.concurrent.ExecutorService;
22
+import java.util.concurrent.Executors;
23
+import org.clueminer.clustering.benchmark.Bench;
24
+import static org.clueminer.clustering.benchmark.Bench.ensureFolder;
25
+import static org.clueminer.clustering.benchmark.Bench.printUsage;
26
+import org.clueminer.dataset.api.Dataset;
27
+import org.clueminer.dataset.api.Instance;
28
+
29
+/**
30
+ *
31
+ * @author Tomas Bruna
32
+ */
33
+public class CutoffExp extends Bench {
34
+
35
+    public static final String name = "cutoff";
36
+
37
+    protected static CutoffParams parseArguments(String[] args) {
38
+        CutoffParams params = new CutoffParams();
39
+        JCommander cmd = new JCommander(params);
40
+        printUsage(args, cmd, params);
41
+        return params;
42
+    }
43
+
44
+    @Override
45
+    public void main(String[] args) {
46
+        CutoffParams params = parseArguments(args);
47
+
48
+        loadBenchArtificial();
49
+        System.out.println("datasets: " + params.datasets);
50
+
51
+        benchmarkFolder = params.home + '/' + "benchmark" + '/' + name;
52
+        ensureFolder(benchmarkFolder);
53
+        System.out.println("writing results to: " + benchmarkFolder);
54
+
55
+        System.out.println("=== starting " + name);
56
+        Runnable exp = null;
57
+        switch (params.mode) {
58
+            case "comparison": {
59
+                exp = new CutoffComparison(params, benchmarkFolder, createDatasetsArray(params.datasets));
60
+                break;
61
+            }
62
+            case "firstJump": {
63
+                exp = new FirstJumpOptimization(params, benchmarkFolder, createDatasetsArray(params.datasets));
64
+                break;
65
+            }
66
+            default: {
67
+                throw new IllegalArgumentException("Mode " + params.mode + " is not supported");
68
+            }
69
+        }
70
+
71
+        ExecutorService execService = Executors.newFixedThreadPool(1);
72
+        execService.submit(exp);
73
+        execService.shutdown();
74
+    }
75
+
76
+    private ArrayList<Dataset<? extends Instance>> createDatasetsArray(String datasets) {
77
+        String stringSets[] = datasets.split(",");
78
+        ArrayList<Dataset<? extends Instance>> sets = new ArrayList<>(stringSets.length);
79
+        for (String dataset : stringSets) {
80
+            sets.add(provider.getDataset(dataset.trim()));
81
+        }
82
+        return sets;
83
+    }
84
+
85
+}

+ 58
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/cutoff/CutoffParams.java View File

@@ -0,0 +1,58 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.cutoff;
18
+
19
+import com.beust.jcommander.Parameter;
20
+import org.clueminer.clustering.benchmark.AbsParams;
21
+
22
+/**
23
+ *
24
+ * @author Tomas Bruna
25
+ */
26
+public class CutoffParams extends AbsParams {
27
+
28
+    @Parameter(names = "--datasets", description = "Datasets to test separated by ,")
29
+    public String datasets = "triangle1, triangle2, flame, jain, long1, long2, long3, sizes1, sizes2, sizes3,"
30
+            + " sizes4, sizes5, compound, atom, aggregation, lsun, pathbased, smile1, smile2, smile3, twodiamonds, "
31
+            + "wingnut, target, st900, square1, square2, square3, square4, square5, spiral, spiral2, spherical_6_2, "
32
+            + "spherical_5_2, longsquare, engytime, donutcurves, diamond9, complex8, complex9, chainlink, R15, D31, "
33
+            + "2d-4c, 2d-20c-no0, 2d-10c";
34
+
35
+    @Parameter(names = "--algorithm", description = "Clustering algorithm name")
36
+    public String algorithm = "Chameleon";
37
+
38
+    @Parameter(names = "--strategy", description = "Cutoff strategies to compare separated by ,")
39
+    public String strategies = "hill-climb cutoff, hill-climb inc, First jump cutoff";
40
+
41
+    @Parameter(names = "--internalEvals", description = "Iternal evaluations to compare separated by ,")
42
+    public String internalEvals = "Silhouette, SD index";
43
+
44
+    @Parameter(names = "--externalEvals", description = "External evaluations to determine quality of results"
45
+               + " separated by ,")
46
+    public String externalEvals = "NMI-sqrt, NMI-sum, Deviation, Adjusted Rand";
47
+
48
+    @Parameter(names = "--startRange", description = "Range of the start parameter the in the First jump cutoff")
49
+    public String startRange = "30-400";
50
+
51
+    @Parameter(names = "--factorRange", description = "Range of the factor parameter in the First jump cutoff")
52
+    public String factorRange = "1.01-6";
53
+
54
+    @Parameter(names = "--mode", description = "Whether to compare different cutoff methods (option comparison)"
55
+               + " or to try different parameters for the First jump cutoff (option firstJump)")
56
+    public String mode = "comparison";
57
+
58
+}

+ 148
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/cutoff/FirstJumpOptimization.java View File

@@ -0,0 +1,148 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.cutoff;
18
+
19
+import java.io.File;
20
+import java.io.IOException;
21
+import java.io.PrintWriter;
22
+import java.util.ArrayList;
23
+import java.util.LinkedList;
24
+import org.clueminer.clustering.api.AgglomerativeClustering;
25
+import org.clueminer.clustering.api.ClusterEvaluation;
26
+import org.clueminer.clustering.api.Clustering;
27
+import org.clueminer.clustering.api.ClusteringFactory;
28
+import org.clueminer.clustering.api.CutoffStrategy;
29
+import org.clueminer.clustering.api.HierarchicalResult;
30
+import org.clueminer.clustering.api.ScoreException;
31
+import org.clueminer.clustering.api.factory.CutoffStrategyFactory;
32
+import org.clueminer.clustering.api.factory.EvaluationFactory;
33
+import static org.clueminer.clustering.benchmark.Bench.ensureFolder;
34
+import static org.clueminer.clustering.benchmark.Bench.safeName;
35
+import org.clueminer.io.csv.CSVWriter;
36
+import org.clueminer.dataset.api.Dataset;
37
+import org.clueminer.dataset.api.Instance;
38
+import org.clueminer.eval.hclust.FirstJump;
39
+import org.clueminer.utils.Props;
40
+import org.openide.util.Exceptions;
41
+
42
+/**
43
+ *
44
+ * @author Tomas Bruna
45
+ */
46
+public class FirstJumpOptimization implements Runnable {
47
+
48
+    private final CutoffParams params;
49
+    private final String benchmarkFolder;
50
+    private final ArrayList<Dataset<? extends Instance>> datasets;
51
+    private LinkedList<HierarchicalResult> dendrograms;
52
+    FirstJump cutoff;
53
+    ClusterEvaluation eval;
54
+
55
+    public FirstJumpOptimization(CutoffParams params, String benchmarkFolder, ArrayList<Dataset<? extends Instance>> datasets) {
56
+        this.params = params;
57
+        this.benchmarkFolder = benchmarkFolder;
58
+        this.datasets = datasets;
59
+        EvaluationFactory ef = EvaluationFactory.getInstance();
60
+        eval = ef.getProvider("NMI-sqrt");
61
+        cutoff = (FirstJump) getCutoffStrategy("First jump cutoff");
62
+    }
63
+
64
+    @Override
65
+    public void run() {
66
+        try {
67
+            String folder;
68
+            AgglomerativeClustering alg = (AgglomerativeClustering) ClusteringFactory.getInstance().getProvider(params.algorithm);
69
+            folder = benchmarkFolder + File.separatorChar + "FirstJumpParams";
70
+            ensureFolder(folder);
71
+            String csvRes = folder + File.separatorChar + safeName(alg.getName()) + "_" + "FirstJumpParams" + ".csv";
72
+
73
+            PrintWriter writer = new PrintWriter(csvRes, "UTF-8");
74
+            CSVWriter csv = new CSVWriter(writer, ',');
75
+            csv.writeLine("Clustering_with_" + alg.getName());
76
+
77
+            computeDendrograms(alg);
78
+
79
+            String startRange[] = params.startRange.split("-");
80
+            String factorRange[] = params.factorRange.split("-");
81
+
82
+            for (int i = Integer.valueOf(startRange[0]); i <= Integer.valueOf(startRange[1]); i += 10) {
83
+                double j = Double.valueOf(factorRange[0]);
84
+                while (j <= Double.valueOf(factorRange[1])) {
85
+                    csv.writeLine("AVERAGE_WITH_" + i + "_AND_" + j + ": " + testParameters(i, j));
86
+                    j += 0.1;
87
+                }
88
+            }
89
+            csv.close();
90
+        } catch (NumberFormatException | IOException e) {
91
+            Exceptions.printStackTrace(e);
92
+        }
93
+    }
94
+
95
+    /**
96
+     * Try cutoff with specified parameters on all results
97
+     *
98
+     * @param i
99
+     * @param j
100
+     * @return
101
+     */
102
+    private double testParameters(int i, double j) {
103
+        System.out.println("Testing " + i + " and " + j);
104
+        double score;
105
+        Clustering c;
106
+        cutoff.setStart(i);
107
+        cutoff.setFactor(j);
108
+        double sum = 0;
109
+        int cnt = 0;
110
+        //compute cutoff on all results
111
+        for (HierarchicalResult rowsResult : dendrograms) {
112
+            rowsResult.findCutoff(cutoff);
113
+            c = rowsResult.getClustering();
114
+            if (c.getEvaluationTable() != null) {
115
+                score = c.getEvaluationTable().getScore(eval);
116
+            } else {
117
+                try {
118
+                    score = eval.score(c);
119
+                } catch (ScoreException ex) {
120
+                    score = Double.NaN;
121
+                    Exceptions.printStackTrace(ex);
122
+                }
123
+            }
124
+            sum += score;
125
+            cnt++;
126
+        }
127
+        return sum / cnt;
128
+    }
129
+
130
+    /**
131
+     * Cluster all datasets and save results
132
+     *
133
+     * @param alg
134
+     */
135
+    private void computeDendrograms(AgglomerativeClustering alg) {
136
+        dendrograms = new LinkedList<>();
137
+        for (Dataset<? extends Instance> dataset : datasets) {
138
+            HierarchicalResult rowsResult = alg.hierarchy(dataset, new Props());
139
+            dendrograms.add(rowsResult);
140
+        }
141
+    }
142
+
143
+    private CutoffStrategy getCutoffStrategy(String strategy) {
144
+        CutoffStrategy cutoffStrategy = CutoffStrategyFactory.getInstance().getProvider(strategy);
145
+        return cutoffStrategy;
146
+    }
147
+
148
+}

+ 117
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/evolve/EvolveExp.java View File

@@ -0,0 +1,117 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.evolve;
18
+
19
+import com.google.common.base.Supplier;
20
+import com.google.common.collect.Maps;
21
+import com.google.common.collect.Table;
22
+import com.google.common.collect.Tables;
23
+import java.io.File;
24
+import java.util.HashMap;
25
+import java.util.Map;
26
+import java.util.Map.Entry;
27
+import org.clueminer.clustering.api.AlgParams;
28
+import org.clueminer.clustering.api.ClusterEvaluation;
29
+import org.clueminer.clustering.api.factory.ExternalEvaluatorFactory;
30
+import static org.clueminer.clustering.benchmark.Bench.ensureFolder;
31
+import static org.clueminer.clustering.benchmark.Bench.safeName;
32
+import org.clueminer.dataset.api.Dataset;
33
+import org.clueminer.dataset.api.Instance;
34
+import org.clueminer.dataset.benchmark.GnuplotWriter;
35
+import org.clueminer.dataset.benchmark.ResultsCollector;
36
+import org.clueminer.evolution.multim.MultiMuteEvolution;
37
+import org.clueminer.evolution.utils.ConsoleDump;
38
+import org.openide.util.Exceptions;
39
+
40
+/**
41
+ * Evolution of hierarchical clusterings with different (unsupervised)
42
+ * optimization criterion (single criterion)
43
+ *
44
+ * @author Tomas Barton
45
+ */
46
+public class EvolveExp implements Runnable {
47
+
48
+    private static ResultsCollector rc;
49
+    private EvolveParams params;
50
+    private String benchmarkFolder;
51
+    private ClusterEvaluation[] scores;
52
+    private HashMap<String, Entry<Dataset<? extends Instance>, Integer>> datasets;
53
+    //table for keeping results from experiments
54
+    private final Table<String, String, Double> table;
55
+
56
+    public EvolveExp(EvolveParams params, String benchmarkFolder, ClusterEvaluation[] scores, HashMap<String, Entry<Dataset<? extends Instance>, Integer>> availableDatasets) {
57
+        this.params = params;
58
+        this.benchmarkFolder = benchmarkFolder;
59
+        this.scores = scores;
60
+        this.datasets = availableDatasets;
61
+
62
+        table = Tables.newCustomTable(
63
+                Maps.<String, Map<String, Double>>newHashMap(),
64
+                new Supplier<Map<String, Double>>() {
65
+            @Override
66
+            public Map<String, Double> get() {
67
+                return Maps.newHashMap();
68
+            }
69
+        });
70
+        rc = new ResultsCollector(table);
71
+    }
72
+
73
+    @Override
74
+    public void run() {
75
+        try {
76
+            MultiMuteEvolution evolution;
77
+            String name;
78
+
79
+            ClusterEvaluation ext = fetchExternal(params.external);
80
+            //evolution.setAlgorithm(new HACLW());
81
+            System.out.println("datasets size: " + datasets.size());
82
+            for (Map.Entry<String, Map.Entry<Dataset<? extends Instance>, Integer>> e : datasets.entrySet()) {
83
+                Dataset<? extends Instance> d = e.getValue().getKey();
84
+                name = safeName(d.getName());
85
+                String csvRes = benchmarkFolder + File.separatorChar + name + File.separatorChar + name + ".csv";
86
+                System.out.println("=== dataset " + name);
87
+                System.out.println("size: " + d.size());
88
+                ensureFolder(benchmarkFolder + File.separatorChar + name);
89
+                for (ClusterEvaluation eval : scores) {
90
+                    evolution = new MultiMuteEvolution();
91
+                    evolution.setDataset(d);
92
+                    evolution.setEvaluator(eval);
93
+                    evolution.setExternal(ext);
94
+                    evolution.setGenerations(params.generations);
95
+                    evolution.setPopulationSize(params.population);
96
+                    GnuplotWriter gw = new GnuplotWriter(evolution, benchmarkFolder, name + File.separatorChar + safeName(eval.getName()));
97
+                    gw.setPlotDumpMod(50);
98
+                    gw.setCustomTitle("cutoff=" + evolution.getDefaultParam(AlgParams.CUTOFF_STRATEGY) + "(" + evolution.getDefaultParam(AlgParams.CUTOFF_SCORE) + ")");
99
+                    //collect data from evolution
100
+                    evolution.addEvolutionListener(new ConsoleDump());
101
+                    evolution.addEvolutionListener(gw);
102
+                    evolution.addEvolutionListener(rc);
103
+                    evolution.run();
104
+                    System.out.println("## updating results in: " + csvRes);
105
+                    rc.writeToCsv(csvRes);
106
+                }
107
+            }
108
+        } catch (Exception e) {
109
+            Exceptions.printStackTrace(e);
110
+        }
111
+    }
112
+
113
+    private ClusterEvaluation fetchExternal(String external) {
114
+        return ExternalEvaluatorFactory.getInstance().getProvider(external);
115
+    }
116
+
117
+}

+ 40
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/evolve/EvolveParams.java View File

@@ -0,0 +1,40 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.evolve;
18
+
19
+import com.beust.jcommander.Parameter;
20
+import org.clueminer.clustering.benchmark.AbsParams;
21
+
22
+/**
23
+ *
24
+ * @author Tomas Barton
25
+ */
26
+public class EvolveParams extends AbsParams {
27
+
28
+    @Parameter(names = "--external", description = "reference criterion for comparing with internal criterion (Precision, Accuracy, NMI)")
29
+    public String external = "AUC";
30
+
31
+    @Parameter(names = "--test", description = "test only on one dataset")
32
+    public boolean test = false;
33
+
34
+    @Parameter(names = "--generations", description = "number of generations in evolution")
35
+    public int generations = 10;
36
+
37
+    @Parameter(names = "--population", description = "size of population in each generation")
38
+    public int population = 10;
39
+
40
+}

+ 188
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/exp/Data.java View File

@@ -0,0 +1,188 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.exp;
18
+
19
+import com.google.common.base.Supplier;
20
+import com.google.common.collect.Maps;
21
+import com.google.common.collect.Table;
22
+import com.google.common.collect.Tables;
23
+import java.io.File;
24
+import java.util.HashMap;
25
+import java.util.Map;
26
+import org.clueminer.clustering.algorithm.KMeans;
27
+import org.clueminer.clustering.api.Cluster;
28
+import org.clueminer.clustering.api.ExternalEvaluator;
29
+import org.clueminer.clustering.api.InternalEvaluator;
30
+import org.clueminer.clustering.api.factory.InternalEvaluatorFactory;
31
+import org.clueminer.clustering.benchmark.Bench;
32
+import org.clueminer.dataset.api.Dataset;
33
+import org.clueminer.dataset.api.Instance;
34
+import org.clueminer.dataset.benchmark.GnuplotWriter;
35
+import org.clueminer.dataset.benchmark.ResultsCollector;
36
+import org.clueminer.eval.external.JaccardIndex;
37
+import org.clueminer.evolution.attr.AttrEvolution;
38
+import org.clueminer.evolution.utils.ConsoleDump;
39
+import org.clueminer.utils.FileUtils;
40
+import org.openide.util.NbBundle;
41
+
42
+/**
43
+ *
44
+ * @author tombart
45
+ */
46
+public class Data extends Bench {
47
+
48
+    private AttrEvolution test;
49
+    //table for keeping results from experiments
50
+    private Table<String, String, Double> table;
51
+    private static ResultsCollector rc;
52
+    private static String csvOutput;
53
+    private static Data instance;
54
+
55
+    /**
56
+     * @param args the command line arguments
57
+     */
58
+    @Override
59
+    public void main(String[] args) {
60
+        int i = 0, j;
61
+        String arg;
62
+        char flag;
63
+        boolean vflag = false;
64
+        String datasetName = "";
65
+
66
+        while (i < args.length && args[i].startsWith("-")) {
67
+            arg = args[i++];
68
+
69
+            // use this type of check for "wordy" arguments
70
+            switch (arg) {
71
+                // use this type of check for arguments that require arguments
72
+                case "-verbose":
73
+                    System.out.println("verbose mode on");
74
+                    vflag = true;
75
+                    break;
76
+                // use this type of check for a series of flag arguments
77
+                case "-dataset":
78
+                    if (i < args.length) {
79
+                        datasetName = args[i++];
80
+                    } else {
81
+                        System.err.println("-dataset requires a name");
82
+                    }
83
+                    if (vflag) {
84
+                        System.out.println("dataset = " + datasetName);
85
+                    }
86
+                    break;
87
+                default:
88
+                    for (j = 1; j < arg.length(); j++) {
89
+                        flag = arg.charAt(j);
90
+                        switch (flag) {
91
+                            case 'x':
92
+                                if (vflag) {
93
+                                    System.out.println("Option x");
94
+                                }
95
+                                break;
96
+                            case 'n':
97
+                                if (vflag) {
98
+                                    System.out.println("Option n");
99
+                                }
100
+                                break;
101
+                            default:
102
+                                System.err.println("Run: illegal option " + flag);
103
+                                break;
104
+                        }
105
+                    }
106
+                    break;
107
+            }
108
+        }
109
+        if (i == args.length) {
110
+            System.err.println("Usage: Benchmark [-verbose] [-xn] [-dataset name]");
111
+        }
112
+
113
+        init();
114
+        execute(datasetName);
115
+    }
116
+
117
+    private void init() {
118
+        table = Tables.newCustomTable(
119
+                Maps.<String, Map<String, Double>>newHashMap(),
120
+                new Supplier<Map<String, Double>>() {
121
+            @Override
122
+            public Map<String, Double> get() {
123
+                return Maps.newHashMap();
124
+            }
125
+        });
126
+
127
+        String home = System.getProperty("user.home") + File.separatorChar
128
+                + NbBundle.getMessage(
129
+                        FileUtils.class,
130
+                        "FOLDER_Home");
131
+        ensureFolder(home);
132
+        benchmarkFolder = home + File.separatorChar + "benchmark";
133
+        ensureFolder(benchmarkFolder);
134
+        rc = new ResultsCollector(table);
135
+        csvOutput = benchmarkFolder + File.separatorChar + "results.csv";
136
+
137
+        //preload dataset names
138
+        loadDatasets();
139
+    }
140
+
141
+    public void execute(String datasetName) {
142
+        Map<Dataset<? extends Instance>, Integer> datasets = new HashMap<>();
143
+        if (availableDatasets.containsKey(datasetName)) {
144
+            Map.Entry<Dataset<? extends Instance>, Integer> entry = availableDatasets.get(datasetName);
145
+            datasets.put(entry.getKey(), entry.getValue());
146
+        } else {
147
+            System.out.println("dataset " + datasetName + " not found");
148
+            System.out.println("known datasets: ");
149
+            for (String d : availableDatasets.keySet()) {
150
+                System.out.print(d + " ");
151
+            }
152
+            System.out.println("---");
153
+        }
154
+        // DatasetFixture.allDatasets();
155
+
156
+        InternalEvaluatorFactory<Instance, Cluster<Instance>> factory = InternalEvaluatorFactory.getInstance();
157
+        ExternalEvaluator ext = new JaccardIndex();
158
+
159
+        String name;
160
+        System.out.println("working folder: " + benchmarkFolder);
161
+        for (Map.Entry<Dataset<? extends Instance>, Integer> entry : datasets.entrySet()) {
162
+            Dataset<? extends Instance> dataset = entry.getKey();
163
+            name = dataset.getName();
164
+            String csvRes = benchmarkFolder + File.separatorChar + name + File.separatorChar + name + ".csv";
165
+            System.out.println("=== dataset " + name);
166
+            System.out.println("size: " + dataset.size());
167
+            System.out.println(dataset.toString());
168
+            String dataDir = benchmarkFolder + File.separatorChar + name;
169
+            (new File(dataDir)).mkdir();
170
+            for (InternalEvaluator eval : factory.getAll()) {
171
+                System.out.println("evaluator: " + eval.getName());
172
+                test = new AttrEvolution(dataset, 20);
173
+                test.setAlgorithm(new KMeans());
174
+                test.setK(entry.getValue());
175
+                test.setEvaluator(eval);
176
+                test.setExternal(ext);
177
+                GnuplotWriter gw = new GnuplotWriter(test, benchmarkFolder, name + "/" + name + "-" + safeName(eval.getName()));
178
+                gw.setPlotDumpMod(50);
179
+                //collect data from evolution
180
+                test.addEvolutionListener(new ConsoleDump());
181
+                test.addEvolutionListener(gw);
182
+                test.addEvolutionListener(rc);
183
+                test.run();
184
+                rc.writeToCsv(csvRes);
185
+            }
186
+        }
187
+    }
188
+}

+ 78
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/exp/EvolveScores.java View File

@@ -0,0 +1,78 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.exp;
18
+
19
+import com.beust.jcommander.JCommander;
20
+import java.util.List;
21
+import java.util.Map;
22
+import java.util.concurrent.ExecutorService;
23
+import java.util.concurrent.Executors;
24
+import org.clueminer.clustering.api.ClusterEvaluation;
25
+import org.clueminer.clustering.api.InternalEvaluator;
26
+import org.clueminer.clustering.api.factory.InternalEvaluatorFactory;
27
+import org.clueminer.clustering.benchmark.Bench;
28
+import org.clueminer.clustering.benchmark.evolve.EvolveExp;
29
+import org.clueminer.clustering.benchmark.evolve.EvolveParams;
30
+import org.clueminer.dataset.api.Dataset;
31
+import org.clueminer.dataset.api.Instance;
32
+import org.clueminer.log.ClmLog;
33
+
34
+/**
35
+ *
36
+ * @author Tomas Barton
37
+ */
38
+public class EvolveScores extends Bench {
39
+
40
+    public static final String name = "evolve-sc";
41
+
42
+    protected static EvolveParams parseArguments(String[] args) {
43
+        EvolveParams params = new EvolveParams();
44
+        JCommander cmd = new JCommander(params);
45
+        printUsage(args, cmd, params);
46
+        return params;
47
+    }
48
+
49
+    @Override
50
+    public void main(String[] args) {
51
+        EvolveParams params = parseArguments(args);
52
+        if (params.test) {
53
+            load("iris");
54
+        } else {
55
+            loadDatasets();
56
+        }
57
+        ClmLog.setup(params.log);
58
+        System.out.println("loaded dataset");
59
+        int i = 0;
60
+        for (Map.Entry<String, Map.Entry<Dataset<? extends Instance>, Integer>> e : availableDatasets.entrySet()) {
61
+            System.out.println((i++) + ":" + e.getKey());
62
+        }
63
+
64
+        benchmarkFolder = params.home + '/' + "benchmark" + '/' + name;
65
+        ensureFolder(benchmarkFolder);
66
+        System.out.println("writing results to: " + benchmarkFolder);
67
+
68
+        System.out.println("=== starting " + name);
69
+        List<InternalEvaluator> eval = InternalEvaluatorFactory.getInstance().getAll();
70
+        ClusterEvaluation[] scores = eval.toArray(new ClusterEvaluation[eval.size()]);
71
+        System.out.println("scores size: " + scores.length);
72
+        EvolveExp exp = new EvolveExp(params, benchmarkFolder, scores, availableDatasets);
73
+        ExecutorService execService = Executors.newFixedThreadPool(1);
74
+        execService.submit(exp);
75
+        execService.shutdown();
76
+    }
77
+
78
+}

+ 59
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/exp/HclusPar.java View File

@@ -0,0 +1,59 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.exp;
18
+
19
+import java.io.File;
20
+import java.util.concurrent.ExecutorService;
21
+import java.util.concurrent.Executors;
22
+import org.clueminer.clustering.aggl.HCLW;
23
+import org.clueminer.clustering.aggl.HCLWMS;
24
+import org.clueminer.clustering.aggl.HacLwMsPar;
25
+import org.clueminer.clustering.api.AgglomerativeClustering;
26
+import static org.clueminer.clustering.benchmark.Bench.ensureFolder;
27
+import org.clueminer.clustering.benchmark.BenchParams;
28
+import org.clueminer.clustering.benchmark.Experiment;
29
+import org.clueminer.log.ClmLog;
30
+
31
+/**
32
+ *
33
+ * @author deric
34
+ */
35
+public class HclusPar extends Hclust {
36
+
37
+    /**
38
+     * @param args the command line arguments
39
+     */
40
+    @Override
41
+    public void main(String[] args) {
42
+        BenchParams params = parseArguments(args);
43
+        ClmLog.setup(params.log);
44
+
45
+        benchmarkFolder = params.home + File.separatorChar + "benchmark" + File.separatorChar + "hclust-par";
46
+        ensureFolder(benchmarkFolder);
47
+
48
+        System.out.println("# n = " + params.n);
49
+        System.out.println("=== starting experiment:");
50
+        AgglomerativeClustering[] algorithms = new AgglomerativeClustering[]{
51
+            new HCLW(), new HCLWMS(), new HacLwMsPar(4), new HacLwMsPar(8), new HacLwMsPar(16), new HacLwMsPar(32)
52
+        };
53
+        Experiment exp = new Experiment(params, benchmarkFolder, algorithms);
54
+        ExecutorService execService = Executors.newFixedThreadPool(1);
55
+        execService.submit(exp);
56
+        execService.shutdown();
57
+    }
58
+
59
+}

+ 60
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/exp/HclusPar2.java View File

@@ -0,0 +1,60 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.exp;
18
+
19
+import java.io.File;
20
+import java.util.concurrent.ExecutorService;
21
+import java.util.concurrent.Executors;
22
+import org.clueminer.clustering.aggl.HCLW;
23
+import org.clueminer.clustering.aggl.HCLWMS;
24
+import org.clueminer.clustering.aggl.HacLwMsPar;
25
+import org.clueminer.clustering.aggl.HacLwMsPar2;
26
+import org.clueminer.clustering.api.AgglomerativeClustering;
27
+import org.clueminer.clustering.benchmark.BenchParams;
28
+import org.clueminer.clustering.benchmark.Experiment;
29
+import static org.clueminer.clustering.benchmark.exp.Hclust.parseArguments;
30
+import org.clueminer.log.ClmLog;
31
+
32
+/**
33
+ *
34
+ * @author Tomas Barton
35
+ */
36
+public class HclusPar2 extends Hclust {
37
+
38
+    /**
39
+     * @param args the command line arguments
40
+     */
41
+    @Override
42
+    public void main(String[] args) {
43
+        BenchParams params = parseArguments(args);
44
+        ClmLog.setup(params.log);
45
+
46
+        benchmarkFolder = params.home + File.separatorChar + "hclust-par2";
47
+        ensureFolder(benchmarkFolder);
48
+
49
+        System.out.println("# n = " + params.n);
50
+        System.out.println("=== starting experiment:");
51
+        AgglomerativeClustering[] algorithms = new AgglomerativeClustering[]{
52
+            new HCLW(), new HCLWMS(), new HacLwMsPar(2), new HacLwMsPar(4), new HacLwMsPar2(2), new HacLwMsPar2(4)
53
+        };
54
+        Experiment exp = new Experiment(params, benchmarkFolder, algorithms);
55
+        ExecutorService execService = Executors.newFixedThreadPool(1);
56
+        execService.submit(exp);
57
+        execService.shutdown();
58
+    }
59
+
60
+}

+ 100
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/exp/Hclust.java View File

@@ -0,0 +1,100 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.exp;
18
+
19
+import com.beust.jcommander.JCommander;
20
+import com.beust.jcommander.ParameterException;
21
+import java.io.File;
22
+import java.util.concurrent.ExecutorService;
23
+import java.util.concurrent.Executors;
24
+import org.clueminer.clustering.aggl.HC;
25
+import org.clueminer.clustering.aggl.HCLW;
26
+import org.clueminer.clustering.aggl.HCLWMS;
27
+import org.clueminer.clustering.api.AgglomerativeClustering;
28
+import org.clueminer.clustering.benchmark.Bench;
29
+import org.clueminer.clustering.benchmark.BenchParams;
30
+import org.clueminer.clustering.benchmark.Experiment;
31
+import org.clueminer.log.ClmLog;
32
+
33
+/**
34
+ *
35
+ * @author deric
36
+ */
37
+public class Hclust extends Bench {
38
+
39
+    protected static Hclust instance;
40
+
41
+    /**
42
+     * @param args the command line arguments
43
+     */
44
+    @Override
45
+    public void main(String[] args) {
46
+        BenchParams params = parseArguments(args);
47
+        ClmLog.setup(params.log);
48
+
49
+        benchmarkFolder = params.home + File.separatorChar + "benchmark" + File.separatorChar + "hclust";
50
+        ensureFolder(benchmarkFolder);
51
+
52
+        System.out.println("# n = " + params.n);
53
+        System.out.println("=== starting experiment:");
54
+        AgglomerativeClustering[] algorithms = new AgglomerativeClustering[]{new HC(), new HCLW(), new HCLWMS()};
55
+        Experiment exp = new Experiment(params, benchmarkFolder, algorithms);
56
+        ExecutorService execService = Executors.newFixedThreadPool(1);
57
+        execService.submit(exp);
58
+        execService.shutdown();
59
+    }
60
+
61
+    protected static BenchParams parseArguments(String[] args) {
62
+        BenchParams params = new BenchParams();
63
+        JCommander cmd = new JCommander(params);
64
+        printUsage(args, cmd, params);
65
+        return params;
66
+    }
67
+
68
+    public static void printUsage(String[] args, JCommander cmd, BenchParams params) {
69
+        /* if (args.length == 0) { StringBuilder sb = new StringBuilder();
70
+         * cmd.usage(sb);
71
+         * sb.append("\n").append("attributes marked with * are mandatory");
72
+         * System.out.println(sb);
73
+         * System.err.println("missing mandatory arguments");
74
+         * System.exit(0);
75
+         * } */
76
+        try {
77
+            cmd.parse(args);
78
+            /**
79
+             * TODO validate values of parameters
80
+             */
81
+            if (params.n <= 0 || params.dimension <= 0) {
82
+                throw new ParameterException("invalid data dimensions " + params.n + " x " + params.dimension);
83
+            }
84
+
85
+            if (params.steps <= 0) {
86
+                throw new ParameterException("invalid steps size " + params.steps);
87
+            }
88
+
89
+            if (params.nSmall == params.n) {
90
+                throw new ParameterException("n can't be same as n-small! " + params.nSmall);
91
+            }
92
+
93
+        } catch (ParameterException ex) {
94
+            System.out.println(ex.getMessage());
95
+            cmd.usage();
96
+            System.exit(0);
97
+        }
98
+    }
99
+
100
+}

+ 76
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/gen/NsgaGen.java View File

@@ -0,0 +1,76 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.gen;
18
+
19
+import com.beust.jcommander.JCommander;
20
+import java.util.Map;
21
+import java.util.concurrent.ExecutorService;
22
+import java.util.concurrent.Executors;
23
+import org.clueminer.clustering.api.Cluster;
24
+import org.clueminer.clustering.api.ClusterEvaluation;
25
+import org.clueminer.clustering.api.factory.InternalEvaluatorFactory;
26
+import org.clueminer.clustering.benchmark.Bench;
27
+import static org.clueminer.clustering.benchmark.Bench.ensureFolder;
28
+import static org.clueminer.clustering.benchmark.Bench.printUsage;
29
+import org.clueminer.dataset.api.Dataset;
30
+import org.clueminer.dataset.api.Instance;
31
+import org.clueminer.log.ClmLog;
32
+
33
+/**
34
+ *
35
+ * @author deric
36
+ */
37
+public class NsgaGen extends Bench {
38
+
39
+    public static final String name = "nsga-gen";
40
+
41
+    protected static NsgaGenParams parseArguments(String[] args) {
42
+        NsgaGenParams params = new NsgaGenParams();
43
+        JCommander cmd = new JCommander(params);
44
+        printUsage(args, cmd, params);
45
+        return params;
46
+    }
47
+
48
+    @Override
49
+    public void main(String[] args) {
50
+        NsgaGenParams params = parseArguments(args);
51
+        if (params.dataset != null) {
52
+            load(params.dataset);
53
+        } else {
54
+            loadDatasets();
55
+        }
56
+        ClmLog.setup(params.log);
57
+
58
+        int i = 0;
59
+        for (Map.Entry<String, Map.Entry<Dataset<? extends Instance>, Integer>> e : availableDatasets.entrySet()) {
60
+            System.out.println((i++) + ":" + e.getKey());
61
+        }
62
+
63
+        benchmarkFolder = params.home + '/' + "benchmark" + '/' + name;
64
+        ensureFolder(benchmarkFolder);
65
+        System.out.println("writing results to: " + benchmarkFolder);
66
+
67
+        System.out.println("=== starting " + name);
68
+        InternalEvaluatorFactory<Instance, Cluster<Instance>> factory = InternalEvaluatorFactory.getInstance();
69
+        ClusterEvaluation c1 = factory.getProvider(params.c1);
70
+        ClusterEvaluation c2 = factory.getProvider(params.c2);
71
+        NsgaGenExp exp = new NsgaGenExp(params, benchmarkFolder, c1, c2, availableDatasets);
72
+        ExecutorService execService = Executors.newFixedThreadPool(1);
73
+        execService.submit(exp);
74
+        execService.shutdown();
75
+    }
76
+}

+ 131
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/gen/NsgaGenExp.java View File

@@ -0,0 +1,131 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.gen;
18
+
19
+import com.google.common.base.Supplier;
20
+import com.google.common.collect.Maps;
21
+import com.google.common.collect.Table;
22
+import com.google.common.collect.Tables;
23
+import java.io.File;
24
+import java.util.HashMap;
25
+import java.util.Map;
26
+import org.clueminer.clustering.api.ClusterEvaluation;
27
+import org.clueminer.clustering.api.factory.EvaluationFactory;
28
+import static org.clueminer.clustering.benchmark.Bench.safeName;
29
+import org.clueminer.dataset.api.Dataset;
30
+import org.clueminer.dataset.api.Instance;
31
+import org.clueminer.dataset.benchmark.GnuplotMO;
32
+import org.clueminer.dataset.benchmark.ResultsCollector;
33
+import org.clueminer.evolution.mo.MoEvolution;
34
+import org.clueminer.evolution.utils.ConsoleDump;
35
+import org.openide.util.Exceptions;
36
+import org.slf4j.Logger;
37
+import org.slf4j.LoggerFactory;
38
+
39
+/**
40
+ *
41
+ * @author deric
42
+ */
43
+public class NsgaGenExp implements Runnable {
44
+
45
+    private static ResultsCollector rc;
46
+    private NsgaGenParams params;
47
+    private String benchmarkFolder;
48
+    private HashMap<String, Map.Entry<Dataset<? extends Instance>, Integer>> datasets;
49
+    //table for keeping results from experiments
50
+    private Table<String, String, Double> table;
51
+    private ClusterEvaluation c1;
52
+    private ClusterEvaluation c2;
53
+    private static final Logger LOG = LoggerFactory.getLogger(NsgaGenExp.class);
54
+
55
+    public NsgaGenExp(NsgaGenParams params, String benchmarkFolder, ClusterEvaluation c1, ClusterEvaluation c2, HashMap<String, Map.Entry<Dataset<? extends Instance>, Integer>> availableDatasets) {
56
+        this.params = params;
57
+        this.benchmarkFolder = benchmarkFolder;
58
+        this.c1 = c1;
59
+        this.c2 = c2;
60
+        this.datasets = availableDatasets;
61
+
62
+        createTable();
63
+        rc = new ResultsCollector(table);
64
+    }
65
+
66
+    private void createTable() {
67
+        table = Tables.newCustomTable(
68
+                Maps.<String, Map<String, Double>>newHashMap(),
69
+                new Supplier<Map<String, Double>>() {
70
+            @Override
71
+            public Map<String, Double> get() {
72
+                return Maps.newHashMap();
73
+            }
74
+        });
75
+    }
76
+
77
+    @Override
78
+    public void run() {
79
+        try {
80
+            MoEvolution evolution = new MoEvolution();
81
+
82
+            evolution.setPopulationSize(params.population);
83
+            evolution.setNumSolutions(params.solutions);
84
+            evolution.setExternal(EvaluationFactory.getInstance().getProvider("Jaccard"));
85
+            evolution.setMutationProbability(params.mutation);
86
+            evolution.setCrossoverProbability(params.crossover);
87
+
88
+            GnuplotMO gw = new GnuplotMO();
89
+            //gw.setCustomTitle("cutoff=" + evolution.getDefaultParam(AgglParams.CUTOFF_STRATEGY) + "(" + evolution.getDefaultParam(AgglParams.CUTOFF_SCORE) + ")");
90
+            //collect data from evolution
91
+            evolution.addEvolutionListener(new ConsoleDump());
92
+            evolution.addMOEvolutionListener(gw);
93
+            evolution.addMOEvolutionListener(rc);
94
+            evolution.addObjective(c1);
95
+            evolution.addObjective(c2);
96
+
97
+            int[] generations = new int[]{1, 10, 50, 100, 1000};
98
+
99
+            String name;
100
+            String folder;
101
+            LOG.info("datasets size: {}", datasets.size());
102
+            for (Map.Entry<String, Map.Entry<Dataset<? extends Instance>, Integer>> e : datasets.entrySet()) {
103
+                Dataset<? extends Instance> d = e.getValue().getKey();
104
+                name = safeName(d.getName());
105
+                folder = benchmarkFolder + File.separatorChar + name;
106
+                gw.mkdir(folder);
107
+                String csvRes = folder + File.separatorChar + "_" + name + ".csv";
108
+                LOG.info("dataset: {} size: {} num attr: {}", name, d.size(), d.attributeCount());
109
+                //ensureFolder(benchmarkFolder + File.separatorChar + name);
110
+
111
+                evolution.setDataset(d);
112
+
113
+                for (int i = 0; i < generations.length; i++) {
114
+                    int g = generations[i];
115
+                    evolution.setGenerations(g);
116
+                    gw.setCurrentDir(benchmarkFolder, name + "-" + g);
117
+                    //for (int k = 0; k < params.repeat; k++) {
118
+                    //   logger.log(Level.INFO, "run {0}: {1} & {2}", new Object[]{k, c1.getName(), c2.getName()});
119
+                    evolution.run();
120
+                    rc.writeToCsv(csvRes);
121
+                    //}
122
+                    evolution.fireFinishedBatch();
123
+                }
124
+                createTable();
125
+            }
126
+        } catch (Exception e) {
127
+            Exceptions.printStackTrace(e);
128
+        }
129
+    }
130
+
131
+}

+ 49
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/gen/NsgaGenParams.java View File

@@ -0,0 +1,49 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.gen;
18
+
19
+import com.beust.jcommander.Parameter;
20
+import org.clueminer.clustering.benchmark.AbsParams;
21
+
22
+/**
23
+ *
24
+ * @author deric
25
+ */
26
+public class NsgaGenParams extends AbsParams {
27
+
28
+    @Parameter(names = "--population", description = "size of population in each generation")
29
+    public int population = 20;
30
+
31
+    @Parameter(names = "--solutions", description = "number of final solutions which will be returned as result")
32
+    public int solutions = 10;
33
+
34
+    @Parameter(names = "--mutation", description = "probability of mutation")
35
+    public double mutation = 0.5;
36
+
37
+    @Parameter(names = "--crossover", description = "probability of crossover")
38
+    public double crossover = 0.5;
39
+
40
+    @Parameter(names = "--dataset", description = "use specific dataset")
41
+    public String dataset = null;
42
+
43
+    @Parameter(names = "--c1", description = "criterion 1")
44
+    public String c1 = "Davies-Bouldin";
45
+
46
+    @Parameter(names = "--c2", description = "criterion 2")
47
+    public String c2 = "AIC";
48
+
49
+}

+ 134
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/nsga/NsgaExp.java View File

@@ -0,0 +1,134 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.nsga;
18
+
19
+import com.google.common.base.Supplier;
20
+import com.google.common.collect.Maps;
21
+import com.google.common.collect.Table;
22
+import com.google.common.collect.Tables;
23
+import java.io.File;
24
+import java.util.HashMap;
25
+import java.util.Map;
26
+import org.clueminer.clustering.api.ClusterEvaluation;
27
+import org.clueminer.clustering.api.factory.EvaluationFactory;
28
+import static org.clueminer.clustering.benchmark.Bench.safeName;
29
+import org.clueminer.dataset.api.Dataset;
30
+import org.clueminer.dataset.api.Instance;
31
+import org.clueminer.dataset.benchmark.GnuplotMO;
32
+import org.clueminer.dataset.benchmark.ResultsCollector;
33
+import org.clueminer.evolution.mo.MoEvolution;
34
+import org.clueminer.evolution.utils.ConsoleDump;
35
+import org.openide.util.Exceptions;
36
+import org.slf4j.Logger;
37
+import org.slf4j.LoggerFactory;
38
+
39
+/**
40
+ *
41
+ * @author Tomas Barton
42
+ */
43
+public class NsgaExp implements Runnable {
44
+
45
+    private static ResultsCollector rc;
46
+    private NsgaParams params;
47
+    private String benchmarkFolder;
48
+    private ClusterEvaluation[] scores;
49
+    private HashMap<String, Map.Entry<Dataset<? extends Instance>, Integer>> datasets;
50
+    //table for keeping results from experiments
51
+    private Table<String, String, Double> table;
52
+    private static final Logger LOG = LoggerFactory.getLogger(NsgaExp.class);
53
+
54
+    public NsgaExp(NsgaParams params, String benchmarkFolder, ClusterEvaluation[] scores, HashMap<String, Map.Entry<Dataset<? extends Instance>, Integer>> availableDatasets) {
55
+        this.params = params;
56
+        this.benchmarkFolder = benchmarkFolder;
57
+        this.scores = scores;
58
+        this.datasets = availableDatasets;
59
+
60
+        createTable();
61
+        rc = new ResultsCollector(table);
62
+    }
63
+
64
+    @Override
65
+    public void run() {
66
+        try {
67
+            MoEvolution evolution = new MoEvolution();
68
+            evolution.setGenerations(params.generations);
69
+            evolution.setPopulationSize(params.population);
70
+            evolution.setNumSolutions(params.solutions);
71
+            evolution.setExternal(EvaluationFactory.getInstance().getProvider(params.supervised));
72
+            evolution.setMutationProbability(params.mutation);
73
+            evolution.setCrossoverProbability(params.crossover);
74
+            evolution.setkLimit(params.limitK);
75
+            ClusterEvaluation c1, c2;
76
+
77
+            GnuplotMO gw = new GnuplotMO();
78
+            //gw.setCustomTitle("cutoff=" + evolution.getDefaultParam(AgglParams.CUTOFF_STRATEGY) + "(" + evolution.getDefaultParam(AgglParams.CUTOFF_SCORE) + ")");
79
+            //collect data from evolution
80
+            evolution.addEvolutionListener(new ConsoleDump());
81
+            evolution.addMOEvolutionListener(gw);
82
+            evolution.addMOEvolutionListener(rc);
83
+
84
+            String name;
85
+            LOG.info("datasets size: {}", datasets.size());
86
+            for (Map.Entry<String, Map.Entry<Dataset<? extends Instance>, Integer>> e : datasets.entrySet()) {
87
+                Dataset<? extends Instance> d = e.getValue().getKey();
88
+                name = safeName(d.getName());
89
+                String csvRes = benchmarkFolder + File.separatorChar + name + File.separatorChar + "_" + name + ".csv";
90
+                LOG.info("dataset: {} size: {} num attr: {}", name, d.size(), d.attributeCount());
91
+                //ensureFolder(benchmarkFolder + File.separatorChar + name);
92
+
93
+                gw.setCurrentDir(benchmarkFolder, name);
94
+
95
+                evolution.setDataset(d);
96
+
97
+                for (int i = 0; i < scores.length; i++) {
98
+                    c1 = scores[i];
99
+                    //lower triangular matrix without diagonal
100
+                    //(doesn't matter which criterion is first, we want to try
101
+                    //all combinations)
102
+                    for (int j = 0; j < i; j++) {
103
+                        c2 = scores[j];
104
+                        evolution.clearObjectives();
105
+                        evolution.addObjective(c1);
106
+                        evolution.addObjective(c2);
107
+                        //run!
108
+                        for (int k = 0; k < params.repeat; k++) {
109
+                            LOG.info("run {}: {} & {}", k, c1.getName(), c2.getName());
110
+                            evolution.run();
111
+                            rc.writeToCsv(csvRes);
112
+                        }
113
+                        evolution.fireFinishedBatch();
114
+                        LOG.info("finished {} & {}", c1.getName(), c2.getName());
115
+                    }
116
+                }
117
+                createTable();
118
+            }
119
+        } catch (Exception e) {
120
+            Exceptions.printStackTrace(e);
121
+        }
122
+    }
123
+
124
+    private void createTable() {
125
+        table = Tables.newCustomTable(
126
+                Maps.<String, Map<String, Double>>newHashMap(),
127
+                new Supplier<Map<String, Double>>() {
128
+            @Override
129
+            public Map<String, Double> get() {
130
+                return Maps.newHashMap();
131
+            }
132
+        });
133
+    }
134
+}

+ 55
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/nsga/NsgaParams.java View File

@@ -0,0 +1,55 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.nsga;
18
+
19
+import com.beust.jcommander.Parameter;
20
+import org.clueminer.clustering.benchmark.AbsParams;
21
+
22
+/**
23
+ *
24
+ * @author Tomas Barton
25
+ */
26
+public class NsgaParams extends AbsParams {
27
+
28
+    @Parameter(names = "--test", description = "test only on one dataset")
29
+    public boolean test = false;
30
+
31
+    @Parameter(names = "--generations", description = "number of generations in evolution")
32
+    public int generations = 10;
33
+
34
+    @Parameter(names = "--population", description = "size of population in each generation")
35
+    public int population = 20;
36
+
37
+    @Parameter(names = "--solutions", description = "number of final solutions which will be returned as result")
38
+    public int solutions = 10;
39
+
40
+    @Parameter(names = "--supervised", description = "supervised criterion for external evaluation")
41
+    public String supervised = "Adjusted Rand";
42
+
43
+    @Parameter(names = "--mutation", description = "probability of mutation")
44
+    public double mutation = 0.5;
45
+
46
+    @Parameter(names = "--crossover", description = "probability of crossover")
47
+    public double crossover = 0.5;
48
+
49
+    @Parameter(names = "--dataset", description = "use specific dataset")
50
+    public String dataset = null;
51
+
52
+    @Parameter(names = "--limit-k", description = "limit max. clusterings size to sqrt(n)")
53
+    public boolean limitK = false;
54
+
55
+}

+ 82
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/nsga/NsgaScore.java View File

@@ -0,0 +1,82 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.nsga;
18
+
19
+import com.beust.jcommander.JCommander;
20
+import java.util.List;
21
+import java.util.Map;
22
+import java.util.concurrent.ExecutorService;
23
+import java.util.concurrent.Executors;
24
+import org.clueminer.clustering.api.ClusterEvaluation;
25
+import org.clueminer.clustering.api.InternalEvaluator;
26
+import org.clueminer.clustering.api.factory.InternalEvaluatorFactory;
27
+import org.clueminer.clustering.benchmark.Bench;
28
+import static org.clueminer.clustering.benchmark.Bench.ensureFolder;
29
+import static org.clueminer.clustering.benchmark.Bench.printUsage;
30
+import org.clueminer.dataset.api.Dataset;
31
+import org.clueminer.dataset.api.Instance;
32
+import org.clueminer.log.ClmLog;
33
+
34
+/**
35
+ *
36
+ * @author Tomas Barton
37
+ */
38
+public class NsgaScore extends Bench {
39
+
40
+    public static final String name = "nsga-scores";
41
+
42
+    protected static NsgaParams parseArguments(String[] args) {
43
+        NsgaParams params = new NsgaParams();
44
+        JCommander cmd = new JCommander(params);
45
+        printUsage(args, cmd, params);
46
+        return params;
47
+    }
48
+
49
+    @Override
50
+    public void main(String[] args) {
51
+        NsgaParams params = parseArguments(args);
52
+        if (params.test || params.dataset != null) {
53
+            if (params.test) {
54
+                load("iris");
55
+            } else {
56
+                load(params.dataset);
57
+            }
58
+        } else {
59
+            loadDatasets();
60
+        }
61
+        System.out.println("loaded dataset");
62
+        ClmLog.setup(params.log);
63
+
64
+        int i = 0;
65
+        for (Map.Entry<String, Map.Entry<Dataset<? extends Instance>, Integer>> e : availableDatasets.entrySet()) {
66
+            System.out.println((i++) + ":" + e.getKey());
67
+        }
68
+
69
+        benchmarkFolder = params.home + '/' + "benchmark" + '/' + name;
70
+        ensureFolder(benchmarkFolder);
71
+        System.out.println("writing results to: " + benchmarkFolder);
72
+
73
+        System.out.println("=== starting " + name);
74
+        List<InternalEvaluator> eval = InternalEvaluatorFactory.getInstance().getAll();
75
+        ClusterEvaluation[] scores = eval.toArray(new ClusterEvaluation[eval.size()]);
76
+        System.out.println("scores size: " + scores.length);
77
+        NsgaExp exp = new NsgaExp(params, benchmarkFolder, scores, availableDatasets);
78
+        ExecutorService execService = Executors.newFixedThreadPool(1);
79
+        execService.submit(exp);
80
+        execService.shutdown();
81
+    }
82
+}

+ 151
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/partition/PartitionBench.java View File

@@ -0,0 +1,151 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.partition;
18
+
19
+import java.util.Random;
20
+import static org.clueminer.chameleon.Chameleon.K;
21
+import static org.clueminer.chameleon.Chameleon.MAX_PARTITION;
22
+import org.clueminer.clustering.benchmark.GnuplotReporter;
23
+import org.clueminer.dataset.api.Dataset;
24
+import org.clueminer.dataset.api.Instance;
25
+import org.clueminer.dataset.impl.ArrayDataset;
26
+import org.clueminer.graph.adjacencyMatrix.AdjMatrixGraph;
27
+import org.clueminer.graph.api.Graph;
28
+import org.clueminer.graph.knn.KNNGraphBuilder;
29
+import org.clueminer.partitioning.api.Partitioning;
30
+import org.clueminer.report.NanoBench;
31
+import org.clueminer.utils.Props;
32
+import org.openide.util.Exceptions;
33
+
34
+/**
35
+ *
36
+ * @author deric
37
+ */
38
+public class PartitionBench implements Runnable {
39
+
40
+    protected final Random rand;
41
+    protected final PartitionParams params;
42
+    protected final Partitioning[] algorithms;
43
+    protected final String results;
44
+
45
+    public PartitionBench(PartitionParams params, String results, Partitioning[] algorithms) {
46
+        rand = new Random();
47
+        this.params = params;
48
+        this.results = results;
49
+        this.algorithms = algorithms;
50
+    }
51
+
52
+    @Override
53
+    public void run() {
54
+        int inc = (params.n - params.nSmall) / params.steps;
55
+
56
+        String[] names = new String[algorithms.length];
57
+        int j = 0;
58
+        for (Partitioning alg : algorithms) {
59
+            names[j++] = alg.getName();
60
+        }
61
+
62
+        GnuplotReporter reporter = new GnuplotReporter(results,
63
+                new String[]{"algorithm", "edges", "n"}, names, params.nSmall + "-" + params.n, 10);
64
+        System.out.println("increment = " + inc);
65
+        KNNGraphBuilder knn = new KNNGraphBuilder();
66
+        Props pref = new Props();
67
+        for (int i = params.nSmall; i <= params.n; i += inc) {
68
+            Graph g = new AdjMatrixGraph(i);
69
+            Dataset<? extends Instance> dataset = generateData(i, params.dimension);
70
+            int datasetK = determineK(dataset);
71
+            int maxPartitionSize = determineMaxPartitionSize(dataset);
72
+            pref.putInt(MAX_PARTITION, maxPartitionSize);
73
+            pref.putInt(K, datasetK);
74
+            g = knn.getNeighborGraph(dataset, g, datasetK);
75
+
76
+            for (Partitioning alg : algorithms) {
77
+                String[] opts = new String[]{alg.getName(), String.valueOf(g.getEdgeCount()), String.valueOf(dataset.size())};
78
+                NanoBench.create().measurements(params.repeat).collect(reporter, opts).measure(
79
+                        alg.getName() + " - " + dataset.size(),
80
+                        bench(alg, g, maxPartitionSize, pref)
81
+                );
82
+                // Get the Java runtime
83
+                Runtime runtime = Runtime.getRuntime();
84
+                // Run the garbage collector
85
+                runtime.gc();
86
+                try {
87
+                    Thread.sleep(1000);
88
+                } catch (InterruptedException ex) {
89
+                    Exceptions.printStackTrace(ex);
90
+                }
91
+            }
92
+        }
93
+        reporter.finish();
94
+    }
95
+
96
+    public Runnable bench(final Partitioning algorithm, final Graph g, final int maxPartitionSize, final Props props) {
97
+
98
+        final Runnable runnable = new Runnable() {
99
+
100
+            @Override
101
+            public void run() {
102
+                algorithm.partition(maxPartitionSize, g, props);
103
+            }
104
+
105
+        };
106
+        return runnable;
107
+    }
108
+
109
+    /**
110
+     * Generate random dataset of doubles with given dimensions
111
+     *
112
+     * @param size
113
+     * @param dim
114
+     * @return
115
+     */
116
+    protected Dataset<? extends Instance> generateData(int size, int dim) {
117
+        System.out.println("generating data: " + size + " x " + dim);
118
+        Dataset<? extends Instance> dataset = new ArrayDataset<>(size, dim);
119
+        for (int i = 0; i < dim; i++) {
120
+            dataset.attributeBuilder().create("attr-" + i, "NUMERIC");
121
+        }
122
+        for (int i = 0; i < size; i++) {
123
+            dataset.instance(i).setName(String.valueOf(i));
124
+            for (int j = 0; j < dim; j++) {
125
+                dataset.set(i, j, rand.nextDouble());
126
+            }
127
+        }
128
+
129
+        return dataset;
130
+    }
131
+
132
+    private int determineK(Dataset<? extends Instance> dataset) {
133
+
134
+        if (dataset.size() < 500) {
135
+            return (int) (Math.log(dataset.size()) / Math.log(2));
136
+        } else {
137
+            return (int) (Math.log(dataset.size()) / Math.log(2)) * 2;
138
+        }
139
+    }
140
+
141
+    private int determineMaxPartitionSize(Dataset<? extends Instance> dataset) {
142
+        if (dataset.size() < 500) {
143
+            return 5;
144
+        } else if ((dataset.size() < 2000)) {
145
+            return dataset.size() / 100;
146
+        } else {
147
+            return dataset.size() / 200;
148
+        }
149
+    }
150
+
151
+}

+ 65
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/partition/PartitionExp.java View File

@@ -0,0 +1,65 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.partition;
18
+
19
+import com.beust.jcommander.JCommander;
20
+import java.util.concurrent.ExecutorService;
21
+import java.util.concurrent.Executors;
22
+import org.clueminer.clustering.benchmark.Bench;
23
+import static org.clueminer.clustering.benchmark.Bench.ensureFolder;
24
+import static org.clueminer.clustering.benchmark.Bench.printUsage;
25
+import org.clueminer.partitioning.api.Partitioning;
26
+import org.clueminer.partitioning.impl.RecursiveBisection;
27
+
28
+/**
29
+ * An experiment to test time complexity of graph partitioning methods
30
+ *
31
+ * @author deric
32
+ */
33
+public class PartitionExp extends Bench {
34
+
35
+    public static final String name = "partition";
36
+
37
+    protected static PartitionParams parseArguments(String[] args) {
38
+        PartitionParams params = new PartitionParams();
39
+        JCommander cmd = new JCommander(params);
40
+        printUsage(args, cmd, params);
41
+        return params;
42
+    }
43
+
44
+    @Override
45
+    public void main(String[] args) {
46
+        PartitionParams params = parseArguments(args);
47
+
48
+        benchmarkFolder = params.home + '/' + "benchmark" + '/' + name;
49
+        ensureFolder(benchmarkFolder);
50
+        System.out.println("writing results to: " + benchmarkFolder);
51
+
52
+        System.out.println("=== starting " + name);
53
+
54
+        Partitioning[] algorithms = new Partitioning[]{
55
+            new RecursiveBisection()
56
+        };
57
+
58
+        Runnable exp = new PartitionBench(params, name, algorithms);
59
+
60
+        ExecutorService execService = Executors.newFixedThreadPool(1);
61
+        execService.submit(exp);
62
+        execService.shutdown();
63
+    }
64
+
65
+}

+ 40
- 0
clustering-benchmark-master/src/main/java/org/clueminer/clustering/benchmark/partition/PartitionParams.java View File

@@ -0,0 +1,40 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.clustering.benchmark.partition;
18
+
19
+import com.beust.jcommander.Parameter;
20
+import org.clueminer.clustering.benchmark.AbsParams;
21
+
22
+/**
23
+ *
24
+ * @author deric
25
+ */
26
+public class PartitionParams extends AbsParams {
27
+
28
+    @Parameter(names = "--n", description = "size of biggest dataset", required = false)
29
+    public int n = 20;
30
+
31
+    @Parameter(names = "--n-small", description = "size of smallest", required = false)
32
+    public int nSmall = 5;
33
+
34
+    @Parameter(names = "--steps", description = "number of datasets which will be generated")
35
+    public int steps = 4;
36
+
37
+    @Parameter(names = "--dimension", description = "number of attributes of each dataset")
38
+    public int dimension = 5;
39
+
40
+}

+ 242
- 0
clustering-benchmark-master/src/main/java/org/clueminer/data/DataLoader.java View File

@@ -0,0 +1,242 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.data;
18
+
19
+import java.io.File;
20
+import java.io.FileNotFoundException;
21
+import java.io.FileOutputStream;
22
+import java.io.IOException;
23
+import java.io.InputStream;
24
+import java.io.OutputStream;
25
+import java.net.URL;
26
+import java.util.Collection;
27
+import java.util.HashMap;
28
+import java.util.Iterator;
29
+import java.util.Map;
30
+import java.util.TreeMap;
31
+import org.clueminer.dataset.api.DataProvider;
32
+import org.clueminer.dataset.api.Dataset;
33
+import org.clueminer.dataset.api.Instance;
34
+import org.clueminer.dataset.impl.ArrayDataset;
35
+import org.clueminer.exception.ParserError;
36
+import org.clueminer.io.arff.ARFFHandler;
37
+import org.openide.util.Exceptions;
38
+
39
+/**
40
+ *
41
+ * @author deric
42
+ */
43
+public class DataLoader implements DataProvider {
44
+
45
+    private final Map<String, String> datasets;
46
+    private final Map<String, String> fullPaths;
47
+    private final Map<String, Dataset<? extends Instance>> cache;
48
+    private String prefix = "datasets" + File.separatorChar + "artificial";
49
+
50
+    public DataLoader(Map<String, String> datasets, String prefix, Map<String, String> fullPaths) {
51
+        this.datasets = datasets;
52
+        this.cache = new HashMap<>(datasets.size());
53
+        this.prefix = prefix;
54
+        this.fullPaths = fullPaths;
55
+    }
56
+
57
+    @Override
58
+    public String[] getDatasetNames() {
59
+        return datasets.keySet().toArray(new String[0]);
60
+    }
61
+
62
+    @Override
63
+    public Dataset<? extends Instance> getDataset(String name) {
64
+        if (cache.containsKey(name)) {
65
+            return cache.get(name);
66
+        }
67
+        if (!datasets.containsKey(name)) {
68
+            throw new RuntimeException("unknown dataset " + name);
69
+        }
70
+
71
+        Dataset<? extends Instance> dataset = loadDataset(name, datasets.get(name), fullPaths.get(name));
72
+        cache.put(name, dataset);
73
+        return dataset;
74
+    }
75
+
76
+    @Override
77
+    public Dataset<? extends Instance> first() {
78
+        Iterator<String> it = datasets.keySet().iterator();
79
+        if (!it.hasNext()) {
80
+            throw new RuntimeException("no datasets were loaded");
81
+        }
82
+        return getDataset(it.next());
83
+    }
84
+
85
+    @Override
86
+    public int count() {
87
+        return datasets.size();
88
+    }
89
+
90
+    /**
91
+     * Tries to load dataset by its name. There must be a method for loading the
92
+     * dataset in this class.
93
+     *
94
+     * @param name
95
+     * @return
96
+     */
97
+    private Dataset<? extends Instance> loadDataset(String name, String type, String fullPath) {
98
+        Dataset<? extends Instance> dataset = null;
99
+        switch (type) {
100
+            case "arff":
101
+                //TODO: multi dimensions support
102
+                dataset = new ArrayDataset(10, 2);
103
+                dataset.setName(name);
104
+                ARFFHandler arff = new ARFFHandler();
105
+                try {
106
+                    arff.load(resource(name + "." + type, fullPath), dataset);
107
+                } catch (FileNotFoundException | ParserError ex) {
108
+                    Exceptions.printStackTrace(ex);
109
+                }
110
+                break;
111
+            default:
112
+                throw new RuntimeException("unsupported format " + type);
113
+        }
114
+
115
+        return dataset;
116
+    }
117
+
118
+    /**
119
+     * Resource packed in jar is not possible to open directly, this method uses
120
+     * a .tmp file which should be on exit deleted
121
+     *
122
+     * @param path
123
+     * @param fullPath
124
+     * @return
125
+     */
126
+    public File resource(String path, String fullPath) {
127
+        String resource = prefix + File.separatorChar + path;
128
+        File file;
129
+        URL url = DataLoader.class.getResource(resource);
130
+        if (url == null) {
131
+            //probably on Windows
132
+            file = new File(fullPath);
133
+            if (file.exists()) {
134
+                return file;
135
+            }
136
+            //non existing URL
137
+            //no classpath, compiled as JAR
138
+            //if path is in form: "jar:path.jar!resource/data.arff"
139
+            int pos = fullPath.lastIndexOf("!");
140
+            if (pos > 0) {
141
+                resource = fullPath.substring(pos + 1);
142
+                if (!resource.startsWith("/")) {
143
+                    //necessary for loading as a stream
144
+                    resource = "/" + resource;
145
+                }
146
+            }
147
+            return loadResource(resource);
148
+        }
149
+
150
+        if (url.toString().startsWith("jar:")) {
151
+            return loadResource(resource);
152
+        } else {
153
+            file = new File(url.getFile());
154
+        }
155
+        return file;
156
+    }
157
+
158
+    private File loadResource(String resource) {
159
+        File file = null;
160
+        try {
161
+            InputStream input = getClass().getResourceAsStream(resource);
162
+            file = File.createTempFile("nodesfile", ".tmp");
163
+            OutputStream out = new FileOutputStream(file);
164
+            int read;
165
+            byte[] bytes = new byte[1024];
166
+
167
+            while ((read = input.read(bytes)) != -1) {
168
+                out.write(bytes, 0, read);
169
+            }
170
+            file.deleteOnExit();
171
+        } catch (IOException ex) {
172
+            System.err.println(ex.toString());
173
+        }
174
+        return file;
175
+    }
176
+
177
+    public static DataProvider createLoader(String p1, String p2) {
178
+        String path = p1 + File.pathSeparatorChar + p2;
179
+        Map<String, String> datasets = new TreeMap<>();
180
+        Map<String, String> paths = new HashMap<>();
181
+
182
+        final Collection<String> list = ResourceList.getResources(p1, p2);
183
+        int idx, dot;
184
+        String dataset;
185
+        String ext;
186
+        for (final String name : list) {
187
+            idx = name.lastIndexOf(File.separatorChar);
188
+            dot = name.lastIndexOf(".");
189
+            if (dot > 0) {
190
+                dataset = name.substring(idx + 1, dot);
191
+            } else {
192
+                dataset = name;
193
+            }
194
+            ext = name.substring(dot + 1);
195
+            datasets.put(dataset, ext);
196
+            paths.put(dataset, name);
197
+        }
198
+
199
+        return new DataLoader(datasets, path, paths);
200
+    }
201
+
202
+    @Override
203
+    public Iterator<Dataset<? extends Instance>> iterator() {
204
+        return new DataLoaderIterator();
205
+    }
206
+
207
+    @Override
208
+    public boolean hasDataset(String name) {
209
+        for (String dataset : datasets.keySet()) {
210
+            if (name.equals(dataset)) {
211
+                return true;
212
+            }
213
+        }
214
+        return false;
215
+    }
216
+
217
+    private class DataLoaderIterator implements Iterator<Dataset<? extends Instance>> {
218
+
219
+        private final Iterator<String> it;
220
+
221
+        public DataLoaderIterator() {
222
+            it = datasets.keySet().iterator();
223
+        }
224
+
225
+        @Override
226
+        public boolean hasNext() {
227
+            return it.hasNext();
228
+        }
229
+
230
+        @Override
231
+        public Dataset<? extends Instance> next() {
232
+            return getDataset(it.next());
233
+        }
234
+
235
+        @Override
236
+        public void remove() {
237
+            throw new UnsupportedOperationException("not supported yet.");
238
+        }
239
+
240
+    }
241
+
242
+}

+ 227
- 0
clustering-benchmark-master/src/main/java/org/clueminer/data/ResourceList.java View File

@@ -0,0 +1,227 @@
1
+/*
2
+ * Copyright (C) 2011-2016 clueminer.org
3
+ *
4
+ * This program is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
+ */
17
+package org.clueminer.data;
18
+
19
+import java.io.File;
20
+import java.io.FileInputStream;
21
+import java.io.FileNotFoundException;
22
+import java.io.IOException;
23
+import java.net.URISyntaxException;
24
+import java.net.URL;
25
+import java.net.URLDecoder;
26
+import java.util.Collection;
27
+import java.util.Enumeration;
28
+import java.util.LinkedList;
29
+import java.util.List;
30
+import java.util.jar.JarEntry;
31
+import java.util.jar.JarFile;
32
+import java.util.regex.Pattern;
33
+import java.util.zip.ZipEntry;
34
+import java.util.zip.ZipInputStream;
35
+import org.openide.util.Exceptions;
36
+import org.openide.util.Utilities;
37
+
38
+/**
39
+ * code from
40
+ * @link http://stackoverflow.com/questions/3923129/get-a-list-of-resources-from-classpath-directory
41
+ * @author deric
42
+ */
43
+public class ResourceList {
44
+
45
+    private static final String OS = System.getProperty("os.name").toLowerCase();
46
+
47
+    /**
48
+     * for all elements of java.class.path get a Collection of resources Pattern
49
+     * pattern = Pattern.compile(".*"); gets all resources
50
+     *
51
+     * @param p1 first part of path
52
+     * @param p2 second part of path
53
+     * @return the resources in the order they are found
54
+     */
55
+    public static Collection<String> getResources(String p1, String p2) {
56
+        final List<String> retval = new LinkedList<>();
57
+        final String classPath = System.getProperty("java.class.path", ".");
58
+        String pathSeparator;
59
+        //platform independent regexp
60
+        Pattern pattern = Pattern.compile("(.*)" + p1 + "(.)" + p2 + "(.*)");
61
+        if (isWindows()) {
62
+            try {
63
+                Enumeration<URL> en = ResourceList.class.getClassLoader().getResources("datasets");
64
+                if (en.hasMoreElements()) {
65
+                    URL metaInf = en.nextElement();
66
+                    File fileMetaInf = Utilities.toFile(metaInf.toURI());
67
+                    browseFiles(retval, fileMetaInf, pattern);
68
+                }
69
+            } catch (IOException | URISyntaxException ex) {
70
+                Exceptions.printStackTrace(ex);
71
+            }
72
+            if (retval.size() > 0) {
73
+                return retval;
74
+            }
75
+            pathSeparator = ";";
76
+        } else {
77
+            pathSeparator = ":";
78
+        }
79
+        //when running from IDE we can use classpath a directly read files from disk
80
+        final String[] classPathElements = classPath.split(pathSeparator);
81
+        for (final String element : classPathElements) {
82
+            retval.addAll(getResources(element, pattern));
83
+        }
84
+        if (retval.isEmpty()) {
85
+            //last resort, when compiled into JAR
86
+            loadFromJar(retval, pattern);
87
+        }
88
+        return retval;
89
+    }
90
+
91
+    private static void browseFiles(final List<String> retval, File fileMetaInf, final Pattern pattern) {
92
+        File[] files = fileMetaInf.listFiles();
93
+        for (File f : files) {
94
+            if (f.isDirectory()) {
95
+                browseFiles(retval, f, pattern);
96
+            } else {
97
+                String fileName = f.getAbsolutePath();
98
+                final boolean accept = pattern.matcher(fileName).matches();
99
+                if (accept) {
100
+                    retval.add(fileName);
101
+                }
102
+            }
103
+        }
104
+    }
105
+
106
+    private static Collection<String> getResources(final String element, final Pattern pattern) {
107
+        final List<String> retval = new LinkedList<>();
108
+        final File file = new File(element);
109
+        if (file.isDirectory()) {
110
+            retval.addAll(getResourcesFromDirectory(file, pattern));
111
+        } else if (file.exists()) {
112
+            retval.addAll(getResourcesFromJarFile(file, pattern));
113
+        } else {
114
+            System.err.println("can't open file: " + file);
115
+        }
116
+        return retval;
117
+    }
118
+
119
+    private static Collection<String> getResourcesFromJarFile(final File file, final Pattern pattern) {
120
+        final List<String> retval = new LinkedList<>();
121
+        ZipInputStream zip = null;
122
+        try {
123
+            zip = new ZipInputStream(new FileInputStream(file));
124
+        } catch (FileNotFoundException ex) {
125
+            Exceptions.printStackTrace(ex);
126
+        }
127
+
128
+        if (zip != null) {
129
+            try {
130
+                while (zip.available() == 1) {
131
+                    final ZipEntry ze = zip.getNextEntry();
132
+                    final String fileName = ze.getName();
133
+                    final boolean accept = pattern.matcher(fileName).matches();
134
+                    if (accept) {
135
+                        retval.add(fileName);
136
+                    }
137
+                    zip.closeEntry();
138
+                }
139
+                zip.close();
140
+            } catch (IOException ex) {
141
+                Exceptions.printStackTrace(ex);
142
+            }
143
+        }
144
+
145
+        return retval;
146
+    }
147
+
148
+    private static Collection<String> getResourcesFromDirectory(
149
+            final File directory,
150
+            final Pattern pattern) {
151
+        final List<String> retval = new LinkedList<>();
152
+        final File[] fileList = directory.listFiles();
153
+        for (final File file : fileList) {
154
+            if (file.isDirectory()) {
155
+                retval.addAll(getResourcesFromDirectory(file, pattern));
156
+            } else {
157
+                try {
158
+                    final String fileName = file.getCanonicalPath();
159
+                    final boolean accept = pattern.matcher(fileName).matches();
160
+                    if (accept) {
161
+                        retval.add(fileName);
162
+                    }
163
+                } catch (final IOException e) {
164
+                    throw new Error(e);
165
+                }
166
+            }
167
+        }
168
+        return retval;
169
+    }
170
+
171
+    public static boolean isWindows() {
172
+        return (OS.contains("win"));
173
+    }
174
+
175
+    public static boolean isMac() {
176
+        return (OS.contains("mac"));
177
+    }
178
+
179
+    public static boolean isUnix() {
180
+        return (OS.contains("nix") || OS.contains("nux") || OS.contains("aix"));
181
+    }
182
+
183
+    public static boolean isSolaris() {
184
+        return (OS.contains("sunos"));
185
+    }
186
+
187
+    /**
188
+     * List resources from compiled JAR and choose those matching some pattern
189
+     *
190
+     * @param retval
191
+     * @param pattern
192
+     */
193
+    private static void loadFromJar(List<String> retval, Pattern pattern) {
194
+        try {
195
+            Enumeration<URL> en = ResourceList.class.getClassLoader().getResources("datasets");
196
+            if (en.hasMoreElements()) {
197
+                URL metaInf = en.nextElement();
198
+                File file;
199
+
200
+                String path = metaInf.getPath();
201
+                String jarFilePath = path.substring(path.indexOf(":") + 1, path.indexOf("!"));
202
+                jarFilePath = URLDecoder.decode(jarFilePath, "UTF-8");
203
+                file = new File(jarFilePath);
204
+
205
+                try (JarFile jar = new JarFile(file)) {
206
+                    JarEntry entry;
207
+                    String fileName;
208
+                    Enumeration<JarEntry> enumer = jar.entries();
209
+                    while (enumer.hasMoreElements()) {
210
+                        entry = enumer.nextElement();
211
+                        fileName = entry.getName();
212
+                        if (pattern.matcher(fileName).matches()) {
213
+                            //don't add directories
214
+                            if (!fileName.endsWith("/")) {
215
+                                retval.add("jar:" + jarFilePath + "!" + fileName);
216
+                            }
217
+                        }
218
+                    }
219
+
220
+                }
221
+            }
222
+        } catch (IOException ex) {
223
+            Exceptions.printStackTrace(ex);
224
+        }
225
+    }
226
+
227
+}

+ 2
- 0
clustering-benchmark-master/src/main/nbm/manifest.mf View File

@@ -0,0 +1,2 @@
1
+Manifest-Version: 1.0
2
+OpenIDE-Module-Localizing-Bundle: org/clueminer/clustering/benchmark/Bundle.properties

+ 2997
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/2d-10c.arff
File diff suppressed because it is too large
View File


+ 1527
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/2d-20c-no0.arff
File diff suppressed because it is too large
View File


+ 725
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/2d-3c-no123.arff View File

@@ -0,0 +1,725 @@
1
+% Data from J. Handl
2
+% http://personalpages.manchester.ac.uk/mbs/Julia.Handl/generators.html
3
+%
4
+@RELATION 2d-3c-no123
5
+
6
+@ATTRIBUTE a0 REAL
7
+@ATTRIBUTE a1 REAL
8
+@ATTRIBUTE class {0,1,2}
9
+
10
+@DATA
11
+-0.499261,-0.0612356,0
12
+-1.51369,0.265446,0
13
+-1.60321,0.362039,0
14
+-1.69928,-0.384246,0
15
+-2.29929,-0.358038,0
16
+-1.63458,-0.129039,0
17
+-1.48285,-0.450253,0
18
+-1.56683,0.241292,0
19
+-2.25832,-0.118366,0
20
+-1.48695,-0.226327,0
21
+-0.711746,-0.655026,0
22
+-1.18149,-0.117645,0
23
+-0.748501,0.0398234,0
24
+-1.54619,0.271163,0
25
+-2.23412,-0.0707176,0
26
+-2.09035,-0.580596,0
27
+-2.19918,-0.364972,0
28
+-2.29264,-0.384073,0
29
+-1.71823,-0.411015,0
30
+-2.45656,-0.528023,0
31
+-0.551482,-0.289495,0
32
+-0.136403,-0.443648,0
33
+-1.79109,-0.20819,0
34
+-1.23299,-0.0566847,0
35
+-2.16965,-0.398822,0
36
+-2.04045,0.429838,0
37
+-1.68399,-0.201117,0
38
+-1.46419,-0.0441746,0
39
+-1.13619,-0.892017,0
40
+-1.51035,-0.921798,0
41
+-1.50599,-0.752517,0
42
+-1.23767,0.389077,0
43
+-2.43665,-0.218041,0
44
+-1.35069,-0.3323,0
45
+-1.01149,-0.0714108,0
46
+-2.36843,-0.587694,0
47
+-0.475282,-0.558479,0
48
+-1.7325,-0.249313,0
49
+-1.07224,-0.201785,0
50
+-2.81079,-0.242085,0
51
+-0.451435,-0.318935,0
52
+-2.45931,-0.296224,0
53
+-1.09573,0.178281,0
54
+-0.798153,0.105336,0
55
+-1.40704,-0.694274,0
56
+-2.04748,0.124415,0
57
+-0.388075,-0.210231,0
58
+-2.45275,0.0894885,0
59
+-2.47512,0.22881,0
60
+-0.777604,-0.128458,0
61
+-1.61801,-0.215364,0
62
+-2.34644,-0.129468,0
63
+-0.587985,0.0297594,0
64
+-2.54921,-0.272282,0
65
+-2.33773,0.265582,0
66
+-1.08436,-0.233094,0
67
+-1.7235,0.240157,0
68
+-1.112,-0.195613,0
69
+-0.577581,-0.428117,0
70
+-2.51468,-0.24391,0
71
+-2.31301,-0.294402,0
72
+-1.30393,0.114933,0
73
+-1.17892,0.00162141,0
74
+-2.17878,-0.0703754,0
75
+-0.380086,0.278372,0
76
+-0.685583,-0.466433,0
77
+-0.450885,-0.596072,0
78
+-1.08188,0.165561,0
79
+-2.07714,-0.7923,0
80
+-1.18183,-0.747411,0
81
+-1.70054,-0.616073,0
82
+-0.458942,-0.326455,0
83
+-1.87041,0.173688,0
84
+-2.18208,-0.276524,0
85
+-0.72682,-0.28366,0
86
+-1.44688,-0.309433,0
87
+-0.425964,-0.395437,0
88
+-1.79028,-0.371134,0
89
+-1.05989,0.336678,0
90
+-1.22423,0.385848,0
91
+-1.01251,-0.0440229,0
92
+-2.1894,-0.800676,0
93
+-0.610214,-0.166977,0
94
+-1.19969,-0.296873,0
95
+-1.1779,-0.460586,0
96
+-1.23628,0.338048,0
97
+-2.59617,0.000440827,0
98
+-0.523092,-0.189226,0
99
+-2.26986,-0.701232,0
100
+-0.920545,-0.253044,0
101
+-2.2716,-0.153357,0
102
+-1.26909,-0.701825,0
103
+-1.34999,-0.188381,0
104
+-0.491468,-0.439245,0
105
+-0.866125,-0.535217,0
106
+-0.948274,-0.422032,0
107
+-0.856172,-0.0811541,0
108
+-1.46376,-0.106444,0
109
+-0.503948,-0.186919,0
110
+-1.35059,-0.298855,0
111
+-1.32845,0.0738312,0
112
+-1.46803,-0.463483,0
113
+-2.52355,-0.0288518,0
114
+-1.70461,-0.308081,0
115
+-1.79833,-0.567348,0
116
+-2.08134,-0.626047,0
117
+-1.9585,-0.483281,0
118
+-1.05918,-0.65755,0
119
+-1.38138,0.385008,0
120
+-0.370573,-0.177124,0
121
+-1.78802,0.166309,0
122
+-0.0956844,-0.241934,0
123
+-1.58697,-0.499115,0
124
+-0.214031,-0.249106,0
125
+-1.96844,0.228968,0
126
+-0.394591,-0.180563,0
127
+-0.846852,-0.790622,0
128
+-0.270405,0.0484265,0
129
+-1.11818,-0.00780473,0
130
+-1.5605,0.449574,0
131
+-0.590905,-0.0268632,0
132
+-0.792575,-0.480176,0
133
+-0.892659,0.108067,0
134
+-1.00143,-0.255659,0
135
+-1.83322,0.0895797,0
136
+-0.999252,-0.152005,0
137
+-1.13536,-0.576676,0
138
+-2.39088,-0.17322,0
139
+-0.848488,0.145857,0
140
+-1.25963,-0.229898,0
141
+-0.901266,-0.0276792,0
142
+-1.3271,-0.719731,0
143
+-1.25035,-0.179882,0
144
+-2.47874,-0.493484,0
145
+-0.660601,-0.139362,0
146
+-1.23096,-0.226009,0
147
+-2.61272,-0.386082,0
148
+-1.28171,-0.230228,0
149
+-1.2758,-0.156721,0
150
+-1.32112,-0.197253,0
151
+-1.07067,-0.264054,0
152
+-1.54483,0.0951446,0
153
+-1.24098,0.449815,0
154
+-1.8912,-0.0104886,0
155
+-2.24747,-0.455602,0
156
+-1.34348,0.00126894,0
157
+-0.682757,0.302637,0
158
+-1.48002,-0.296152,0
159
+-1.91735,-0.0567309,0
160
+-1.59833,-0.250893,0
161
+-0.907377,-0.404895,0
162
+-2.54871,-0.199271,0
163
+-1.21384,-0.155317,0
164
+-2.02691,-0.0429434,0
165
+-2.49926,-0.228186,0
166
+-1.11648,-0.248246,0
167
+-0.920864,-0.0332066,0
168
+-1.43114,-0.102615,0
169
+-0.479975,-0.664654,0
170
+-1.87389,0.236099,0
171
+-2.24807,0.18518,0
172
+-1.48213,-0.0686259,0
173
+-1.64908,0.420663,0
174
+-2.25494,-0.320799,0
175
+-1.39161,-0.333832,0
176
+-1.89318,0.100127,0
177
+-1.16233,-0.556081,0
178
+-0.262921,-0.199637,0
179
+-0.155889,-0.181016,0
180
+-0.538167,-0.638279,0
181
+-0.903494,-0.0929054,0
182
+-0.176933,-0.510346,0
183
+-2.51876,-0.190542,0
184
+-2.2614,-0.196072,0
185
+-0.652859,0.239286,0
186
+-2.65633,-0.204368,0
187
+-2.35691,-0.544193,0
188
+-1.33018,-0.239455,0
189
+-1.98605,0.146768,0
190
+-0.467771,-0.484741,0
191
+-1.05931,0.109113,0
192
+-2.31306,-0.149764,0
193
+-0.0177236,-0.165011,0
194
+-1.2631,0.462824,0
195
+-0.52256,0.00976105,0
196
+-2.42881,-0.197367,0
197
+-0.785361,0.273635,0
198
+-2.00577,0.184063,0
199
+-1.16413,-0.563739,0
200
+-2.07677,-0.164574,0
201
+-0.824798,-0.249291,0
202
+-2.65743,-0.220234,0
203
+-1.6997,-0.319241,0
204
+-1.36822,-0.00383654,0
205
+-2.2718,-0.0870985,0
206
+-1.36258,0.0386346,0
207
+-2.43111,-0.63722,0
208
+-1.54477,-0.189808,0
209
+-1.13161,0.264064,0
210
+-1.67036,0.32674,0
211
+-0.754439,0.337697,0
212
+-0.333364,-0.0834828,0
213
+-2.19187,-0.28749,0
214
+-0.5774,-0.616809,0
215
+-1.86773,-0.395942,0
216
+-1.40692,-0.202211,0
217
+-0.764989,0.224183,0
218
+-1.68038,-0.0175977,0
219
+-1.67608,-0.348497,0
220
+-1.9746,0.209459,0
221
+-2.30355,-0.0772107,0
222
+-0.99419,-0.348846,0
223
+-2.44194,-0.210048,0
224
+-1.86043,-0.205542,0
225
+-1.7151,0.216848,0
226
+-0.906181,-0.0586624,0
227
+-1.24948,-0.483848,0
228
+-1.88249,-0.220189,0
229
+-0.671774,0.266806,0
230
+-2.63347,-0.280889,0
231
+-1.20695,-0.201858,0
232
+-1.59495,-0.487181,0
233
+-1.90829,-0.143211,0
234
+-1.07304,-0.254002,0
235
+-1.45799,0.142996,0
236
+-0.967538,0.0374383,0
237
+-2.31758,-0.248441,0
238
+-1.31275,-0.00592393,0
239
+-2.62777,-0.3237,0
240
+-0.670005,-0.710908,0
241
+-1.01785,-0.123012,0
242
+-1.11796,-0.338308,0
243
+-0.994087,-0.291256,0
244
+-1.41394,-0.0414039,0
245
+-1.4606,-0.196794,0
246
+-1.52245,-0.286282,0
247
+-1.21946,-0.240816,0
248
+-0.691053,-0.292521,0
249
+-2.00041,-0.26053,0
250
+-1.90542,-0.750528,0
251
+-0.933791,-0.357619,0
252
+-1.52175,-0.73037,0
253
+-1.62721,-0.0257883,0
254
+-1.77164,-0.39202,0
255
+-1.35963,-0.128588,0
256
+-0.928579,0.0618786,0
257
+-2.0048,-0.264012,0
258
+-1.05305,-0.0806068,0
259
+-1.7438,-0.270436,0
260
+-2.45456,-0.0142089,0
261
+-1.89627,0.11772,0
262
+-1.23953,-0.457355,0
263
+-0.885817,0.12156,0
264
+-2.06675,-0.141921,0
265
+-0.557941,-0.418863,0
266
+-2.63596,-0.102853,0
267
+-2.74866,-0.351796,0
268
+-1.6048,-0.187027,0
269
+-0.450125,-0.335052,0
270
+-2.22308,-0.258855,0
271
+-2.4004,-0.173146,0
272
+-2.11649,-0.131222,0
273
+-1.59946,-0.383557,0
274
+-1.69468,-0.845225,0
275
+-0.221476,1.80389,1
276
+0.0628015,0.390328,1
277
+-0.449465,0.924052,1
278
+-0.0945055,0.977684,1
279
+0.0649535,1.26422,1
280
+-0.445305,1.50516,1
281
+-0.225973,0.253598,1
282
+-0.299763,0.603434,1
283
+-0.197758,1.50009,1
284
+0.113795,0.558188,1
285
+0.064114,1.08612,1
286
+-0.120915,1.5998,1
287
+0.113971,0.844664,1
288
+-0.483109,1.28486,1
289
+-0.0938841,1.61041,1
290
+0.00179402,0.487022,1
291
+-0.415814,0.707531,1
292
+-0.287276,1.4299,1
293
+-0.0666446,1.52168,1
294
+0.0724349,1.05436,1
295
+0.0588847,0.843051,1
296
+-0.0509464,0.455074,1
297
+0.0194443,0.86389,1
298
+-0.0919648,1.20257,1
299
+-0.0511768,1.73653,1
300
+-0.277182,1.02118,1
301
+-0.150938,1.63724,1
302
+-0.453181,1.11879,1
303
+-0.327101,1.22295,1
304
+0.118602,1.29304,1
305
+-0.284356,1.5472,1
306
+-0.137615,0.534716,1
307
+-0.135678,1.38574,1
308
+0.0316148,1.32787,1
309
+0.0444705,1.07117,1
310
+-0.071398,0.939851,1
311
+-0.0797294,1.11851,1
312
+-0.381724,0.571095,1
313
+-0.240608,1.17521,1
314
+-0.3329,1.38001,1
315
+0.286967,0.52995,1
316
+-0.34667,1.69702,1
317
+-0.221653,1.47778,1
318
+0.0850845,0.83911,1
319
+-0.4808,1.46247,1
320
+-0.323461,0.347257,1
321
+-0.0752606,0.959864,1
322
+-0.135714,1.38363,1
323
+-0.145468,1.77838,1
324
+0.0178782,0.548708,1
325
+0.171958,0.981572,1
326
+-0.0378176,1.86252,1
327
+0.0456633,0.573811,1
328
+0.110775,1.275,1
329
+-0.0446775,0.446026,1
330
+-0.403459,1.45095,1
331
+0.153763,1.32336,1
332
+-0.0170671,0.956764,1
333
+0.0201026,0.642278,1
334
+-0.0785571,1.28404,1
335
+-0.097013,1.48395,1
336
+-0.408621,0.791373,1
337
+-0.0977954,0.504033,1
338
+0.0617912,1.73947,1
339
+-0.157132,1.14187,1
340
+-0.234232,1.23414,1
341
+0.0989579,0.329103,1
342
+-0.0694159,0.900879,1
343
+-0.243241,1.27004,1
344
+-0.0516125,1.04137,1
345
+-0.0510944,1.67904,1
346
+-0.450845,1.21386,1
347
+0.133506,0.918825,1
348
+-0.0441808,0.584322,1
349
+-0.0796568,1.06362,1
350
+0.00895659,1.16578,1
351
+-0.171278,1.38982,1
352
+-0.200504,0.842022,1
353
+-0.0779112,0.896374,1
354
+0.12958,0.875152,1
355
+-0.195978,1.38031,1
356
+-0.0399658,1.17369,1
357
+0.263052,0.940845,1
358
+-0.109524,1.31844,1
359
+-0.0365369,1.75382,1
360
+0.00319596,1.62308,1
361
+-0.114191,0.868625,1
362
+-0.0599482,1.58766,1
363
+-0.301544,0.482043,1
364
+-0.290719,1.51833,1
365
+0.215288,0.484665,1
366
+0.145087,0.939982,1
367
+-0.285355,1.39515,1
368
+0.137718,1.39013,1
369
+-0.21872,1.0693,1
370
+-0.058785,1.09472,1
371
+-0.148826,0.421336,1
372
+-0.173225,1.63989,1
373
+-0.16585,0.23755,1
374
+-0.0670777,0.739349,1
375
+0.0624433,0.790256,1
376
+-0.0622073,0.134981,1
377
+-0.139193,1.42813,1
378
+0.071182,1.57077,1
379
+-0.0764813,0.442831,1
380
+-0.0252632,0.590601,1
381
+-0.412715,1.34366,1
382
+-0.0189936,0.571445,1
383
+-0.0241188,0.391592,1
384
+-0.433175,1.65326,1
385
+0.16014,0.847518,1
386
+0.026278,0.812382,1
387
+-0.424726,1.6355,1
388
+-0.0500786,0.864937,1
389
+-0.0389626,1.46401,1
390
+-0.208568,1.30763,1
391
+-0.150434,0.639779,1
392
+-0.174114,0.481157,1
393
+-0.383223,1.17413,1
394
+-0.107578,0.41501,1
395
+-0.243899,0.670048,1
396
+-0.145815,1.71466,1
397
+-0.101783,0.239203,1
398
+-0.220943,0.695022,1
399
+-0.170138,0.246895,1
400
+-0.118207,1.67269,1
401
+-0.512245,1.24415,1
402
+-0.0677561,0.814863,1
403
+-0.147974,1.02197,1
404
+0.26028,1.44005,1
405
+-0.0921231,1.71351,1
406
+-0.0297554,1.09905,1
407
+-0.0308808,0.522974,1
408
+-0.267703,1.09899,1
409
+-0.142375,1.60357,1
410
+-0.235689,1.44652,1
411
+0.0903991,1.49328,1
412
+-0.224848,1.30853,1
413
+-0.197188,0.801384,1
414
+0.257356,0.606282,1
415
+0.275021,0.524446,1
416
+0.182085,0.65414,1
417
+0.110281,1.5844,1
418
+-0.0247007,1.83618,1
419
+0.255876,1.25756,1
420
+-0.208223,1.57764,1
421
+-0.143025,1.02093,1
422
+-0.0305741,0.165036,1
423
+-0.095719,0.993328,1
424
+-0.0445955,1.34423,1
425
+0.0321718,0.875593,1
426
+-0.104128,0.715103,1
427
+0.177718,1.44592,1
428
+0.0805679,1.41248,1
429
+0.0301072,0.329267,1
430
+-0.460335,0.83775,1
431
+-0.354584,0.955651,1
432
+0.0609385,1.53064,1
433
+-0.265349,1.07061,1
434
+-0.179555,0.380315,1
435
+0.0348655,0.248394,1
436
+0.341081,0.959372,1
437
+0.205305,1.40579,1
438
+0.283352,0.575172,1
439
+-0.121572,0.407148,1
440
+0.0153434,1.18639,1
441
+0.000351283,0.559597,1
442
+-0.162438,1.65112,1
443
+-0.165396,0.91366,1
444
+-0.0049594,0.386976,1
445
+0.0789397,0.957299,1
446
+-0.14054,0.978749,1
447
+0.276164,0.606887,1
448
+-0.133047,0.70386,1
449
+-0.0189297,0.590956,1
450
+-0.129559,0.916275,1
451
+-0.119935,1.05546,1
452
+-0.0315159,0.892854,1
453
+-0.255484,0.332388,1
454
+-0.0216753,0.912596,1
455
+-0.150311,1.1778,1
456
+-0.0326333,0.473968,1
457
+-0.137459,1.0146,1
458
+-0.13162,1.08456,1
459
+-0.125477,1.42501,1
460
+-0.128437,1.46515,1
461
+-0.0502145,0.528265,1
462
+-0.237008,0.617917,1
463
+0.0435761,1.37169,1
464
+0.120427,0.26561,1
465
+-0.2166,0.921127,1
466
+-0.351496,0.936248,1
467
+0.0188642,1.59617,1
468
+-0.0348755,1.43833,1
469
+0.0813845,0.889078,1
470
+0.104457,1.22989,1
471
+-0.100942,1.58996,1
472
+-0.356178,0.94761,1
473
+0.128263,0.425169,1
474
+-0.055709,1.41575,1
475
+-0.30003,0.928726,1
476
+-0.158442,0.960447,1
477
+-0.0253205,0.380094,1
478
+0.0096237,0.914341,1
479
+-0.101562,0.692279,1
480
+-0.278423,0.531773,1
481
+-0.157747,1.26965,1
482
+-0.401362,1.24346,1
483
+0.104566,1.32556,1
484
+-0.405869,1.32633,1
485
+-0.022569,1.11118,1
486
+-0.205173,0.371824,1
487
+-0.193316,1.85371,1
488
+-0.331151,1.74258,1
489
+0.254298,1.22356,1
490
+-0.0730526,1.173,1
491
+-0.10987,1.45879,1
492
+-0.242254,1.30347,1
493
+-0.402079,1.60137,1
494
+-0.272936,1.11467,1
495
+-0.451805,1.07022,1
496
+-0.0282765,0.440982,1
497
+-0.274462,0.731676,1
498
+-0.19953,1.87935,1
499
+-0.252471,0.72655,1
500
+-0.217698,0.340898,1
501
+-0.0865716,1.00433,1
502
+0.20557,0.825704,1
503
+-0.112931,0.82479,1
504
+-0.326491,1.42021,1
505
+-0.513197,1.08592,1
506
+-0.0469209,1.1431,1
507
+0.0130794,1.83835,1
508
+-0.110435,1.29065,1
509
+0.0542224,0.877905,1
510
+-0.00768476,1.56088,1
511
+-0.033461,0.685315,1
512
+-0.0962732,1.0685,1
513
+-0.0646786,1.21456,1
514
+-0.0255293,0.28262,1
515
+-0.137159,0.666667,1
516
+-0.129757,0.990801,1
517
+-0.40374,0.638969,1
518
+-0.107398,1.04017,1
519
+-0.169413,0.959483,1
520
+-0.226235,1.60479,1
521
+0.0472491,1.25695,1
522
+0.164889,1.58827,1
523
+-0.412457,0.72989,1
524
+-0.198961,1.73059,1
525
+0.00918464,0.656006,1
526
+0.204469,0.672732,1
527
+-0.1307,0.634943,1
528
+-0.429805,0.809201,1
529
+-0.132356,1.57377,1
530
+-0.171511,1.13626,1
531
+0.152904,0.384054,1
532
+0.138244,0.524834,1
533
+0.126434,1.23811,1
534
+-0.338709,1.58566,1
535
+0.154001,0.829024,1
536
+-0.102258,1.24178,1
537
+-0.188332,1.43998,1
538
+-0.491601,0.970934,1
539
+0.0268555,0.438899,1
540
+-0.111568,1.49721,1
541
+-0.274154,0.334417,1
542
+-0.192578,1.77894,1
543
+-0.177818,1.26228,1
544
+0.0392896,0.502275,1
545
+-0.254498,1.26541,1
546
+-0.120459,0.213602,1
547
+-0.329975,0.969496,1
548
+0.133041,1.38639,1
549
+0.0308463,0.674489,1
550
+-0.134873,0.365133,1
551
+-0.287833,1.5708,1
552
+0.110788,0.653265,1
553
+0.205297,0.916799,1
554
+-0.235038,0.736713,1
555
+-0.149685,1.65968,1
556
+-0.0227764,1.85023,1
557
+-0.301898,0.718752,1
558
+-0.0930542,0.804397,1
559
+-0.0979807,1.77507,1
560
+0.232383,1.02268,1
561
+-0.131119,0.838356,1
562
+-0.112713,1.31853,1
563
+-0.388593,1.67695,1
564
+-0.347113,1.36547,1
565
+-0.0384905,0.941842,1
566
+-0.207305,0.834538,1
567
+-0.161057,1.60938,1
568
+-0.0265702,0.307781,1
569
+-7.69908e-05,0.661771,1
570
+-0.108911,1.70594,1
571
+-0.386316,1.44223,1
572
+-0.0986082,1.0825,1
573
+0.0431659,1.01375,1
574
+-0.216798,1.44131,1
575
+0.171647,1.52091,1
576
+0.286649,1.12091,1
577
+-0.192133,1.76339,1
578
+-0.135096,1.04671,1
579
+-0.274375,1.65021,1
580
+-0.12755,1.46388,1
581
+-0.0921296,1.49382,1
582
+0.0601406,1.81602,1
583
+-0.170709,1.52594,1
584
+-0.16028,0.8511,1
585
+-0.0328736,1.14454,1
586
+-0.0588149,0.291776,1
587
+-0.158546,0.49083,1
588
+-0.0460976,0.330761,1
589
+-0.0531423,1.39238,1
590
+-0.154452,1.72369,1
591
+-0.166084,1.02985,1
592
+-0.421428,0.579461,1
593
+0.0412753,0.432033,1
594
+0.0221903,0.485386,1
595
+0.155432,0.747291,1
596
+-0.0587434,1.22234,1
597
+-0.0738172,0.378851,1
598
+-0.0371703,0.950456,1
599
+-0.0490195,1.39597,1
600
+-0.12317,1.39636,1
601
+0.00633874,0.423047,1
602
+-0.325464,0.681516,1
603
+-0.202499,1.53579,1
604
+-0.00779485,0.588762,1
605
+-0.388525,1.24764,1
606
+-0.132642,1.25701,1
607
+-0.129014,1.1228,1
608
+0.075355,0.909989,1
609
+0.178629,0.51595,1
610
+-0.132412,0.426226,1
611
+0.258078,0.521922,1
612
+0.25308,0.797868,1
613
+-0.219811,1.07268,1
614
+-0.384922,1.28018,1
615
+0.212602,0.928494,1
616
+-0.243259,1.39424,1
617
+-0.196894,0.71057,1
618
+-0.121628,1.55125,1
619
+-0.131207,1.0746,1
620
+-0.0216457,0.506637,1
621
+0.0387724,0.987798,1
622
+-0.206512,0.906122,1
623
+-0.123089,1.74026,1
624
+-0.229662,1.8208,1
625
+-0.084859,1.23386,1
626
+-0.107232,0.397119,1
627
+0.115084,1.45282,1
628
+-0.129653,1.87946,1
629
+-0.454149,0.819185,1
630
+-0.0932753,1.01313,1
631
+-0.227224,1.05592,1
632
+-0.0303096,1.06314,1
633
+0.219771,1.22894,1
634
+-0.223277,1.65001,1
635
+-0.396191,1.09531,1
636
+-0.120218,1.37829,1
637
+-0.299817,0.781953,1
638
+-0.0946573,0.441106,1
639
+0.202273,1.1789,1
640
+-0.107358,0.847944,1
641
+-0.211469,1.67231,1
642
+-0.261236,0.912121,1
643
+-0.138234,1.14271,1
644
+0.0246508,1.5624,1
645
+1.73693,0.827345,2
646
+1.20756,0.704951,2
647
+-0.0173803,0.0672351,2
648
+0.979202,0.359072,2
649
+1.05858,0.438427,2
650
+0.986176,0.168579,2
651
+0.69636,0.62103,2
652
+1.91036,0.807683,2
653
+0.266048,0.268015,2
654
+0.878199,0.236265,2
655
+1.17808,0.283359,2
656
+0.834534,0.323172,2
657
+0.426654,-0.116503,2
658
+0.54931,0.472711,2
659
+0.633475,-0.294034,2
660
+0.831563,0.295551,2
661
+0.210567,0.0695898,2
662
+0.329611,0.0948717,2
663
+0.344541,0.105343,2
664
+1.87576,0.386286,2
665
+1.98898,0.52847,2
666
+1.40808,0.180669,2
667
+0.19305,0.129644,2
668
+1.55141,1.18688,2
669
+1.2407,0.561161,2
670
+0.91038,0.345472,2
671
+1.46336,0.915821,2
672
+0.713901,0.594833,2
673
+1.16085,-0.070032,2
674
+0.732168,0.33188,2
675
+0.948281,0.759862,2
676
+0.390676,0.24225,2
677
+1.12415,0.417417,2
678
+0.804677,0.0562034,2
679
+1.57324,0.700699,2
680
+0.760675,0.142697,2
681
+1.59456,0.65093,2
682
+0.754131,0.310967,2
683
+0.50217,0.202826,2
684
+1.89566,1.16401,2
685
+0.435519,0.25877,2
686
+1.30547,0.742611,2
687
+0.54653,0.242725,2
688
+1.34592,1.11018,2
689
+0.990297,0.573907,2
690
+0.901193,0.320947,2
691
+1.00091,0.259203,2
692
+0.671103,0.271813,2
693
+0.366828,0.155423,2
694
+0.684603,0.059678,2
695
+1.8208,0.662337,2
696
+0.621279,0.0419218,2
697
+2.00066,0.736656,2
698
+1.30963,0.937974,2
699
+0.795597,0.31606,2
700
+1.84505,0.838497,2
701
+0.891438,0.354059,2
702
+1.11387,0.47446,2
703
+1.21366,0.0800738,2
704
+1.22037,0.517024,2
705
+1.9841,0.915468,2
706
+0.402925,-0.293767,2
707
+0.0638717,-0.0230903,2
708
+1.59694,0.764727,2
709
+1.39977,0.416414,2
710
+0.772883,0.394705,2
711
+0.484581,0.237697,2
712
+1.53113,0.765361,2
713
+1.64535,0.74833,2
714
+0.521866,-0.0496874,2
715
+1.72511,0.762195,2
716
+0.79312,0.511217,2
717
+0.394256,0.00208755,2
718
+1.77939,0.691058,2
719
+1.36717,0.681114,2
720
+1.60292,1.01019,2
721
+1.76378,0.291525,2
722
+0.534542,-0.221663,2
723
+1.30274,0.366262,2
724
+0.0160678,0.213499,2
725
+0.561435,-0.170464,2

+ 873
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/2d-4c-no4.arff View File

@@ -0,0 +1,873 @@
1
+% Data from J. Handl
2
+% http://personalpages.manchester.ac.uk/mbs/Julia.Handl/generators.html
3
+%
4
+@RELATION 2d-4c-no4
5
+
6
+@ATTRIBUTE a0 REAL
7
+@ATTRIBUTE a1 REAL
8
+@ATTRIBUTE class {0,1,2,3}
9
+
10
+@DATA
11
+8.04731,-4.88662,0
12
+11.2375,3.01746,0
13
+5.1105,0.269883,0
14
+6.34456,-3.71832,0
15
+9.09493,2.02836,0
16
+8.01686,-2.26484,0
17
+9.95815,6.67136,0
18
+10.073,-5.96494,0
19
+8.5259,-1.55089,0
20
+8.63238,-1.97034,0
21
+8.28997,0.706405,0
22
+7.90183,-0.888256,0
23
+7.32836,-0.803496,0
24
+9.67965,-0.771563,0
25
+8.79674,0.706112,0
26
+8.32337,4.08369,0
27
+9.81871,-0.849995,0
28
+8.43905,1.03966,0
29
+9.78637,0.184881,0
30
+7.64558,-4.89767,0
31
+8.22954,-2.59089,0
32
+8.80164,0.217603,0
33
+9.27446,-2.85584,0
34
+7.9565,-3.16253,0
35
+6.88808,1.16889,0
36
+10.5153,-0.505739,0
37
+9.5922,-2.58048,0
38
+9.73777,4.52998,0
39
+5.24049,1.31851,0
40
+6.41871,-0.0358384,0
41
+9.62282,1.48769,0
42
+7.20748,-3.67993,0
43
+9.69823,5.00318,0
44
+5.90921,-2.06383,0
45
+7.39026,1.22465,0
46
+7.80643,3.19455,0
47
+10.0482,0.524928,0
48
+6.54353,0.00109869,0
49
+8.50854,0.628461,0
50
+6.85735,0.0607903,0
51
+11.291,-1.66965,0
52
+6.44954,2.40385,0
53
+9.73731,-1.24028,0
54
+7.60214,-2.23978,0
55
+8.62179,-4.88772,0
56
+8.36149,-4.5666,0
57
+8.63232,0.0943378,0
58
+6.62618,-1.77265,0
59
+6.73818,-1.92942,0
60
+8.52811,4.67163,0
61
+7.58597,-2.13659,0
62
+9.29786,-2.65974,0
63
+8.65448,-0.523772,0
64
+8.07383,1.14914,0
65
+9.8528,1.39256,0
66
+5.85915,-2.42513,0
67
+8.84712,0.805192,0
68
+9.17578,-1.14853,0
69
+10.0153,4.45207,0
70
+8.31818,2.45892,0
71
+8.59704,-2.09505,0
72
+8.53503,-5.78822,0
73
+8.82572,4.51317,0
74
+8.31072,-4.95844,0
75
+8.18246,-0.25343,0
76
+9.65633,1.97728,0
77
+6.59622,1.5515,0
78
+8.55303,-4.08889,0
79
+11.4203,1.35158,0
80
+12.4761,-2.50378,0
81
+9.9861,-1.87648,0
82
+7.16331,1.61416,0
83
+9.41639,-0.680316,0
84
+10.9345,-2.79792,0
85
+7.41624,-1.52791,0
86
+11.309,-1.57946,0
87
+10.4984,-2.0423,0
88
+8.887,5.581,0
89
+9.25853,-7.16143,0
90
+7.64768,-1.50731,0
91
+7.73847,-4.43388,0
92
+7.92336,-6.30531,0
93
+8.55215,1.02912,0
94
+8.89508,-5.53115,0
95
+6.26833,-0.508081,0
96
+7.1283,-1.64686,0
97
+9.26061,-3.68983,0
98
+9.33413,-8.03635,0
99
+5.77097,4.97839,0
100
+11.2793,-1.18948,0
101
+7.91054,-1.08779,0
102
+8.72444,-0.488243,0
103
+8.7434,-1.68898,0
104
+10.6764,-3.88999,0
105
+11.2826,-3.23266,0
106
+6.76457,-0.640593,0
107
+6.80258,2.78013,0
108
+11.1112,0.323643,0
109
+7.19656,0.793745,0
110
+9.55187,-0.809177,0
111
+6.43023,-0.542349,0
112
+8.54799,3.08994,0
113
+9.49333,3.42415,0
114
+7.64632,0.452481,0
115
+9.21912,0.197608,0
116
+8.6011,-2.11131,0
117
+8.33068,2.61018,0
118
+8.6887,-2.72417,0
119
+8.9796,0.0784963,0
120
+6.83457,-3.28685,0
121
+9.81484,-2.21538,0
122
+5.66555,1.82633,0
123
+10.6438,-1.77971,0
124
+8.97819,-0.819641,0
125
+10.6987,-1.83115,0
126
+7.12177,-1.7971,0
127
+7.54859,-0.52922,0
128
+9.98119,-0.639174,0
129
+8.56338,-2.94232,0
130
+7.73968,-1.98427,0
131
+6.49574,3.20202,0
132
+6.99226,-0.262286,0
133
+10.3891,2.13512,0
134
+7.5888,0.596278,0
135
+9.7318,-1.58389,0
136
+5.1857,3.76842,0
137
+10.6456,-1.70854,0
138
+8.27424,0.421787,0
139
+9.26922,-2.5318,0
140
+12.4228,-1.64796,0
141
+7.23462,-0.771073,0
142
+8.82901,-2.98353,0
143
+7.79333,1.11653,0
144
+4.5274,-5.34881,0
145
+6.38176,1.54411,0
146
+7.55688,-0.228735,0
147
+10.0207,-3.94477,0
148
+9.33372,-4.59182,0
149
+9.88245,-4.36024,0
150
+6.87607,3.66085,0
151
+8.27782,1.04327,0
152
+11.5177,0.653945,0
153
+7.2691,7.82304,0
154
+8.17629,-0.00301371,0
155
+9.08218,4.29567,0
156
+7.568,-1.5908,0
157
+8.42283,1.14002,0
158
+5.03,-0.346601,0
159
+8.65172,-2.78889,0
160
+8.76908,-4.75674,0
161
+8.32882,0.215972,0
162
+6.929,-6.73162,0
163
+7.94977,-1.9159,0
164
+6.82108,0.631436,0
165
+6.97004,0.426509,0
166
+9.68758,2.02541,0
167
+8.92996,-4.7527,0
168
+8.75096,1.85807,0
169
+8.42768,1.13994,0
170
+10.6104,-1.65432,0
171
+7.8959,-4.43924,0
172
+8.10868,-0.261993,0
173
+9.52777,-1.32396,0
174
+7.6344,-1.01118,0
175
+6.2777,0.721938,0
176
+9.94383,-6.27115,0
177
+7.85773,-6.72987,0
178
+8.32597,0.399484,0
179
+8.83376,2.33812,0
180
+8.22174,-1.30255,0
181
+5.30873,-1.82709,0
182
+8.86261,-3.06555,0
183
+9.23656,-1.56509,0
184
+9.10141,-1.59429,0
185
+7.06025,-4.17356,0
186
+8.8326,2.07759,0
187
+9.35763,0.653313,0
188
+8.00377,-5.53162,0
189
+9.48813,-4.12359,0
190
+5.33993,-2.42673,0
191
+9.50472,-0.765174,0
192
+9.4976,0.152342,0
193
+9.54728,-2.98279,0
194
+10.0872,0.256121,0
195
+7.93712,-0.396255,0
196
+9.21533,-0.21478,0
197
+7.3464,-3.91658,0
198
+10.1684,-1.56355,0
199
+6.84861,3.28279,0
200
+8.08902,-2.21061,0
201
+8.07584,-3.88074,0
202
+8.675,-2.25913,0
203
+7.00021,-5.68293,0
204
+5.36902,2.33533,0
205
+8.3592,1.96,0
206
+5.93486,4.28185,0
207
+8.37233,-2.23977,0
208
+8.83886,-0.980635,0
209
+9.75976,2.39212,0
210
+8.2301,-6.47759,0
211
+9.57437,0.585527,0
212
+9.45646,-0.560136,0
213
+5.96911,2.77774,0
214
+7.28703,-1.55722,0
215
+9.95839,1.60826,0
216
+5.86939,-0.564397,0
217
+8.62758,-1.08039,0
218
+10.0574,-0.941047,0
219
+8.34141,0.98093,0
220
+11.0024,-3.24136,0
221
+6.11382,-2.79337,0
222
+9.21597,-0.847894,0
223
+10.0438,-3.6277,0
224
+8.48703,2.11388,0
225
+9.50888,-3.43224,0
226
+6.62106,-0.540453,0
227
+7.5937,-6.37405,0
228
+7.1264,-3.25949,0
229
+9.63069,-0.425673,0
230
+9.04671,0.508026,0
231
+5.89178,2.33332,0
232
+8.86143,-2.03025,0
233
+7.08893,0.163472,0
234
+4.38696,-2.79862,0
235
+8.01368,-1.47325,0
236
+9.38482,-2.41798,0
237
+10.6213,-3.13643,0
238
+7.018,-0.437251,0
239
+7.71886,1.02051,0
240
+8.19038,0.803325,0
241
+6.62438,-0.762556,0
242
+8.68288,-4.1316,0
243
+8.35329,-1.97612,0
244
+8.5802,1.87647,0
245
+10.9254,-2.34683,0
246
+6.46345,-2.17743,0
247
+8.43819,-7.39423,0
248
+9.76415,0.383676,0
249
+7.38617,-0.485803,0
250
+9.68972,-0.783077,0
251
+8.22527,0.905327,0
252
+7.60144,1.53806,0
253
+8.90097,-1.73917,0
254
+8.14169,-3.76076,0
255
+7.09209,-2.08074,0
256
+7.79254,-5.3341,0
257
+5.4391,-2.13607,0
258
+7.08447,4.3199,0
259
+7.23809,-0.338019,0
260
+8.49592,-2.45781,0
261
+4.73538,-2.35529,0
262
+9.19498,-4.00992,0
263
+7.30019,-7.69963,0
264
+9.19646,-4.07159,0
265
+7.59267,-1.98511,0
266
+6.74196,-2.45112,0
267
+8.15177,-0.971521,0
268
+5.72504,1.85313,0
269
+9.16314,-2.29781,0
270
+8.32031,0.290075,0
271
+7.15378,3.72572,0
272
+9.16722,-2.29979,0
273
+8.17944,-7.25172,0
274
+7.26099,-0.36384,0
275
+7.81919,1.35419,0
276
+9.15234,0.602795,0
277
+10.5076,3.06349,0
278
+5.83174,-0.573782,0
279
+9.11998,-4.71496,0
280
+5.04429,1.50786,0
281
+7.79176,1.31706,0
282
+6.04088,6.77184,0
283
+9.98612,-3.15906,0
284
+7.69285,-1.1418,0
285
+8.44339,-1.89379,0
286
+8.82283,-0.766134,0
287
+7.84654,-2.71238,0
288
+9.50196,-2.27604,0
289
+7.64406,0.777649,0
290
+7.95629,0.375423,0
291
+6.47467,-1.68923,0
292
+8.02071,-4.79464,0
293
+7.66022,-2.95654,0
294
+10.0189,1.31183,0
295
+6.31294,-0.531089,0
296
+9.70786,-6.13769,0
297
+6.83158,-7.06621,0
298
+8.73212,-4.86762,0
299
+7.59806,-4.35385,0
300
+6.24655,-3.95371,0
301
+6.99362,-5.32711,0
302
+7.87167,-1.91031,0
303
+8.73815,-1.81226,0
304
+7.55024,3.17582,0
305
+6.87458,-3.32461,0
306
+9.63101,0.19171,0
307
+9.81206,-2.26452,0
308
+7.84139,-1.76111,0
309
+8.41698,0.0161595,0
310
+8.89775,-1.9771,0
311
+8.30446,-0.265564,0
312
+7.17401,-3.74304,0
313
+8.4733,-2.40133,0
314
+9.56531,0.191191,0
315
+9.04471,-1.65745,0
316
+9.6138,-0.536364,0
317
+10.6863,3.14595,0
318
+10.164,1.04735,0
319
+6.90653,1.61641,0
320
+8.19611,-3.32524,0
321
+7.48788,-0.89366,0
322
+7.30072,-0.644077,0
323
+8.99308,-2.50514,0
324
+5.51393,-2.99441,0
325
+8.85644,-1.74633,0
326
+7.82819,2.47594,0
327
+9.99096,-1.41874,0
328
+8.52541,-0.284341,0
329
+7.464,-6.67881,0
330
+10.8446,-2.63375,0
331
+8.30825,2.60605,0
332
+8.34668,2.8482,0
333
+8.45801,-2.23475,0
334
+8.46299,3.25267,0
335
+9.37767,-3.18307,0
336
+10.9147,4.31753,0
337
+9.03829,-4.05622,0
338
+7.55933,0.598107,0
339
+7.6429,-1.5797,0
340
+8.57786,2.16751,0
341
+8.68834,-0.137646,0
342
+9.21669,-1.65753,0
343
+9.18142,-6.48471,0
344
+10.7658,-3.27219,0
345
+9.33799,-3.68041,0
346
+9.25388,-0.598261,0
347
+10.9614,-1.19213,0
348
+8.55505,4.4396,0
349
+6.88499,-0.0731292,0
350
+8.69296,-2.86581,0
351
+9.13622,-4.59154,0
352
+11.6736,1.20853,0
353
+7.16634,-4.19144,0
354
+9.59252,-3.70169,0
355
+5.42594,-1.1426,0
356
+8.74912,-0.407762,0
357
+9.77424,-3.04437,0
358
+9.51543,-3.59,0
359
+9.84494,-4.43637,0
360
+7.21211,-0.498822,0
361
+6.18591,-3.94526,0
362
+10.6627,1.94719,0
363
+8.87869,-2.69685,0
364
+7.64167,0.334297,0
365
+7.32963,-0.126335,0
366
+4.36163,-3.83679,0
367
+9.01732,-2.74259,0
368
+8.10476,-1.83541,0
369
+7.81457,2.4583,0
370
+7.00268,-1.89191,0
371
+6.35606,-4.79694,0
372
+6.09985,-4.65878,0
373
+6.19382,-3.18984,0
374
+9.50666,0.266067,0
375
+7.06266,-4.01176,0
376
+7.91153,-2.09279,0
377
+7.88209,-1.68225,0
378
+10.0354,-2.78633,0
379
+6.47432,2.37067,0
380
+6.83782,0.686121,0
381
+8.78565,-5.70677,0
382
+8.2868,2.69691,0
383
+8.18207,0.597941,0
384
+9.75035,0.392918,0
385
+7.58082,-2.22948,0
386
+7.31354,-1.04289,0
387
+9.67637,-2.0346,0
388
+9.46568,-5.33724,0
389
+9.01841,0.392305,0
390
+8.61147,3.37797,0
391
+8.23015,0.115791,0
392
+7.74754,-0.337909,0
393
+7.01534,-1.02877,0
394
+9.54941,-2.42887,0
395
+9.00715,-3.63927,0
396
+6.87766,3.37136,0
397
+8.61913,-0.32587,0
398
+11.2261,-0.520332,0
399
+7.72884,-0.54485,0
400
+6.09117,-0.206448,0
401
+6.52246,-1.8472,0
402
+9.05975,-1.5838,0
403
+9.98662,-5.15523,0
404
+10.0768,-1.21734,0
405
+7.71674,3.79709,0
406
+8.25726,-1.31653,0
407
+7.96101,-1.90801,0
408
+8.43385,1.97165,0
409
+8.26775,-6.29172,0
410
+8.60059,-4.75267,0
411
+8.31568,-2.18958,0
412
+8.53476,2.97269,0
413
+5.48486,0.543627,0
414
+7.85579,-2.62985,0
415
+10.7567,-1.65997,0
416
+7.30844,1.71591,0
417
+10.2807,3.34111,0
418
+6.00952,0.779082,0
419
+7.32343,-1.72677,0
420
+8.1349,-1.14398,0
421
+9.61597,-6.38591,0
422
+7.56849,-0.736458,0
423
+10.7547,-6.38763,0
424
+7.64653,0.987365,0
425
+8.19976,0.834494,0
426
+8.8348,5.12859,0
427
+7.74409,1.60212,0
428
+6.83198,-1.2761,0
429
+5.56684,-4.95138,0
430
+7.34476,-0.590774,0
431
+6.44313,2.382,0
432
+-1.6279,-9.4991,1
433
+-3.33126,-9.32081,1
434
+0.715481,-7.29466,1
435
+-1.52932,-9.23123,1
436
+-2.33708,-10.2321,1
437
+-1.95991,-9.15309,1
438
+-0.717807,-8.75016,1
439
+0.0535042,-8.29094,1
440
+-4.17171,-7.38458,1
441
+-1.22018,-8.12729,1
442
+2.2498,-8.82532,1
443
+-1.08581,-8.74108,1
444
+-7.15286,-8.12764,1
445
+-5.40413,-6.81369,1
446
+-1.54573,-9.26024,1
447
+-2.53255,-9.0516,1
448
+-4.33958,-9.07219,1
449
+-1.06225,-8.33049,1
450
+-1.41021,-10.3718,1
451
+2.02119,-7.09042,1
452
+-3.06599,-8.75796,1
453
+2.16948,-9.63352,1
454
+-2.78689,-7.78198,1
455
+-0.460238,-9.35851,1
456
+-3.30938,-8.18816,1
457
+1.42395,-6.74666,1
458
+-0.0315366,-8.21888,1
459
+-0.8711,-8.42486,1
460
+-3.34839,-8.13635,1
461
+-1.72208,-8.84514,1
462
+-0.565311,-8.16864,1
463
+-2.75921,-9.16343,1
464
+-2.39855,-8.27083,1
465
+-3.77416,-8.37832,1
466
+-0.870924,-8.25419,1
467
+-2.20609,-7.95979,1
468
+-0.861207,-8.75969,1
469
+-3.19526,-8.0676,1
470
+-4.72903,-8.47944,1
471
+-2.50142,-9.61158,1
472
+-1.57871,-8.61384,1
473
+-2.08196,-7.87936,1
474
+-3.615,-9.04501,1
475
+-5.41151,-8.20875,1
476
+-1.31736,-7.99808,1
477
+-4.21253,-6.99418,1
478
+-4.55837,-8.26833,1
479
+-2.71104,-8.14551,1
480
+-7.38306,-8.90546,1
481
+-1.31014,-8.52979,1
482
+-2.22954,-8.38231,1
483
+-2.09866,-7.94323,1
484
+-2.46106,-8.14433,1
485
+-0.622194,-8.11598,1
486
+-2.7779,-7.91361,1
487
+-2.61896,-7.63429,1
488
+-2.9234,-8.38367,1
489
+-1.97118,-10.3381,1
490
+-4.16437,-6.14999,1
491
+-3.29051,-6.59251,1
492
+-6.28716,-9.40896,1
493
+-0.261822,-9.1724,1
494
+0.0136452,-9.7662,1
495
+1.39803,-7.69522,1
496
+-4.31074,-7.883,1
497
+0.205044,-9.05698,1
498
+0.973766,-9.34011,1
499
+-4.8673,-8.44841,1
500
+-1.6058,-8.21875,1
501
+-1.17164,-8.478,1
502
+-4.86123,-8.91695,1
503
+-0.324991,-9.10579,1
504
+-0.933404,-8.76774,1
505
+-1.17335,-7.12968,1
506
+0.0524916,-8.31587,1
507
+2.21089,-7.70329,1
508
+-1.74665,-8.12746,1
509
+-1.88384,-7.98511,1
510
+-2.24171,-8.63253,1
511
+-7.35457,-8.31818,1
512
+-2.36389,-9.16131,1
513
+-1.93266,-8.63241,1
514
+2.78244,-8.36253,1
515
+-1.40433,-9.29051,1
516
+-2.06188,-9.29259,1
517
+0.133719,-9.20182,1
518
+1.77264,-2.43166,2
519
+1.14174,-2.73004,2
520
+1.62984,-3.10915,2
521
+3.03349,-2.45485,2
522
+0.376811,-2.2383,2
523
+1.43279,-2.62375,2
524
+1.31763,-2.89269,2
525
+0.751903,-1.5617,2
526
+0.172882,-2.62339,2
527
+1.34245,-2.85417,2
528
+1.6475,-2.26437,2
529
+0.658072,-2.21627,2
530
+0.990025,-2.55084,2
531
+-0.583317,-2.45816,2
532
+1.02492,-2.09661,2
533
+1.3958,-2.07887,2
534
+1.6066,-2.18164,2
535
+1.45784,-2.41959,2
536
+1.73225,-2.07237,2
537
+1.88908,-2.54786,2
538
+1.96802,-1.44093,2
539
+1.26783,-3.13925,2
540
+2.419,-3.07209,2
541
+1.9146,-1.44326,2
542
+2.31122,-2.47512,2
543
+0.791975,-2.55004,2
544
+1.10852,-1.88345,2
545
+1.5508,-3.04421,2
546
+1.12775,-1.52368,2
547
+1.10128,-2.73158,2
548
+1.6459,-2.76982,2
549
+1.5589,-2.44784,2
550
+0.431647,-1.78456,2
551
+2.38091,-2.19976,2
552
+0.847288,-2.60519,2
553
+2.19088,-2.16581,2
554
+2.77191,-2.29934,2
555
+1.48314,-2.33727,2
556
+1.80547,-2.11578,2
557
+1.19822,-2.35286,2
558
+2.52556,-2.28012,2
559
+0.741921,-2.75752,2
560
+1.56112,-2.02887,2
561
+1.6754,-2.11631,2
562
+1.02447,-1.8809,2
563
+1.50836,-2.61995,2
564
+2.07909,-2.66326,2
565
+0.00639228,-1.33905,2
566
+0.600632,-1.59828,2
567
+1.50335,-1.72655,2
568
+3.51521,-3.46384,2
569
+1.66166,-2.86533,2
570
+1.59568,-2.55093,2
571
+1.27717,-2.18205,2
572
+3.14,-2.52073,2
573
+2.25503,-3.48048,2
574
+2.39737,-2.20416,2
575
+2.35404,-2.71742,2
576
+1.20689,-1.91511,2
577
+1.85674,-2.5235,2
578
+1.5902,-2.70698,2
579
+1.37985,-2.51581,2
580
+0.873527,-2.16457,2
581
+0.423637,-2.60428,2
582
+1.15121,-2.13678,2
583
+-0.0263133,-1.64728,2
584
+2.07477,-2.54141,2
585
+1.52427,-1.00068,2
586
+1.52041,-1.9814,2
587
+1.80394,-2.77412,2
588
+1.27651,-2.3812,2
589
+1.17206,-2.15489,2
590
+1.35454,-2.39341,2
591
+0.88811,-1.4092,2
592
+1.90923,-2.17058,2
593
+1.66456,-2.38687,2
594
+1.61761,-3.28098,2
595
+2.02548,-2.30059,2
596
+1.18783,-2.22015,2
597
+1.9486,-2.40468,2
598
+2.28602,-2.70676,2
599
+1.09998,-2.50505,2
600
+1.95181,-2.27215,2
601
+1.62844,-2.15823,2
602
+1.14377,-2.34806,2
603
+1.31513,-2.14932,2
604
+1.51103,-2.66659,2
605
+0.726808,-0.909845,2
606
+-0.0335039,-2.57627,2
607
+0.709055,-2.13779,2
608
+1.72074,-2.93715,2
609
+2.24538,-3.18483,2
610
+1.88024,-2.30936,2
611
+1.29101,-2.18828,2
612
+0.531613,-2.72059,2
613
+2.04166,-2.33899,2
614
+2.64402,-1.86937,2
615
+0.845183,-2.66246,2
616
+1.39199,-2.28406,2
617
+2.16076,-2.50378,2
618
+1.6234,-1.60517,2
619
+1.57567,-1.49981,2
620
+2.68989,-3.34822,2
621
+1.26946,-2.5985,2
622
+2.94419,-2.90487,2
623
+0.440756,-1.4883,2
624
+2.46528,-2.36811,2
625
+0.815188,-2.18725,2
626
+0.538328,-1.35979,2
627
+0.830873,-2.49938,2
628
+1.48857,-3.48823,2
629
+2.33224,-3.41238,2
630
+2.01267,-1.65501,2
631
+1.5144,-2.28044,2
632
+2.59508,-3.09142,2
633
+1.74415,-2.1686,2
634
+2.31661,-3.13133,2
635
+2.54843,-2.87346,2
636
+1.25785,-2.52493,2
637
+1.11842,-2.31686,2
638
+2.21074,-2.97166,2
639
+0.895779,-1.87751,2
640
+-0.205114,-1.73946,2
641
+1.33101,-1.69371,2
642
+1.60985,-1.23124,2
643
+0.280279,-1.12915,2
644
+1.16215,-2.66692,2
645
+0.24978,-3.11356,2
646
+1.19987,-1.87688,2
647
+1.43501,-2.48814,2
648
+1.77972,-2.01847,2
649
+1.31719,-1.82112,2
650
+2.11706,-2.96156,2
651
+1.47552,-2.7726,2
652
+0.466438,-2.61476,2
653
+2.5983,-3.82074,2
654
+0.933906,-3.12513,2
655
+0.727176,-2.93276,2
656
+1.42528,-2.59484,2
657
+1.60487,-3.07982,2
658
+1.27485,-2.75665,2
659
+0.337178,-2.61126,2
660
+1.94115,-1.47083,2
661
+1.48793,-2.34887,2
662
+1.15665,-2.66125,2
663
+2.14709,-3.35173,2
664
+1.8636,-2.36192,2
665
+3.62757,-3.54535,2
666
+1.14634,-0.424824,2
667
+2.45832,-2.5895,2
668
+2.6771,-2.07815,2
669
+0.144233,-2.28034,2
670
+0.929646,-2.09227,2
671
+1.09193,-1.52152,2
672
+1.82299,-2.5663,2
673
+1.69006,-2.95851,2
674
+1.62861,-2.28855,2
675
+0.351972,-1.49218,2
676
+1.36684,-2.97112,2
677
+0.404989,-2.40649,2
678
+0.81325,-2.05822,2
679
+0.820983,-0.981,2
680
+1.9589,-2.99807,2
681
+0.808834,-2.72075,2
682
+2.00509,-2.00591,2
683
+1.55037,-2.64698,2
684
+0.90716,-2.93327,2
685
+2.84829,-3.0429,2
686
+1.10531,-2.2377,2
687
+0.583768,-2.54882,2
688
+2.28277,-2.63493,2
689
+0.543902,-2.95128,2
690
+1.16686,-2.20022,2
691
+2.28279,-2.28884,2
692
+1.75914,-2.91974,2
693
+1.59862,-3.00399,2
694
+1.23565,-1.39842,2
695
+1.45357,-2.46902,2
696
+2.87545,-1.94594,2
697
+1.15114,-2.96199,2
698
+0.996598,-2.19166,2
699
+1.61604,-2.30327,2
700
+2.21115,-3.47823,2
701
+2.17622,-1.82413,2
702
+0.570539,-1.85207,2
703
+1.0945,-3.2651,2
704
+0.80573,-2.15456,2
705
+1.88228,-2.82705,2
706
+1.41943,-2.40955,2
707
+1.49516,-2.85465,2
708
+1.61187,-2.90282,2
709
+1.60778,-2.6314,2
710
+2.95167,-2.90287,2
711
+1.51229,-2.10956,2
712
+1.20458,-2.56669,2
713
+1.18415,-2.4009,2
714
+2.44473,-2.9036,2
715
+2.21016,-2.37535,2
716
+0.831735,-2.65024,2
717
+1.78827,-2.06755,2
718
+2.19964,-2.16993,2
719
+1.30159,-1.2803,2
720
+1.37002,-2.51256,2
721
+2.71801,-2.91054,2
722
+1.45744,-1.94154,2
723
+0.539481,-2.35744,2
724
+0.956062,-1.98366,2
725
+2.1147,-1.88288,2
726
+2.25356,-2.00256,2
727
+0.512671,-1.45896,2
728
+2.21547,-3.08722,2
729
+1.77215,-2.10539,2
730
+1.35483,-2.57757,2
731
+2.28644,-2.66541,2
732
+0.983868,-2.47487,2
733
+0.616498,-2.28118,2
734
+2.6982,-3.02867,2
735
+0.727801,-3.01337,2
736
+2.17294,-3.31027,2
737
+0.428432,-3.03518,2
738
+1.09284,-3.12663,2
739
+1.06296,-3.12271,2
740
+1.21159,-2.2892,2
741
+1.44387,-2.78391,2
742
+1.46517,-3.28624,2
743
+1.65428,-3.67964,2
744
+0.763122,-2.79978,2
745
+1.2398,-1.69461,2
746
+2.76682,-3.42348,2
747
+1.08123,-3.19957,2
748
+1.52963,-2.09815,2
749
+0.917748,-2.21518,2
750
+1.4115,-2.8784,2
751
+1.64696,-1.83646,2
752
+1.10266,-2.68404,2
753
+2.1362,-3.1414,2
754
+1.76364,-2.59135,2
755
+0.665054,-2.3584,2
756
+2.00797,-1.62803,2
757
+2.38289,-3.07396,2
758
+1.68777,-3.09065,2
759
+0.466602,-2.24265,2
760
+0.685053,-2.77839,2
761
+2.19481,-3.8054,2
762
+2.13859,-1.78115,2
763
+0.612476,-3.05779,2
764
+1.26714,-3.31575,2
765
+1.09859,-1.5926,2
766
+1.61973,-2.5731,2
767
+0.598886,-2.46325,2
768
+0.721932,-2.6978,2
769
+1.3847,-1.77017,2
770
+0.733697,-1.96656,2
771
+1.03743,-1.57515,2
772
+1.76787,-2.13999,2
773
+0.533205,-2.04337,2
774
+1.27891,-2.82007,2
775
+1.07812,-2.03144,2
776
+1.7886,-3.74324,2
777
+0.241627,-2.72437,2
778
+0.730911,-2.82618,2
779
+0.0182375,-2.29248,2
780
+1.88524,-2.98892,2
781
+2.60746,-2.52804,2
782
+1.86796,-2.96447,2
783
+1.44833,-3.30456,2
784
+1.91393,-2.13566,2
785
+1.18522,-2.59158,2
786
+2.03699,-2.51207,2
787
+1.45083,-2.00239,2
788
+0.842853,-1.04275,2
789
+1.88153,-3.17107,2
790
+1.97001,-3.33694,2
791
+2.55593,-2.85753,2
792
+1.11262,-2.20715,2
793
+2.91257,-1.51578,2
794
+1.45434,-3.27428,2
795
+2.67445,-2.66624,2
796
+1.67476,-2.0121,2
797
+0.724803,-2.13416,2
798
+2.03252,-3.34354,2
799
+0.666637,-3.04293,2
800
+0.89545,-2.06445,2
801
+0.939947,-2.54951,2
802
+0.935234,-2.23741,2
803
+1.52411,-1.90487,2
804
+1.53353,-2.42473,2
805
+0.12822,-2.6234,2
806
+1.77389,-2.46838,2
807
+0.826088,-2.03768,2
808
+1.47658,-2.47384,2
809
+3.06613,-3.40332,2
810
+0.971365,-2.08513,2
811
+2.21713,-1.8549,2
812
+-13.5318,6.37833,3
813
+-11.0555,2.90378,3
814
+-3.80796,3.72751,3
815
+-6.23629,5.29508,3
816
+-15.084,5.19574,3
817
+-4.51065,3.82566,3
818
+-19.9513,4.06984,3
819
+-2.8044,2.8761,3
820
+-13.2589,4.40509,3
821
+-11.5181,4.36585,3
822
+-9.85899,5.56925,3
823
+-10.7958,3.05957,3
824
+-19.5579,3.83885,3
825
+-11.1509,4.25806,3
826
+-5.98952,3.23207,3
827
+-14.2163,3.83789,3
828
+-6.49925,3.39987,3
829
+-0.75881,5.27367,3
830
+-11.4548,4.64217,3
831
+-9.23026,5.88801,3
832
+-15.1824,3.39505,3
833
+-10.235,4.29091,3
834
+-4.25222,3.5346,3
835
+-3.45078,4.53012,3
836
+-9.57437,5.77969,3
837
+-5.9636,3.67115,3
838
+-3.64773,6.2509,3
839
+0.185271,4.40726,3
840
+-13.8611,4.74968,3
841
+-9.66087,4.20187,3
842
+-18.8363,5.43552,3
843
+-10.6961,2.25277,3
844
+-13.8096,2.47418,3
845
+-15.2687,4.30488,3
846
+-9.63216,3.40978,3
847
+-6.3834,5.82125,3
848
+-4.56679,6.71054,3
849
+-8.11955,4.99155,3
850
+-10.4292,5.51328,3
851
+-3.60597,4.22049,3
852
+-8.11853,4.52904,3
853
+-2.20229,4.12223,3
854
+-8.30549,5.06214,3
855
+-11.2718,3.87489,3
856
+-0.419459,3.1626,3
857
+-7.32285,5.21627,3
858
+-12.2149,6.14093,3
859
+-12.5029,4.26209,3
860
+-3.74018,4.89175,3
861
+-3.0901,3.64022,3
862
+-9.50254,4.0705,3
863
+-4.65152,5.39878,3
864
+-11.8923,7.05415,3
865
+-11.8033,6.37915,3
866
+-8.57279,4.80497,3
867
+-15.7176,4.1029,3
868
+-2.44809,2.90384,3
869
+-10.7203,4.62694,3
870
+-1.23786,6.78956,3
871
+-7.3279,4.97756,3
872
+-1.96973,4.60647,3
873
+-7.83976,4.00496,3

+ 886
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/2d-4c-no9.arff View File

@@ -0,0 +1,886 @@
1
+% Data from J. Handl
2
+% http://personalpages.manchester.ac.uk/mbs/Julia.Handl/generators.html
3
+%
4
+@RELATION 2d-4c-no9
5
+
6
+@ATTRIBUTE a0 REAL
7
+@ATTRIBUTE a1 REAL
8
+@ATTRIBUTE class {0,1,2,3}
9
+
10
+@DATA
11
+-9.33717,-1.47976,0
12
+-4.46281,-0.157614,0
13
+-5.48281,-1.33823,0
14
+-9.82805,-0.335942,0
15
+-3.98464,0.756735,0
16
+-9.99783,0.806095,0
17
+-10.3309,0.528824,0
18
+-5.58873,-0.579749,0
19
+-11.6338,-1.23736,0
20
+-5.15034,0.691411,0
21
+-5.96595,0.74648,0
22
+-6.99879,0.674803,0
23
+-12.0809,-0.192616,0
24
+-3.70154,0.829949,0
25
+-8.39983,0.460985,0
26
+-8.0397,1.11431,0
27
+-2.27442,0.747368,0
28
+-11.4743,-1.34989,0
29
+-11.8902,-1.25718,0
30
+-3.72325,-1.56156,0
31
+-10.1756,1.57619,0
32
+-6.03203,-0.11842,0
33
+-2.85019,-1.3911,0
34
+-0.55693,-0.769474,0
35
+-7.85374,-0.677771,0
36
+-7.56068,-1.01453,0
37
+-8.02701,-2.72431,0
38
+-4.95269,-0.905943,0
39
+-15.5304,-0.892675,0
40
+-4.09205,-0.967917,0
41
+-5.17113,0.326012,0
42
+-9.62024,0.0751524,0
43
+-0.740419,-1.86362,0
44
+-8.47926,-2.21862,0
45
+-6.37991,-1.04761,0
46
+-12.7962,-1.01293,0
47
+-7.48629,-0.167766,0
48
+-5.5817,-0.488916,0
49
+-8.32077,-0.19477,0
50
+-3.66454,-1.61521,0
51
+-10.8874,0.64967,0
52
+-5.27185,-2.31187,0
53
+-7.21248,-0.732954,0
54
+-5.13236,-0.785634,0
55
+-6.18507,-0.627664,0
56
+-7.75874,0.241957,0
57
+-4.68545,0.629869,0
58
+-10.3527,-2.11139,0
59
+-4.56472,-1.07274,0
60
+-8.50942,1.89247,0
61
+-6.79158,-0.160768,0
62
+-7.22832,-0.0721055,0
63
+-6.15083,-1.18643,0
64
+-8.01747,-0.977148,0
65
+-3.98416,-1.05669,0
66
+-8.56995,-0.189708,0
67
+-9.02198,0.413663,0
68
+-5.44746,-1.47304,0
69
+-5.03913,-0.652624,0
70
+-0.855371,-0.976072,0
71
+-5.75298,-0.92226,0
72
+-7.13383,0.121307,0
73
+-6.72824,-0.628739,0
74
+-6.5731,-0.967647,0
75
+-6.40253,0.579542,0
76
+-8.77727,-0.198901,0
77
+-7.82766,-0.0531264,0
78
+-5.57511,-1.27065,0
79
+-10.5915,0.531997,0
80
+-7.53421,1.46597,0
81
+-7.57788,-0.350398,0
82
+-3.64498,-1.01936,0
83
+-6.14316,-1.22087,0
84
+-7.138,0.3194,0
85
+-9.07948,-0.526767,0
86
+-6.245,0.799464,0
87
+-9.94396,-0.305495,0
88
+-8.82942,-0.139461,0
89
+-6.99826,-2.31374,0
90
+-5.156,-0.759205,0
91
+-9.34279,-0.904955,0
92
+-4.94873,-0.812488,0
93
+-4.8891,-1.13065,0
94
+-6.71343,0.377816,0
95
+-5.37275,-1.94023,0
96
+-7.88186,-0.163382,0
97
+-8.66656,-1.5997,0
98
+-4.79496,2.43697,0
99
+-9.76288,0.765247,0
100
+-1.27581,-1.19404,0
101
+-3.27608,-1.44866,0
102
+-8.04832,0.205099,0
103
+-6.92069,-0.187921,0
104
+-6.25098,-1.54952,0
105
+-8.36558,-0.221692,0
106
+-4.06616,-1.22581,0
107
+-6.74829,-0.775818,0
108
+-8.73146,0.467313,0
109
+-4.61027,-1.24291,0
110
+-6.69489,-1.1099,0
111
+-9.35526,0.772229,0
112
+-3.59904,-1.14501,0
113
+-2.87678,0.385213,0
114
+-7.32882,0.298173,0
115
+-7.87577,-0.832216,0
116
+-9.37201,-0.202127,0
117
+-9.50205,-1.86227,0
118
+-5.545,-0.263095,0
119
+-6.62747,-3.06944,0
120
+-7.36462,0.994425,0
121
+-2.12852,0.614636,0
122
+-5.79465,-1.89097,0
123
+-5.01737,-1.43128,0
124
+-4.75625,0.284002,0
125
+-3.8322,-1.17865,0
126
+-5.37572,-1.49445,0
127
+-4.71608,-0.894082,0
128
+-3.91446,-1.44999,0
129
+-9.92187,-1.73957,0
130
+-7.35964,-1.55933,0
131
+-6.56824,-2.00627,0
132
+-7.5387,-0.0170596,0
133
+-12.7005,-0.553422,0
134
+-8.35068,-0.528886,0
135
+-7.83994,-0.606749,0
136
+-10.9913,0.0069935,0
137
+-8.42365,-0.321621,0
138
+-9.13033,0.0981105,0
139
+-4.97765,0.161811,0
140
+-6.24468,-1.50784,0
141
+-7.62928,0.252056,0
142
+-4.53019,-0.585468,0
143
+-11.1806,-1.45925,0
144
+-11.2916,-0.492912,0
145
+-7.79634,-0.202119,0
146
+-7.70134,-0.368916,0
147
+-2.80184,-1.2621,0
148
+-5.92633,-0.0570896,0
149
+-8.3559,-1.45483,0
150
+-10.4069,-0.159376,0
151
+-7.87971,-2.26014,0
152
+-8.68993,-0.65486,0
153
+-5.30954,-0.40074,0
154
+-6.95742,-1.90389,0
155
+1.31721,-0.772748,0
156
+-10.08,-2.04761,0
157
+-8.08403,-0.00176168,0
158
+-9.88666,-1.18475,0
159
+-7.26025,-1.4597,0
160
+-3.15123,0.23275,0
161
+-5.9424,-0.234722,0
162
+-5.89099,-0.278193,0
163
+-5.22786,-0.0213228,0
164
+-0.53898,-0.197628,0
165
+-6.32044,0.527161,0
166
+-5.77579,0.359205,0
167
+-4.52189,-2.00773,0
168
+-2.29462,1.3101,0
169
+-5.22618,-1.22465,0
170
+-5.20318,-0.75817,0
171
+-5.33609,0.45696,0
172
+-4.80502,-0.788754,0
173
+-4.65703,-0.642784,0
174
+-7.6295,0.101546,0
175
+-6.65342,-1.08809,0
176
+-7.15335,1.86446,0
177
+-2.06327,-0.37365,0
178
+-9.88505,0.246238,0
179
+-2.77669,0.188702,0
180
+-6.59288,-0.706516,0
181
+-2.63656,-0.711943,0
182
+-6.1853,-1.64703,0
183
+-8.91405,-1.24578,0
184
+-6.88454,1.36884,0
185
+-10.0779,-0.271513,0
186
+-5.81706,-0.574461,0
187
+-9.89018,1.50763,0
188
+-8.33691,-0.885947,0
189
+-10.3924,0.639131,0
190
+-4.64088,-0.860427,0
191
+-6.16935,-0.871135,0
192
+-5.27672,0.428136,0
193
+-4.67914,-1.86106,0
194
+-11.4376,-3.04339,0
195
+-6.50204,2.08643,0
196
+-8.27498,-0.424813,0
197
+-4.34557,-1.31765,0
198
+-2.47717,-0.500809,0
199
+-5.79071,0.951154,0
200
+-12.712,-2.51333,0
201
+-8.91842,-0.724682,0
202
+-5.09298,-0.483387,0
203
+-4.89828,-2.30137,0
204
+-6.20128,0.874091,0
205
+-6.44767,-0.450508,0
206
+-6.3099,0.237781,0
207
+-6.26151,-1.13147,0
208
+-8.71041,3.03626,0
209
+-9.01355,-0.219712,0
210
+-5.27999,-1.25054,0
211
+-6.59618,1.51172,0
212
+-6.41124,-0.425715,0
213
+-4.92325,-1.85915,0
214
+-10.044,0.123632,0
215
+-7.12247,-0.524036,0
216
+-5.15138,-1.96514,0
217
+-8.86795,0.046858,0
218
+-4.51441,-0.325687,0
219
+-3.31721,-1.25753,0
220
+-5.3246,-0.209876,0
221
+-5.08976,-0.343611,0
222
+-4.43855,0.366771,0
223
+-9.60535,-1.18411,0
224
+-4.45582,-1.07639,0
225
+-5.82835,-1.60397,0
226
+-4.43479,-2.26439,0
227
+-4.91305,-1.11124,0
228
+-4.71471,0.811606,0
229
+-9.15338,-0.622933,0
230
+-1.43009,-9.48008,1
231
+-1.2964,-7.20614,1
232
+-5.80288,-8.80913,1
233
+-6.36001,-9.64601,1
234
+-5.46051,-9.07558,1
235
+-1.23373,-10.4391,1
236
+-2.43216,-8.65191,1
237
+-6.9931,-9.99273,1
238
+-0.0821389,-8.27876,1
239
+-3.56927,-9.31871,1
240
+-5.55564,-9.93159,1
241
+-2.79606,-8.92043,1
242
+-8.25071,-8.11974,1
243
+3.09415,-8.81443,1
244
+3.52526,-6.48025,1
245
+-8.73716,-11.9898,1
246
+-2.83544,-8.78389,1
247
+-3.24995,-8.51249,1
248
+-2.95532,-11.9145,1
249
+0.702899,-7.8333,1
250
+-6.16021,-8.34441,1
251
+-3.75241,-10.3751,1
252
+0.133879,-7.9177,1
253
+0.530108,-8.60073,1
254
+-6.24324,-7.05516,1
255
+-3.12203,-9.11001,1
256
+-3.79034,-9.11781,1
257
+-4.12002,-6.94987,1
258
+-1.87552,-8.46539,1
259
+-1.92157,-8.46282,1
260
+2.93894,-7.6899,1
261
+-1.12655,-8.49915,1
262
+5.55825,-6.70466,1
263
+-1.7273,-9.67314,1
264
+2.59037,-9.75204,1
265
+-4.40907,-9.87979,1
266
+4.63279,-8.83743,1
267
+-4.28959,-10.35,1
268
+1.07885,-7.45568,1
269
+3.39283,-9.37048,1
270
+-1.21922,-8.53451,1
271
+-5.24486,-9.41903,1
272
+1.78732,-7.54328,1
273
+-6.48521,-10.5128,1
274
+3.24485,-10.3318,1
275
+-0.595712,-7.70371,1
276
+-0.785867,-9.40918,1
277
+1.26806,-8.83971,1
278
+-9.60098,-8.26751,1
279
+-3.4287,-8.62987,1
280
+-8.14556,-8.01981,1
281
+-3.44776,-7.78609,1
282
+-2.55579,-5.74485,1
283
+-9.07183,-7.84294,1
284
+-0.146084,-7.50744,1
285
+-10.8543,-8.79076,1
286
+-0.755574,-6.74811,1
287
+0.590998,-10.2292,1
288
+5.84803,-8.00556,1
289
+-2.95516,-9.80153,1
290
+3.65937,-8.09823,1
291
+-3.1624,-8.3435,1
292
+-2.68161,-9.52782,1
293
+-3.74185,-7.64074,1
294
+-3.11418,-9.23263,1
295
+1.47432,-10.2202,1
296
+-0.0254725,-9.69347,1
297
+-1.66787,-8.54115,1
298
+-6.53394,-8.75372,1
299
+-7.70699,-8.77551,1
300
+-9.80754,-8.90722,1
301
+-3.55157,-8.21094,1
302
+2.60725,-8.14327,1
303
+-0.970059,-8.249,1
304
+1.58312,-7.8956,1
305
+-0.398496,-9.29579,1
306
+3.26584,-9.31113,1
307
+-4.13188,-8.48066,1
308
+-1.25431,-8.90976,1
309
+-3.91879,-10.2704,1
310
+1.14267,-8.2479,1
311
+-2.30966,-10.1162,1
312
+-1.9152,-6.75522,1
313
+-2.7643,-8.70338,1
314
+-2.43185,-9.64442,1
315
+-1.9191,-8.05635,1
316
+-1.30545,-7.93263,1
317
+-0.28951,-9.20133,1
318
+-1.29886,-8.94662,1
319
+-2.30022,-9.94236,1
320
+4.7411,-8.0649,1
321
+1.69316,-8.62909,1
322
+-6.00965,-9.19473,1
323
+-2.28302,-10.7343,1
324
+-0.137175,-7.45165,1
325
+-5.2547,-8.02938,1
326
+-8.91868,-8.27649,1
327
+3.67417,-7.63222,1
328
+-4.68827,-12.5131,1
329
+-1.30881,-9.27688,1
330
+-3.66066,-11.8836,1
331
+-3.55438,-8.92899,1
332
+2.50014,-9.42897,1
333
+-6.64993,-8.01807,1
334
+2.15122,-9.65451,1
335
+-0.500979,-9.39722,1
336
+-4.98674,-7.436,1
337
+1.29326,-7.03773,1
338
+-3.58228,-10.4185,1
339
+2.42812,-11.5386,1
340
+-2.91056,-9.71288,1
341
+2.01261,-10.1846,1
342
+0.19907,-8.1394,1
343
+-3.07496,-9.67909,1
344
+-11.0708,-8.40431,1
345
+2.32632,-7.59968,1
346
+-1.67021,-8.30289,1
347
+-5.81361,-10.8799,1
348
+-5.18497,-10.1689,1
349
+-2.85162,-7.06185,1
350
+0.654182,-7.5957,1
351
+-7.42012,-9.26973,1
352
+1.76791,-8.92436,1
353
+-0.514099,-8.31016,1
354
+-6.0977,-9.94566,1
355
+-1.94223,-8.41032,1
356
+-3.30011,-8.05372,1
357
+-6.60298,-9.01283,1
358
+1.24236,-9.81155,1
359
+-5.39862,-8.10372,1
360
+1.22982,-8.48021,1
361
+-8.92245,-8.16213,1
362
+1.48555,-7.94856,1
363
+-5.6606,-8.51115,1
364
+3.47684,-8.75946,1
365
+-2.86804,-5.42933,1
366
+-7.29766,-11.2581,1
367
+-3.84437,-7.70914,1
368
+-7.22023,-7.51118,1
369
+-2.66769,-9.7867,1
370
+-2.00646,-9.74231,1
371
+0.448662,-10.3989,1
372
+-1.58159,-8.51518,1
373
+-4.36824,-8.17317,1
374
+-0.374198,-9.50443,1
375
+-2.70418,-9.34014,1
376
+-0.989946,-6.98038,1
377
+-4.72954,-9.04478,1
378
+-6.74083,-10.3983,1
379
+3.05048,-5.72452,1
380
+-9.24435,-7.97718,1
381
+-0.809653,-10.5173,1
382
+3.74466,-7.77908,1
383
+-2.22552,-10.2484,1
384
+1.52613,-11.7075,1
385
+0.851518,-8.85135,1
386
+-2.70051,-8.54862,1
387
+-6.71093,-8.70603,1
388
+2.52474,-9.16914,1
389
+-1.71394,-8.4019,1
390
+3.82197,-10.1717,1
391
+-4.60181,-9.21797,1
392
+-4.67205,-9.29363,1
393
+0.555858,-8.68292,1
394
+-2.78046,-9.49494,1
395
+-6.74268,-9.45472,1
396
+-2.05945,-9.35365,1
397
+-2.43361,-7.12331,1
398
+-1.93496,-8.46969,1
399
+-4.15076,-6.63417,1
400
+-0.555727,-7.62365,1
401
+-3.11691,-9.30994,1
402
+-3.00929,-8.20359,1
403
+-9.08316,-9.26879,1
404
+-0.789115,-9.74975,1
405
+-0.634284,-12.1135,1
406
+7.5913,-8.9155,1
407
+-1.27222,-6.97874,1
408
+-2.24307,-12.4949,1
409
+-9.78402,-10.3657,1
410
+-2.28661,-8.55163,1
411
+-5.14228,-10.0141,1
412
+2.31579,-9.48339,1
413
+-6.6343,-10.6932,1
414
+-3.99028,-9.62412,1
415
+2.96654,-7.65333,1
416
+-0.86177,-9.8824,1
417
+-2.56693,-11.3461,1
418
+-3.0804,-9.52874,1
419
+2.95082,-9.58532,1
420
+-6.0154,-8.99343,1
421
+-4.3131,-9.74677,1
422
+-1.75509,-8.66242,1
423
+-3.36201,-8.22984,1
424
+-0.663004,-8.28434,1
425
+-3.44579,-8.53241,1
426
+-2.11552,-9.15744,1
427
+-7.51125,-8.30726,1
428
+2.64805,-7.72486,1
429
+-0.487465,-7.85284,1
430
+0.665332,-8.83609,1
431
+-5.27502,-7.54356,1
432
+4.32493,-9.41954,1
433
+1.39416,-10.1426,1
434
+-5.85859,-8.33478,1
435
+-10.8347,-9.39479,1
436
+5.55474,-8.1133,1
437
+-3.22606,-10.0082,1
438
+3.20133,-9.60485,1
439
+-1.25386,-7.89004,1
440
+-4.18102,-9.39535,1
441
+1.91899,-5.94478,1
442
+-4.87797,-11.8844,1
443
+0.60358,-8.68495,1
444
+-11.3417,-9.42372,1
445
+-0.861744,-6.72213,1
446
+1.33057,-9.22981,1
447
+-0.895241,-9.02046,1
448
+3.68515,-9.35193,1
449
+-3.52593,-10.9592,1
450
+-1.21559,-8.87497,1
451
+-1.65641,-10.017,1
452
+-5.38958,-7.54152,1
453
+-5.33385,-9.55439,1
454
+-0.309007,-11.4594,1
455
+-2.98721,-10.3566,1
456
+0.00794226,-7.7524,1
457
+-4.17076,-9.10218,1
458
+0.973147,-11.3892,1
459
+1.4007,-9.65395,1
460
+-3.6069,-9.0483,1
461
+3.40438,-8.01277,1
462
+-6.56466,-10.0547,1
463
+-6.19077,-8.79375,1
464
+-6.59233,-10.7435,1
465
+-3.58433,-9.34615,1
466
+5.63689,-9.89715,1
467
+-1.7385,-9.60943,1
468
+-4.16284,-10.1755,1
469
+-0.97218,-8.47376,1
470
+-5.93521,-6.72755,1
471
+0.589496,-8.7872,1
472
+4.52163,-6.16837,1
473
+1.55233,-11.32,1
474
+-1.32742,10.4138,2
475
+0.575936,7.13762,2
476
+2.3798,4.64827,2
477
+3.002,4.91342,2
478
+1.10472,6.08506,2
479
+1.75472,8.24927,2
480
+1.24425,6.87137,2
481
+2.83778,7.09653,2
482
+-4.24327,10.7726,2
483
+0.911588,7.80952,2
484
+2.64689,8.65576,2
485
+-1.86887,6.6015,2
486
+2.00006,6.3015,2
487
+-0.740267,5.26008,2
488
+-1.85504,12.293,2
489
+2.31936,6.02372,2
490
+1.93778,6.31446,2
491
+4.28953,10.7862,2
492
+3.10062,4.27853,2
493
+-0.966303,4.8957,2
494
+0.89988,8.37384,2
495
+1.49091,7.18046,2
496
+-2.58822,9.71564,2
497
+1.94764,10.6282,2
498
+4.75188,9.31078,2
499
+3.04626,7.39649,2
500
+1.78177,6.90053,2
501
+2.2745,7.09254,2
502
+3.06739,5.82452,2
503
+3.12831,8.33638,2
504
+0.103132,8.04028,2
505
+-0.203959,9.28822,2
506
+0.470956,8.38659,2
507
+2.66859,8.43337,2
508
+0.249657,3.72676,2
509
+1.43959,8.51095,2
510
+0.366942,4.69113,2
511
+-1.07517,7.14068,2
512
+0.701617,7.43127,2
513
+1.35067,6.78813,2
514
+2.55946,4.07563,2
515
+0.356067,7.92703,2
516
+1.69949,9.02939,2
517
+2.90225,6.15818,2
518
+-1.75686,8.19605,2
519
+-0.559677,3.8594,2
520
+2.18859,7.54189,2
521
+0.45039,6.96939,2
522
+3.70177,6.37899,2
523
+3.30948,6.81785,2
524
+1.81789,8.318,2
525
+3.13843,9.95271,2
526
+-0.0185829,9.14097,2
527
+1.0938,7.1251,2
528
+0.643741,7.50655,2
529
+1.70083,8.29768,2
530
+1.75012,8.75989,2
531
+2.35914,5.3886,2
532
+3.2964,9.0214,2
533
+0.486926,7.02931,2
534
+0.481878,7.89805,2
535
+2.78362,9.40806,2
536
+4.02592,5.50813,2
537
+3.66603,8.92326,2
538
+5.26304,5.88198,2
539
+5.05451,8.53756,2
540
+2.30625,6.96081,2
541
+1.09933,5.81451,2
542
+3.67287,9.54583,2
543
+1.0858,4.63113,2
544
+-1.35995,7.9412,2
545
+2.31771,8.06847,2
546
+3.33505,9.87352,2
547
+1.81001,7.24292,2
548
+4.71309,7.76866,2
549
+-2.57463,7.03662,2
550
+1.67583,9.86068,2
551
+-1.67987,5.49595,2
552
+-0.281347,6.08828,2
553
+-0.187614,6.95946,2
554
+4.90849,8.78578,2
555
+1.68712,6.24795,2
556
+0.424288,7.66035,2
557
+1.1877,5.58091,2
558
+-1.64905,4.8612,2
559
+4.37136,7.05142,2
560
+3.45831,6.95396,2
561
+1.1336,8.30249,2
562
+4.71182,6.34425,2
563
+2.66022,5.45243,2
564
+-1.18294,9.08208,2
565
+-1.75275,7.1846,2
566
+2.13548,8.44349,2
567
+1.39514,6.93034,2
568
+0.996389,8.13014,2
569
+-0.141414,8.16495,2
570
+2.70134,5.29679,2
571
+3.81324,9.5824,2
572
+1.65711,4.2952,2
573
+2.52804,6.59925,2
574
+-2.72472,8.8267,2
575
+3.33367,9.33061,2
576
+2.73088,3.1439,2
577
+-0.00846892,5.39138,2
578
+-0.437151,7.42205,2
579
+0.957783,6.91657,2
580
+1.79385,6.75257,2
581
+3.10832,7.14207,2
582
+5.93081,6.51186,2
583
+0.278379,7.58154,2
584
+0.991364,7.10569,2
585
+2.17308,8.71169,2
586
+1.045,12.6746,2
587
+-0.74108,3.6157,2
588
+-0.784201,5.06834,2
589
+2.28077,5.78734,2
590
+1.5912,8.72915,2
591
+2.49619,6.75319,2
592
+0.787778,6.82261,2
593
+3.39663,7.67267,2
594
+1.52154,7.20374,2
595
+0.722087,7.4071,2
596
+3.06743,4.87826,2
597
+-0.257063,12.09,2
598
+0.221291,6.66201,2
599
+1.23319,6.43255,2
600
+-3.2433,6.04479,2
601
+1.58287,8.32159,2
602
+-0.519891,8.36634,2
603
+1.17763,5.15033,2
604
+-1.19603,8.15937,2
605
+0.747912,5.18171,2
606
+3.4273,5.54196,2
607
+-0.721264,7.49153,2
608
+0.82601,6.12871,2
609
+1.4267,10.0708,2
610
+3.19792,8.10179,2
611
+4.56899,9.84085,2
612
+1.37536,4.8258,2
613
+1.26331,8.42399,2
614
+2.58103,9.01097,2
615
+4.36619,6.26609,2
616
+1.42172,5.59763,2
617
+2.18351,8.64628,2
618
+3.17606,3.59684,2
619
+-0.515362,11.6113,2
620
+1.12587,5.01259,2
621
+1.72061,8.49064,2
622
+0.592744,10.4638,2
623
+-2.17988,9.31681,2
624
+1.24081,9.71523,2
625
+3.56821,7.20971,2
626
+-0.323146,5.91599,2
627
+3.55144,8.45139,2
628
+2.79888,6.46826,2
629
+1.27228,9.05798,2
630
+0.629771,8.28074,2
631
+-0.236418,7.85143,2
632
+2.86531,7.86564,2
633
+2.24289,7.37526,2
634
+3.62158,8.0497,2
635
+0.0701285,10.232,2
636
+3.25247,6.73958,2
637
+1.27492,9.77921,2
638
+-0.11272,6.86484,2
639
+2.35393,9.10392,2
640
+1.20685,6.59043,2
641
+2.25171,8.99613,2
642
+1.80132,7.8665,2
643
+0.888866,6.56906,2
644
+2.80186,8.87711,2
645
+3.02589,7.62461,2
646
+-1.28612,8.11568,2
647
+0.00441141,9.81116,2
648
+2.15047,4.97502,2
649
+1.05056,8.45544,2
650
+2.81227,4.88385,2
651
+-1.42273,11.0423,2
652
+-0.100882,4.8756,2
653
+3.43858,6.4559,2
654
+2.30255,8.02385,2
655
+1.13205,4.92598,2
656
+3.8539,5.69143,2
657
+-1.72985,8.49472,2
658
+0.937818,8.63844,2
659
+1.89123,7.15307,2
660
+1.74054,6.73973,2
661
+-0.866206,7.92403,2
662
+3.59385,4.90233,2
663
+3.34264,7.83242,2
664
+0.680652,7.28754,2
665
+0.924442,6.02213,2
666
+0.548867,6.97365,2
667
+2.0743,6.76251,2
668
+0.2919,6.38111,2
669
+0.740335,5.77026,2
670
+3.0465,5.98273,2
671
+-1.16411,6.9203,2
672
+0.887892,6.26917,2
673
+0.907725,8.93901,2
674
+3.44845,6.89639,2
675
+1.8676,7.02545,2
676
+-2.47276,10.9318,2
677
+-1.38522,7.03881,2
678
+2.32039,7.20353,2
679
+1.49925,7.79864,2
680
+2.83963,7.07416,2
681
+0.713342,7.18126,2
682
+2.34774,8.31991,2
683
+0.298339,6.96311,2
684
+0.659714,6.75325,2
685
+5.27044,7.17416,2
686
+-0.596392,7.87532,2
687
+-0.223257,7.77303,2
688
+1.7873,6.51866,2
689
+2.80098,7.00633,2
690
+1.16716,7.12372,2
691
+1.74375,6.7843,2
692
+3.31308,7.70023,2
693
+-0.727889,9.01371,2
694
+0.153325,4.65147,2
695
+-0.631363,8.23679,2
696
+-1.16762,11.1104,2
697
+4.9923,4.46157,2
698
+0.848707,9.27955,2
699
+0.257131,5.7131,2
700
+3.75294,9.08674,2
701
+2.42517,4.47332,2
702
+0.0618976,6.66184,2
703
+3.08985,5.08749,2
704
+2.0054,6.3081,2
705
+1.31544,6.13322,2
706
+0.543663,6.62967,2
707
+2.59406,9.21311,2
708
+1.80384,9.53158,2
709
+3.80675,6.4688,2
710
+-0.115898,8.74156,2
711
+-0.335547,7.041,2
712
+3.03703,7.89455,2
713
+2.75147,6.22679,2
714
+3.59876,6.39026,2
715
+-0.453002,10.0101,2
716
+1.2125,4.70109,2
717
+4.95831,6.38063,2
718
+4.1817,7.59396,2
719
+1.3856,8.90014,2
720
+0.532603,6.92087,2
721
+1.33839,6.96774,2
722
+0.0889271,2.96824,2
723
+3.31312,7.33012,2
724
+1.55402,9.50518,2
725
+0.476118,7.63187,2
726
+1.19723,5.80103,2
727
+3.38378,5.01754,2
728
+-1.45247,8.26498,2
729
+-0.335424,5.52077,2
730
+0.234805,9.34339,2
731
+1.10246,6.92106,2
732
+1.98283,10.1868,2
733
+-2.23114,6.47931,2
734
+-0.275904,6.83132,2
735
+2.82412,10.7054,2
736
+0.602282,8.77758,2
737
+-1.16639,9.55652,2
738
+2.78084,8.4028,2
739
+2.2604,7.82254,2
740
+-0.0968979,6.63451,2
741
+0.892509,9.51129,2
742
+2.32534,5.49208,2
743
+1.82888,8.11414,2
744
+-1.48586,8.2656,2
745
+2.09316,4.60408,2
746
+0.15442,3.16495,2
747
+0.467491,5.81208,2
748
+-1.11779,6.45487,2
749
+-0.354722,6.85482,2
750
+1.06157,8.9926,2
751
+1.28251,5.64343,2
752
+1.13032,8.12401,2
753
+4.18169,7.64905,2
754
+1.13741,8.79368,2
755
+1.75273,10.7228,2
756
+-0.110929,6.98676,2
757
+4.36906,6.87202,2
758
+-0.524367,11.6388,2
759
+-0.410988,6.71236,2
760
+0.0200517,11.2023,2
761
+0.94531,7.47974,2
762
+3.79341,8.33141,2
763
+2.30172,6.14647,2
764
+3.5255,8.59357,2
765
+2.91538,6.79016,2
766
+4.58037,7.02327,2
767
+1.56862,5.37796,2
768
+-0.237563,2.43854,2
769
+3.07608,8.5735,2
770
+1.71211,8.56252,2
771
+2.49902,7.61016,2
772
+6.13747,7.61141,2
773
+-0.606692,7.7468,2
774
+-1.81123,6.67736,2
775
+0.786998,6.6435,2
776
+-0.750157,7.13496,2
777
+6.24366,5.6987,2
778
+-0.41651,8.93321,2
779
+2.30189,6.05284,2
780
+1.79399,5.98702,2
781
+4.63245,10.2009,2
782
+-0.295379,10.1991,2
783
+1.54367,6.83831,2
784
+4.2429,8.95898,2
785
+2.92071,8.08126,2
786
+-9.41607,-7.11147,3
787
+-9.20295,-7.04055,3
788
+-9.30626,-7.09314,3
789
+-9.40504,-7.24042,3
790
+-9.42272,-7.16221,3
791
+-9.23744,-6.96663,3
792
+-9.32929,-7.0509,3
793
+-9.28358,-7.28186,3
794
+-9.35947,-7.20923,3
795
+-9.2969,-7.30094,3
796
+-9.44375,-7.25158,3
797
+-9.41473,-7.21169,3
798
+-9.33709,-7.37395,3
799
+-9.56939,-7.01958,3
800
+-9.19304,-7.29816,3
801
+-9.42329,-7.21734,3
802
+-9.00764,-7.40439,3
803
+-9.35921,-7.27383,3
804
+-9.26278,-7.31876,3
805
+-9.4524,-7.2368,3
806
+-9.25743,-7.23958,3
807
+-9.085,-7.46379,3
808
+-9.27715,-7.37645,3
809
+-9.3848,-7.14376,3
810
+-9.34869,-7.01495,3
811
+-9.2098,-7.2124,3
812
+-9.40758,-7.067,3
813
+-9.33333,-7.14209,3
814
+-9.22499,-7.16836,3
815
+-9.36077,-7.09047,3
816
+-9.25341,-7.23465,3
817
+-9.23661,-7.13711,3
818
+-9.27148,-7.21863,3
819
+-9.24048,-7.41101,3
820
+-9.1661,-7.38579,3
821
+-9.18658,-7.44829,3
822
+-9.29229,-7.16649,3
823
+-9.21297,-7.46804,3
824
+-9.30163,-7.0518,3
825
+-9.14391,-7.44675,3
826
+-9.33036,-7.06164,3
827
+-9.41319,-7.13187,3
828
+-9.4113,-7.32319,3
829
+-9.24437,-7.50367,3
830
+-9.30038,-7.13739,3
831
+-9.24564,-7.28148,3
832
+-9.28384,-7.2559,3
833
+-9.15233,-7.39681,3
834
+-9.26577,-7.04919,3
835
+-9.5127,-7.04294,3
836
+-9.49208,-7.23969,3
837
+-9.38822,-7.03848,3
838
+-9.24766,-7.55512,3
839
+-9.30549,-7.05335,3
840
+-9.26319,-7.22475,3
841
+-9.12051,-7.29205,3
842
+-9.41608,-7.28598,3
843
+-9.26883,-7.27327,3
844
+-9.32099,-7.51045,3
845
+-9.31615,-7.18519,3
846
+-9.18688,-7.34386,3
847
+-9.15005,-7.14557,3
848
+-9.41902,-7.29888,3
849
+-9.22852,-7.10814,3
850
+-9.20441,-7.12448,3
851
+-9.26241,-7.33746,3
852
+-9.25355,-7.34667,3
853
+-9.11104,-7.45983,3
854
+-9.42915,-7.29612,3
855
+-9.19209,-7.36492,3
856
+-9.3889,-6.94056,3
857
+-9.46334,-7.01901,3
858
+-9.4198,-7.17674,3
859
+-9.39732,-7.08513,3
860
+-9.59452,-7.06261,3
861
+-9.28884,-7.4932,3
862
+-9.36328,-7.23699,3
863
+-9.55139,-7.20554,3
864
+-9.31646,-7.57584,3
865
+-9.03595,-7.47577,3
866
+-9.6066,-6.82848,3
867
+-9.15793,-7.3472,3
868
+-9.2581,-7.36403,3
869
+-9.49397,-7.0513,3
870
+-9.42142,-7.13648,3
871
+-9.29501,-7.22693,3
872
+-9.37668,-7.02253,3
873
+-9.32054,-7.24314,3
874
+-9.39543,-7.2932,3
875
+-9.56249,-7.00853,3
876
+-9.43481,-7.06642,3
877
+-9.286,-7.56287,3
878
+-9.42442,-7.20312,3
879
+-9.42318,-7.07451,3
880
+-9.20615,-7.07531,3
881
+-9.44046,-7.17782,3
882
+-9.41189,-7.14223,3
883
+-9.2162,-7.32599,3
884
+-9.22509,-7.47183,3
885
+-9.37243,-7.36297,3
886
+-9.17332,-7.15329,3

+ 1271
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/2d-4c.arff
File diff suppressed because it is too large
View File


+ 1013
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/2dnormals.arff
File diff suppressed because it is too large
View File


+ 2013
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/2sp2glob.arff
File diff suppressed because it is too large
View File


+ 324
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/3-spiral.arff View File

@@ -0,0 +1,324 @@
1
+% Spiral, N=312, M=3, D=2
2
+% Chang, H. and D.Y. Yeung, Robust path-based spectral clustering. Pattern Recognition, 2008. 41(1): p. 191-203.
3
+%
4
+% source: http://cs.joensuu.fi/sipu/datasets/
5
+%
6
+@relation 3-spiral
7
+
8
+@ATTRIBUTE x REAL
9
+@ATTRIBUTE y REAL
10
+@ATTRIBUTE class {1,2,3}
11
+
12
+@DATA
13
+31.95,7.95,3
14
+31.15,7.3,3
15
+30.45,6.65,3
16
+29.7,6,3
17
+28.9,5.55,3
18
+28.05,5,3
19
+27.2,4.55,3
20
+26.35,4.15,3
21
+25.4,3.85,3
22
+24.6,3.6,3
23
+23.6,3.3,3
24
+22.75,3.15,3
25
+21.85,3.05,3
26
+20.9,3,3
27
+20,2.9,3
28
+19.1,3,3
29
+18.2,3.2,3
30
+17.3,3.25,3
31
+16.55,3.5,3
32
+15.7,3.7,3
33
+14.85,4.1,3
34
+14.15,4.4,3
35
+13.4,4.75,3
36
+12.7,5.2,3
37
+12.05,5.65,3
38
+11.45,6.15,3
39
+10.9,6.65,3
40
+10.3,7.25,3
41
+9.7,7.85,3
42
+9.35,8.35,3
43
+8.9,9.05,3
44
+8.55,9.65,3
45
+8.15,10.35,3
46
+7.95,10.95,3
47
+7.75,11.7,3
48
+7.55,12.35,3
49
+7.45,13,3
50
+7.35,13.75,3
51
+7.3,14.35,3
52
+7.35,14.95,3
53
+7.35,15.75,3
54
+7.55,16.35,3
55
+7.7,16.95,3
56
+7.8,17.55,3
57
+8.05,18.15,3
58
+8.3,18.75,3
59
+8.65,19.3,3
60
+8.9,19.85,3
61
+9.3,20.3,3
62
+9.65,20.8,3
63
+10.2,21.25,3
64
+10.6,21.65,3
65
+11.1,22.15,3
66
+11.55,22.45,3
67
+11.95,22.7,3
68
+12.55,23,3
69
+13.05,23.2,3
70
+13.45,23.4,3
71
+14,23.55,3
72
+14.55,23.6,3
73
+15.1,23.75,3
74
+15.7,23.75,3
75
+16.15,23.85,3
76
+16.7,23.8,3
77
+17.15,23.75,3
78
+17.75,23.75,3
79
+18.2,23.6,3
80
+18.65,23.5,3
81
+19.1,23.35,3
82
+19.6,23.15,3
83
+20,22.95,3
84
+20.4,22.7,3
85
+20.7,22.55,3
86
+21,22.15,3
87
+21.45,21.95,3
88
+21.75,21.55,3
89
+22,21.25,3
90
+22.25,21,3
91
+22.5,20.7,3
92
+22.65,20.35,3
93
+22.75,20.05,3
94
+22.9,19.65,3
95
+23,19.35,3
96
+23.1,19,3
97
+23.15,18.65,3
98
+23.2,18.25,3
99
+23.2,18.05,3
100
+23.2,17.8,3
101
+23.1,17.45,3
102
+23.05,17.15,3
103
+22.9,16.9,3
104
+22.85,16.6,3
105
+22.7,16.4,3
106
+22.6,16.2,3
107
+22.55,16.05,3
108
+22.4,15.95,3
109
+22.35,15.8,3
110
+22.2,15.65,3
111
+22.15,15.55,3
112
+22,15.4,3
113
+21.9,15.3,3
114
+21.85,15.25,3
115
+21.75,15.15,3
116
+21.65,15.05,3
117
+21.55,15,3
118
+21.5,14.9,3
119
+19.35,31.65,1
120
+20.35,31.45,1
121
+21.35,31.1,1
122
+22.25,30.9,1
123
+23.2,30.45,1
124
+23.95,30.05,1
125
+24.9,29.65,1
126
+25.6,29.05,1
127
+26.35,28.5,1
128
+27.15,27.9,1
129
+27.75,27.35,1
130
+28.3,26.6,1
131
+28.95,25.85,1
132
+29.5,25.15,1
133
+29.95,24.45,1
134
+30.4,23.7,1
135
+30.6,22.9,1
136
+30.9,22.1,1
137
+31.25,21.3,1
138
+31.35,20.55,1
139
+31.5,19.7,1
140
+31.55,18.9,1
141
+31.65,18.15,1
142
+31.6,17.35,1
143
+31.45,16.55,1
144
+31.3,15.8,1
145
+31.15,15.05,1
146
+30.9,14.35,1
147
+30.6,13.65,1
148
+30.3,13,1
149
+29.9,12.3,1
150
+29.5,11.75,1
151
+29,11.15,1
152
+28.5,10.6,1
153
+28,10.1,1
154
+27.55,9.65,1
155
+26.9,9.1,1
156
+26.25,8.8,1
157
+25.7,8.4,1
158
+25.15,8.05,1
159
+24.5,7.75,1
160
+23.9,7.65,1
161
+23.15,7.4,1
162
+22.5,7.3,1
163
+21.9,7.1,1
164
+21.25,7.05,1
165
+20.5,7,1
166
+19.9,6.95,1
167
+19.25,7.05,1
168
+18.75,7.1,1
169
+18.05,7.25,1
170
+17.5,7.35,1
171
+16.9,7.6,1
172
+16.35,7.8,1
173
+15.8,8.05,1
174
+15.4,8.35,1
175
+14.9,8.7,1
176
+14.45,8.9,1
177
+13.95,9.3,1
178
+13.6,9.65,1
179
+13.25,10.1,1
180
+12.95,10.55,1
181
+12.65,10.9,1
182
+12.35,11.4,1
183
+12.2,11.75,1
184
+11.95,12.2,1
185
+11.8,12.65,1
186
+11.75,13.05,1
187
+11.55,13.6,1
188
+11.55,14,1
189
+11.55,14.35,1
190
+11.55,14.7,1
191
+11.6,15.25,1
192
+11.65,15.7,1
193
+11.8,16.05,1
194
+11.85,16.5,1
195
+12,16.75,1
196
+12.15,17.2,1
197
+12.3,17.6,1
198
+12.55,17.85,1
199
+12.8,18.05,1
200
+13.1,18.4,1
201
+13.3,18.6,1
202
+13.55,18.85,1
203
+13.8,19.05,1
204
+14.15,19.25,1
205
+14.45,19.5,1
206
+14.85,19.55,1
207
+15,19.7,1
208
+15.25,19.7,1
209
+15.55,19.85,1
210
+15.95,19.9,1
211
+16.2,19.9,1
212
+16.55,19.9,1
213
+16.85,19.9,1
214
+17.2,19.9,1
215
+17.4,19.8,1
216
+17.65,19.75,1
217
+17.8,19.7,1
218
+18,19.6,1
219
+18.2,19.55,1
220
+3.9,9.6,2
221
+3.55,10.65,2
222
+3.35,11.4,2
223
+3.1,12.35,2
224
+3.1,13.25,2
225
+3.05,14.15,2
226
+3,15.1,2
227
+3.1,16,2
228
+3.2,16.85,2
229
+3.45,17.75,2
230
+3.7,18.7,2
231
+3.95,19.55,2
232
+4.35,20.25,2
233
+4.7,21.1,2
234
+5.15,21.8,2
235
+5.6,22.5,2
236
+6.2,23.3,2
237
+6.8,23.85,2
238
+7.35,24.45,2
239
+8.05,24.95,2
240
+8.8,25.45,2
241
+9.5,26,2
242
+10.2,26.35,2
243
+10.9,26.75,2
244
+11.7,27,2
245
+12.45,27.25,2
246
+13.3,27.6,2
247
+14.05,27.6,2
248
+14.7,27.75,2
249
+15.55,27.75,2
250
+16.4,27.75,2
251
+17.1,27.75,2
252
+17.9,27.75,2
253
+18.55,27.7,2
254
+19.35,27.6,2
255
+20.1,27.35,2
256
+20.7,27.1,2
257
+21.45,26.8,2
258
+22.05,26.5,2
259
+22.7,26.15,2
260
+23.35,25.65,2
261
+23.8,25.3,2
262
+24.3,24.85,2
263
+24.75,24.35,2
264
+25.25,23.95,2
265
+25.65,23.45,2
266
+26.05,23,2
267
+26.2,22.3,2
268
+26.6,21.8,2
269
+26.75,21.25,2
270
+27,20.7,2
271
+27.15,20.15,2
272
+27.15,19.6,2
273
+27.35,19.1,2
274
+27.35,18.45,2
275
+27.4,18,2
276
+27.3,17.4,2
277
+27.15,16.9,2
278
+27,16.4,2
279
+27,15.9,2
280
+26.75,15.35,2
281
+26.55,14.85,2
282
+26.3,14.45,2
283
+25.95,14.1,2
284
+25.75,13.7,2
285
+25.35,13.3,2
286
+25.05,12.95,2
287
+24.8,12.7,2
288
+24.4,12.45,2
289
+24.05,12.2,2
290
+23.55,11.85,2
291
+23.2,11.65,2
292
+22.75,11.4,2
293
+22.3,11.3,2
294
+21.9,11.1,2
295
+21.45,11.05,2
296
+21.1,11,2
297
+20.7,10.95,2
298
+20.35,10.95,2
299
+19.95,11,2
300
+19.55,11,2
301
+19.15,11.05,2
302
+18.85,11.1,2
303
+18.45,11.25,2
304
+18.15,11.35,2
305
+17.85,11.5,2
306
+17.5,11.7,2
307
+17.2,11.95,2
308
+17,12.05,2
309
+16.75,12.2,2
310
+16.65,12.35,2
311
+16.5,12.5,2
312
+16.35,12.7,2
313
+16.2,12.8,2
314
+16.15,12.95,2
315
+16,13.1,2
316
+15.95,13.25,2
317
+15.9,13.4,2
318
+15.8,13.5,2
319
+15.8,13.65,2
320
+15.75,13.85,2
321
+15.65,14.05,2
322
+15.65,14.25,2
323
+15.65,14.5,2
324
+15.65,14.6,2

+ 412
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/3MC.arff View File

@@ -0,0 +1,412 @@
1
+% Dataset from: http://mail.tku.edu.tw/chchou/others/others.htm
2
+%
3
+% M. C. Su, C. H. Chou, and C. C. Hsieh, “Fuzzy C-Means Algorithm with a Point Symmetry Distance,” 
4
+% International Journal of Fuzzy Systems, vol. 7, no. 4, pp. 175-181, 2005.
5
+%
6
+@RELATION 3MC
7
+
8
+@ATTRIBUTE x REAL
9
+@ATTRIBUTE y REAL
10
+@ATTRIBUTE class {1,2,3}
11
+
12
+@DATA
13
+-3.053,0.787,1
14
+-2.535,1.088,1
15
+-2.667,0.611,1
16
+-2.598,1.323,1
17
+2.173,0.864,1
18
+0.606,0.742,1
19
+-1.686,0.854,1
20
+2.307,1.196,1
21
+0.520,1.155,1
22
+-0.484,0.985,1
23
+-1.857,1.337,1
24
+-3.460,0.868,1
25
+-0.324,1.237,1
26
+0.319,1.149,1
27
+0.714,1.399,1
28
+-2.184,1.529,1
29
+0.128,1.446,1
30
+2.357,0.693,1
31
+0.605,1.402,1
32
+-0.770,1.401,1
33
+1.199,1.135,1
34
+-4.580,1.124,1
35
+2.693,1.038,1
36
+-1.969,0.901,1
37
+0.597,1.031,1
38
+-3.557,1.064,1
39
+4.359,1.041,1
40
+-4.393,1.371,1
41
+-3.509,0.876,1
42
+-0.494,0.743,1
43
+2.767,1.281,1
44
+0.926,1.275,1
45
+0.161,0.716,1
46
+3.213,0.846,1
47
+3.715,1.502,1
48
+3.889,0.644,1
49
+-1.021,1.156,1
50
+-3.313,1.288,1
51
+-0.105,0.834,1
52
+-4.164,1.255,1
53
+3.566,1.288,1
54
+-0.949,0.628,1
55
+-2.198,1.493,1
56
+0.898,1.260,1
57
+-2.996,0.668,1
58
+2.913,1.001,1
59
+-0.088,0.893,1
60
+-3.480,1.211,1
61
+-0.642,0.825,1
62
+1.870,0.805,1
63
+-0.952,1.485,1
64
+-2.330,0.901,1
65
+-0.390,1.052,1
66
+4.044,1.107,1
67
+1.593,1.549,1
68
+-1.297,0.868,1
69
+-1.516,1.203,1
70
+-3.205,1.021,1
71
+-1.776,1.122,1
72
+-1.997,1.535,1
73
+-4.031,0.632,1
74
+3.695,1.299,1
75
+-0.956,1.342,1
76
+0.106,1.458,1
77
+-0.767,1.219,1
78
+-3.211,1.330,1
79
+3.486,1.483,1
80
+-0.581,1.541,1
81
+-1.476,0.938,1
82
+3.407,1.408,1
83
+-2.110,1.324,1
84
+-0.363,0.971,1
85
+1.960,0.668,1
86
+-0.857,0.981,1
87
+-3.693,0.845,1
88
+-0.163,1.078,1
89
+-3.014,1.023,1
90
+-3.621,0.854,1
91
+-1.842,0.731,1
92
+3.689,0.960,1
93
+-1.173,0.894,1
94
+-0.394,0.854,1
95
+-2.588,0.670,1
96
+-1.131,1.172,1
97
+2.051,1.406,1
98
+-1.009,0.669,1
99
+-4.418,0.845,1
100
+1.451,0.751,1
101
+-2.588,0.978,1
102
+2.061,0.894,1
103
+0.667,1.170,1
104
+3.679,1.513,1
105
+4.367,0.964,1
106
+3.106,0.746,1
107
+-1.707,1.024,1
108
+3.860,0.743,1
109
+3.876,1.023,1
110
+2.310,1.506,1
111
+-1.027,1.042,1
112
+2.032,0.653,1
113
+-1.256,1.459,1
114
+-1.520,1.517,1
115
+1.011,0.822,1
116
+-3.825,0.975,1
117
+0.767,0.768,1
118
+2.720,0.655,1
119
+1.578,0.824,1
120
+-1.978,1.305,1
121
+3.468,1.542,1
122
+-2.352,1.554,1
123
+-3.453,1.371,1
124
+-2.643,0.616,1
125
+1.373,0.827,1
126
+0.956,0.744,1
127
+-3.831,1.061,1
128
+3.003,1.040,1
129
+2.012,0.927,1
130
+3.975,1.353,1
131
+0.404,1.233,1
132
+-2.932,0.790,1
133
+1.747,8.187,2
134
+0.219,6.065,2
135
+2.688,4.617,2
136
+2.133,3.011,2
137
+1.824,5.002,2
138
+1.923,3.626,2
139
+0.973,6.264,2
140
+0.668,8.206,2
141
+0.342,5.024,2
142
+3.114,4.254,2
143
+0.876,10.907,2
144
+0.796,9.325,2
145
+2.320,4.555,2
146
+1.078,7.116,2
147
+1.585,7.640,2
148
+2.943,5.737,2
149
+0.332,4.140,2
150
+2.468,6.952,2
151
+1.476,6.637,2
152
+0.571,9.919,2
153
+0.749,5.690,2
154
+2.514,3.799,2
155
+1.243,5.416,2
156
+1.129,10.721,2
157
+1.928,6.846,2
158
+1.788,3.957,2
159
+0.293,4.847,2
160
+2.405,10.802,2
161
+1.880,7.830,2
162
+1.001,8.210,2
163
+2.999,4.535,2
164
+2.298,3.020,2
165
+1.724,9.077,2
166
+1.493,3.438,2
167
+0.665,7.631,2
168
+2.501,4.667,2
169
+2.397,6.431,2
170
+1.063,7.043,2
171
+1.664,3.796,2
172
+3.159,5.441,2
173
+2.683,4.207,2
174
+1.971,6.905,2
175
+1.291,9.276,2
176
+0.910,9.106,2
177
+1.343,5.651,2
178
+1.567,5.681,2
179
+1.400,8.526,2
180
+1.875,10.264,2
181
+1.961,7.116,2
182
+2.256,10.813,2
183
+0.446,10.470,2
184
+2.515,9.902,2
185
+3.177,5.489,2
186
+2.244,6.245,2
187
+0.779,5.556,2
188
+1.120,5.287,2
189
+0.888,9.323,2
190
+1.695,3.234,2
191
+1.342,5.436,2
192
+1.855,8.774,2
193
+2.366,5.688,2
194
+1.441,7.651,2
195
+0.228,3.285,2
196
+2.602,5.893,2
197
+2.259,3.498,2
198
+1.860,8.525,2
199
+1.804,9.068,2
200
+2.341,10.513,2
201
+2.601,4.711,2
202
+1.712,10.293,2
203
+1.389,5.120,2
204
+1.811,3.722,2
205
+1.158,5.225,2
206
+2.673,10.470,2
207
+2.405,5.605,2
208
+0.848,10.885,2
209
+2.317,6.270,2
210
+2.501,3.168,2
211
+1.410,8.452,2
212
+0.543,5.644,2
213
+0.707,8.583,2
214
+0.393,4.949,2
215
+1.211,9.303,2
216
+0.468,7.002,2
217
+0.284,4.603,2
218
+1.803,4.395,2
219
+0.621,10.415,2
220
+3.024,7.522,2
221
+1.054,5.603,2
222
+3.135,3.071,2
223
+0.769,10.032,2
224
+1.562,4.295,2
225
+1.899,9.309,2
226
+0.844,3.742,2
227
+1.434,10.706,2
228
+3.058,5.795,2
229
+1.033,6.619,2
230
+1.159,5.389,2
231
+1.930,5.792,2
232
+2.286,10.883,2
233
+3.091,10.019,2
234
+1.141,8.064,2
235
+0.324,9.338,2
236
+0.687,4.007,2
237
+1.008,4.495,2
238
+2.690,10.724,2
239
+0.673,9.237,2
240
+2.571,7.941,2
241
+0.760,5.068,2
242
+2.015,6.743,2
243
+0.581,8.696,2
244
+1.107,10.245,2
245
+0.372,9.437,2
246
+1.678,4.845,2
247
+1.786,7.423,2
248
+0.484,6.979,2
249
+0.454,5.400,2
250
+2.958,9.131,2
251
+3.138,3.289,2
252
+1.560,9.042,2
253
+0.627,8.294,2
254
+3.003,8.206,2
255
+0.454,4.940,2
256
+2.212,6.070,2
257
+1.422,6.469,2
258
+2.772,10.307,2
259
+0.851,5.806,2
260
+2.250,7.591,2
261
+1.269,10.759,2
262
+0.382,3.245,2
263
+0.554,3.051,2
264
+1.351,9.427,2
265
+2.212,7.378,2
266
+1.006,10.661,2
267
+0.494,7.172,2
268
+2.467,4.570,2
269
+2.855,5.279,2
270
+1.113,3.059,2
271
+3.167,4.364,2
272
+2.958,10.706,2
273
+2.346,7.550,2
274
+3.093,6.424,2
275
+1.804,4.460,2
276
+1.343,3.587,2
277
+2.676,9.423,2
278
+0.759,3.910,2
279
+1.106,10.270,2
280
+0.773,6.442,2
281
+2.149,10.632,2
282
+1.253,5.413,2
283
+0.544,7.859,2
284
+1.601,9.080,2
285
+3.117,4.084,2
286
+2.811,6.222,2
287
+0.430,5.775,2
288
+0.575,7.954,2
289
+2.567,5.168,2
290
+3.169,10.320,2
291
+1.255,9.513,2
292
+0.378,6.224,2
293
+0.647,8.622,2
294
+1.905,9.392,2
295
+2.268,4.942,2
296
+2.935,5.248,2
297
+3.154,7.732,2
298
+1.347,4.771,2
299
+2.537,4.957,2
300
+2.216,4.835,2
301
+3.173,3.227,2
302
+2.107,9.556,2
303
+-3.052,11.834,3
304
+-2.743,8.906,3
305
+-3.712,11.497,3
306
+-3.868,9.838,3
307
+-1.850,9.019,3
308
+-4.013,10.763,3
309
+-1.402,11.239,3
310
+-1.818,11.781,3
311
+-2.185,11.877,3
312
+-3.885,11.010,3
313
+-3.660,9.377,3
314
+-1.782,11.699,3
315
+-1.584,9.358,3
316
+-3.224,9.114,3
317
+-2.296,8.904,3
318
+-3.034,8.945,3
319
+-1.450,11.515,3
320
+-3.288,11.737,3
321
+-4.147,10.788,3
322
+-3.463,9.251,3
323
+-1.499,11.344,3
324
+-1.266,10.913,3
325
+-2.741,11.898,3
326
+-3.037,11.800,3
327
+-4.050,10.986,3
328
+-1.238,9.497,3
329
+-1.427,9.416,3
330
+-3.766,9.719,3
331
+-1.152,10.686,3
332
+-3.701,11.239,3
333
+-3.981,10.737,3
334
+-3.407,11.614,3
335
+-2.249,11.882,3
336
+-2.893,8.966,3
337
+-1.369,11.260,3
338
+-3.768,9.673,3
339
+-1.044,9.862,3
340
+-3.949,9.719,3
341
+-4.060,10.531,3
342
+-2.182,11.855,3
343
+-3.022,9.030,3
344
+-1.728,11.566,3
345
+-3.111,9.076,3
346
+-2.749,11.885,3
347
+-3.974,10.813,3
348
+-1.676,9.303,3
349
+-4.074,10.088,3
350
+-1.440,11.364,3
351
+-1.076,10.348,3
352
+-1.118,10.140,3
353
+-1.511,11.515,3
354
+-3.012,11.810,3
355
+-3.161,8.990,3
356
+-0.997,10.505,3
357
+-2.012,11.834,3
358
+-1.751,11.737,3
359
+-3.867,9.790,3
360
+-1.518,9.339,3
361
+-1.839,9.156,3
362
+-2.282,11.889,3
363
+-3.880,9.673,3
364
+-1.052,10.788,3
365
+-1.479,11.442,3
366
+-1.194,11.058,3
367
+-3.584,9.202,3
368
+-1.526,9.234,3
369
+-4.072,10.763,3
370
+-1.886,11.686,3
371
+-3.120,9.052,3
372
+-2.413,11.898,3
373
+-1.177,9.650,3
374
+-2.246,8.911,3
375
+-2.372,11.877,3
376
+-3.817,11.303,3
377
+-4.144,10.217,3
378
+-3.103,11.737,3
379
+-3.921,11.239,3
380
+-2.732,8.928,3
381
+-3.364,9.128,3
382
+-1.058,10.635,3
383
+-3.895,10.217,3
384
+-3.056,9.030,3
385
+-3.702,9.605,3
386
+-3.512,9.268,3
387
+-4.076,10.635,3
388
+-1.049,10.165,3
389
+-4.054,10.348,3
390
+-1.911,9.000,3
391
+-3.894,9.605,3
392
+-3.906,10.374,3
393
+-3.553,9.303,3
394
+-1.187,10.374,3
395
+-1.278,9.583,3
396
+-3.898,11.239,3
397
+-1.114,10.737,3
398
+-3.957,10.400,3
399
+-3.919,9.987,3
400
+-2.181,11.810,3
401
+-1.321,9.719,3
402
+-3.871,11.104,3
403
+-3.004,11.855,3
404
+-3.893,9.887,3
405
+-3.864,9.627,3
406
+-1.765,11.629,3
407
+-1.174,9.583,3
408
+-3.295,11.699,3
409
+-1.681,11.672,3
410
+-2.807,11.867,3
411
+-3.830,11.195,3
412
+-2.394,11.899,3

+ 3111
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/D31.arff
File diff suppressed because it is too large
View File


+ 589
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/DS-577.arff View File

@@ -0,0 +1,589 @@
1
+% Dataset from: http://mail.tku.edu.tw/chchou/others/others.htm
2
+%
3
+% M. C. Su, C. H. Chou, and C. C. Hsieh, “Fuzzy C-Means Algorithm with a Point Symmetry Distance,”
4
+% International Journal of Fuzzy Systems, vol. 7, no. 4, pp. 175-181, 2005.
5
+%
6
+@RELATION DS-577
7
+
8
+@ATTRIBUTE x REAL
9
+@ATTRIBUTE y REAL
10
+@ATTRIBUTE class {1,2,3}
11
+
12
+@DATA
13
+4.489013,3.949385,1
14
+3.234519,3.032182,1
15
+2.339381,3.233512,1
16
+3.067888,3.272515,1
17
+3.337977,3.214286,1
18
+1.623692,1.968673,1
19
+4.459075,3.803079,1
20
+2.746071,2.881115,1
21
+3.022935,3.244224,1
22
+2.634098,2.410794,1
23
+2.209555,2.269341,1
24
+2.938520,4.243461,1
25
+3.307581,3.077136,1
26
+4.325037,3.338618,1
27
+2.868755,2.639683,1
28
+2.849528,2.990066,1
29
+3.360591,3.146077,1
30
+1.935163,2.120289,1
31
+3.001328,3.005997,1
32
+2.815287,2.893017,1
33
+1.970595,2.479919,1
34
+3.990677,3.728278,1
35
+3.402707,3.298334,1
36
+3.945814,2.965621,1
37
+2.735176,2.449980,1
38
+3.608432,3.170064,1
39
+3.252739,3.002152,1
40
+2.484497,3.060198,1
41
+3.994705,3.673803,1
42
+2.799814,2.734718,1
43
+2.907117,2.647374,1
44
+3.115223,4.262139,1
45
+2.973952,2.696356,1
46
+3.986648,3.551485,1
47
+3.326075,3.389431,1
48
+1.859722,1.628361,1
49
+2.762185,2.475341,1
50
+2.888989,3.010208,1
51
+2.817301,3.156148,1
52
+3.017533,2.841655,1
53
+3.685522,3.447386,1
54
+3.414609,3.078967,1
55
+2.412534,2.670171,1
56
+3.551576,3.318201,1
57
+3.119800,3.169698,1
58
+3.662816,3.273339,1
59
+1.914106,2.575411,1
60
+2.720985,2.346248,1
61
+3.747047,3.591311,1
62
+4.447722,3.787515,1
63
+2.788827,2.815561,1
64
+3.065783,2.989334,1
65
+3.015519,3.216941,1
66
+2.533937,2.938429,1
67
+2.929548,3.161733,1
68
+3.606601,3.310785,1
69
+3.961470,3.833018,1
70
+3.200095,3.341090,1
71
+3.943892,3.325709,1
72
+2.584658,2.652593,1
73
+3.367641,3.577944,1
74
+2.175130,2.389279,1
75
+3.093066,3.129780,1
76
+2.019761,2.741035,1
77
+4.233482,4.221580,1
78
+2.910321,2.896588,1
79
+1.983322,2.480926,1
80
+3.507996,2.276940,1
81
+3.990402,4.059343,1
82
+1.925916,1.847545,1
83
+3.645787,3.182974,1
84
+4.467864,3.664098,1
85
+3.275536,3.071001,1
86
+4.161977,3.177847,1
87
+3.095080,2.917920,1
88
+4.149342,2.954726,1
89
+3.058275,2.963149,1
90
+3.212088,3.750984,1
91
+2.805124,2.793954,1
92
+4.023911,3.317652,1
93
+1.784738,2.587313,1
94
+2.851543,2.983566,1
95
+3.440977,3.477416,1
96
+3.884014,3.279107,1
97
+2.566988,1.667821,1
98
+3.631870,3.683508,1
99
+4.088458,3.490051,1
100
+3.419828,3.199820,1
101
+2.707251,2.447600,1
102
+3.235984,3.104053,1
103
+3.289636,3.267296,1
104
+2.412900,2.971023,1
105
+3.734321,3.365169,1
106
+3.032090,3.086383,1
107
+3.335414,2.976608,1
108
+3.027696,2.906568,1
109
+4.230003,3.549654,1
110
+2.794412,2.961592,1
111
+2.394681,2.819956,1
112
+3.058641,2.859142,1
113
+4.406613,3.409665,1
114
+2.688025,2.837901,1
115
+3.278008,2.598025,1
116
+3.077044,3.235527,1
117
+2.397153,2.696722,1
118
+3.551210,3.163015,1
119
+4.190451,3.168416,1
120
+3.975661,3.483825,1
121
+2.232810,2.231712,1
122
+3.067614,2.632267,1
123
+4.437742,3.717017,1
124
+3.957350,3.623539,1
125
+1.619938,2.306330,1
126
+2.358333,2.488342,1
127
+2.216697,3.003250,1
128
+1.918134,2.094745,1
129
+4.448454,3.367367,1
130
+4.092486,3.572451,1
131
+3.174734,3.003067,1
132
+2.684088,3.011216,1
133
+2.024979,1.756264,1
134
+3.234336,3.186087,1
135
+2.188406,3.151204,1
136
+3.201285,3.398129,1
137
+3.079424,3.077868,1
138
+3.771584,3.194418,1
139
+3.158528,4.194937,1
140
+3.240745,2.722175,1
141
+3.004074,2.656713,1
142
+4.359004,3.983718,1
143
+3.045457,3.725257,1
144
+3.311518,3.196341,1
145
+3.102863,3.114399,1
146
+2.704230,2.827280,1
147
+2.041917,2.068468,1
148
+3.529603,3.167592,1
149
+1.794351,2.203787,1
150
+3.494263,3.562563,1
151
+4.082690,3.480621,1
152
+2.457213,3.019456,1
153
+3.813425,3.711249,1
154
+3.066973,3.531343,1
155
+2.773629,2.889630,1
156
+2.249748,2.807321,1
157
+3.618595,3.175283,1
158
+2.797983,2.840190,1
159
+1.904126,3.045457,1
160
+3.362239,2.910504,1
161
+2.943556,2.240318,1
162
+2.555361,2.811625,1
163
+3.765175,3.232414,1
164
+2.491638,2.394314,1
165
+3.685614,2.645451,1
166
+3.340632,3.259880,1
167
+1.918226,2.746071,1
168
+2.996475,3.052416,1
169
+2.523499,3.386685,1
170
+3.628666,3.390255,1
171
+4.116474,3.218497,1
172
+2.613132,2.772439,1
173
+3.207785,3.330836,1
174
+2.992813,3.088488,1
175
+3.233055,3.377255,1
176
+1.767800,2.044023,1
177
+2.996384,3.115223,1
178
+3.601840,2.843760,1
179
+3.942701,3.336421,1
180
+3.245048,3.634434,1
181
+2.772988,3.315912,1
182
+4.425474,3.311792,1
183
+3.493622,3.076952,1
184
+3.586550,3.219779,1
185
+3.369289,3.120167,1
186
+3.822855,3.334498,1
187
+2.712561,2.337275,1
188
+3.655492,3.177847,1
189
+2.587588,2.708991,1
190
+3.208426,3.031816,1
191
+3.306482,3.462127,1
192
+3.516236,3.213370,1
193
+2.438810,2.723365,1
194
+3.334407,3.013596,1
195
+4.029862,3.311426,1
196
+3.439787,3.152211,1
197
+3.083178,3.240837,1
198
+2.100421,1.732002,1
199
+3.254204,3.328455,1
200
+2.785348,3.730201,1
201
+4.286676,3.583987,1
202
+1.889660,2.654149,1
203
+2.709815,2.390561,1
204
+2.923139,2.828928,1
205
+2.654332,2.930189,1
206
+2.894391,2.502533,1
207
+3.320032,3.080798,1
208
+2.326014,2.402280,1
209
+1.332209,0.848247,2
210
+0.332606,1.522279,2
211
+1.871746,0.571383,2
212
+0.207541,1.269402,2
213
+1.274987,0.755776,2
214
+-0.315058,1.648808,2
215
+0.344783,0.985763,2
216
+1.361049,0.866649,2
217
+2.266167,0.112964,2
218
+1.621342,0.739845,2
219
+1.357845,0.763741,2
220
+0.229057,1.541688,2
221
+0.090167,2.268548,2
222
+0.854747,0.964064,2
223
+1.111011,0.955916,2
224
+0.646733,1.228477,2
225
+0.478088,1.719123,2
226
+2.260125,0.195547,2
227
+1.244407,0.994827,2
228
+0.884320,1.153676,2
229
+1.209342,0.657262,2
230
+1.785043,0.957106,2
231
+0.503357,1.339991,2
232
+0.797342,1.069720,2
233
+-0.031785,1.403989,2
234
+1.447295,0.832316,2
235
+0.872784,1.564486,2
236
+0.167989,1.615665,2
237
+2.123798,1.055895,2
238
+0.881756,1.013138,2
239
+1.551759,0.457488,2
240
+1.230125,0.906842,2
241
+0.793588,0.533113,2
242
+1.406369,0.729133,2
243
+1.399228,1.232414,2
244
+0.842662,1.141316,2
245
+-0.146321,1.084460,2
246
+2.246941,0.728401,2
247
+1.768929,0.250023,2
248
+0.961959,0.926069,2
249
+0.312922,1.584811,2
250
+0.590243,1.318567,2
251
+1.702002,0.393399,2
252
+0.133290,0.976333,2
253
+1.409116,0.916822,2
254
+0.187765,1.056169,2
255
+0.675939,0.721442,2
256
+1.467528,0.469115,2
257
+0.868755,0.925977,2
258
+0.826731,1.108997,2
259
+2.161336,0.437346,2
260
+1.886944,0.347163,2
261
+0.483856,1.694678,2
262
+1.781289,0.356319,2
263
+0.980819,0.936048,2
264
+1.145161,0.524140,2
265
+0.166158,1.298975,2
266
+-0.324396,1.584536,2
267
+-0.341426,1.224631,2
268
+1.225364,1.003067,2
269
+-0.391873,1.768654,2
270
+0.487243,1.501587,2
271
+0.555727,0.266137,2
272
+1.356380,0.913251,2
273
+1.426054,0.948958,2
274
+0.377010,1.230766,2
275
+1.322687,0.881298,2
276
+1.500122,1.665929,2
277
+0.299554,1.255211,2
278
+0.599673,1.257958,2
279
+1.203757,1.232139,2
280
+-0.097888,1.645146,2
281
+1.097736,1.046007,2
282
+0.911328,1.066057,2
283
+1.009110,0.979904,2
284
+0.693609,0.765481,2
285
+1.398953,1.091510,2
286
+1.445647,1.087573,2
287
+1.269585,1.145619,2
288
+2.035539,-0.051561,2
289
+-0.315882,2.136799,2
290
+1.404996,1.620792,2
291
+0.083392,1.695502,2
292
+-0.300501,1.673162,2
293
+1.384487,1.113392,2
294
+0.282800,1.316553,2
295
+0.106098,1.694678,2
296
+0.322077,1.729560,2
297
+1.707404,0.832774,2
298
+1.344844,1.204581,2
299
+0.537049,0.909223,2
300
+2.113269,0.149220,2
301
+0.928449,0.961592,2
302
+1.793008,0.092730,2
303
+0.832316,1.120258,2
304
+0.886059,0.724006,2
305
+0.660100,0.851817,2
306
+0.420316,1.373867,2
307
+0.638127,1.330836,2
308
+1.000961,0.957747,2
309
+0.699927,1.211447,2
310
+0.949599,0.947493,2
311
+1.890973,0.519196,2
312
+1.723426,0.720435,2
313
+1.515870,1.256035,2
314
+1.186544,1.440428,2
315
+0.507019,1.176748,2
316
+0.225944,1.425779,2
317
+1.159719,1.032456,2
318
+1.120533,0.497131,2
319
+0.635289,1.041520,2
320
+1.659612,0.721809,2
321
+0.931745,0.951613,2
322
+0.488891,1.793649,2
323
+0.992538,0.840556,2
324
+-0.456511,1.874676,2
325
+0.868572,0.742409,2
326
+0.929090,1.108539,2
327
+1.931257,0.600040,2
328
+1.494903,0.540437,2
329
+1.755745,0.369594,2
330
+1.141133,0.991714,2
331
+0.834330,1.098834,2
332
+1.517609,1.001968,2
333
+0.964156,0.889355,2
334
+1.650548,0.798074,2
335
+0.784982,0.945753,2
336
+1.296777,0.942640,2
337
+0.968551,1.134449,2
338
+0.866100,1.078875,2
339
+0.989883,1.458098,2
340
+0.128620,1.467162,2
341
+0.668523,0.963973,2
342
+1.142232,0.816568,2
343
+1.325159,0.839824,2
344
+1.322321,0.588687,2
345
+1.317011,0.877911,2
346
+0.956740,1.112201,2
347
+1.279565,0.934767,2
348
+1.107990,0.923963,2
349
+0.078906,1.856182,2
350
+0.726112,1.119892,2
351
+0.396146,1.256127,2
352
+0.209189,0.860790,2
353
+1.167959,1.000320,2
354
+0.165700,1.553682,2
355
+0.695715,1.142964,2
356
+2.241081,0.369778,2
357
+2.200613,-0.093585,2
358
+-0.042680,1.140584,2
359
+0.919202,0.842845,2
360
+0.003372,1.514771,2
361
+0.407498,0.821970,2
362
+0.755226,1.210349,2
363
+0.615238,1.132618,2
364
+0.796884,1.184347,2
365
+1.625828,0.801370,2
366
+1.418088,0.815744,2
367
+-0.177541,2.055132,2
368
+-0.089007,1.580782,2
369
+0.308618,0.921308,2
370
+-0.428312,2.089282,2
371
+1.589938,0.716224,2
372
+1.155416,1.310327,2
373
+0.352107,1.350429,2
374
+0.088153,1.730750,2
375
+1.129231,0.751839,2
376
+2.048448,0.202872,2
377
+1.430448,0.759346,2
378
+2.012558,-0.068682,2
379
+1.058275,0.115894,2
380
+0.677679,1.285607,2
381
+1.929609,0.365474,2
382
+0.366573,1.350063,2
383
+2.025559,0.646733,2
384
+1.722327,0.960768,2
385
+1.651280,0.438627,2
386
+1.366817,0.796793,2
387
+1.075030,0.974319,2
388
+2.290521,0.317774,2
389
+0.984756,0.973678,2
390
+0.107013,2.156850,2
391
+0.521210,1.250175,2
392
+0.947493,1.286615,2
393
+0.201590,1.429441,2
394
+1.868816,0.062059,2
395
+0.665868,1.041154,2
396
+1.559450,0.707068,2
397
+0.366573,1.778634,2
398
+1.060381,1.000320,2
399
+1.044176,1.323969,2
400
+1.299524,0.697089,2
401
+1.588565,0.387906,2
402
+0.461058,0.879101,2
403
+0.630345,1.248436,2
404
+1.538026,0.268700,2
405
+2.027299,0.041917,2
406
+1.413785,0.778665,2
407
+1.009568,0.959944,2
408
+-0.051469,1.881542,2
409
+0.885128,3.970916,3
410
+0.515793,3.084201,3
411
+0.982452,4.144597,3
412
+0.128422,3.436140,3
413
+-0.030885,3.130161,3
414
+0.209265,3.584185,3
415
+0.453169,3.568438,3
416
+0.616688,3.896664,3
417
+0.276742,3.416913,3
418
+0.087405,3.869930,3
419
+-0.271126,3.524674,3
420
+0.844386,4.075198,3
421
+0.390912,3.153325,3
422
+0.971007,3.939055,3
423
+1.486740,3.036866,3
424
+-0.009552,2.546770,2
425
+-0.074374,3.485946,3
426
+0.308237,4.558061,3
427
+0.479720,4.007172,3
428
+0.964141,3.105716,3
429
+0.878994,3.106906,3
430
+0.497665,3.329203,3
431
+0.480087,4.149724,3
432
+0.206610,3.510575,3
433
+1.151738,3.573565,3
434
+0.041810,3.046205,3
435
+-0.437300,3.074496,3
436
+-0.195502,4.044252,3
437
+0.768395,3.269051,3
438
+1.335032,3.786157,3
439
+0.324900,3.628132,3
440
+0.338816,3.429365,3
441
+0.416639,2.573504,3
442
+0.532548,3.536485,3
443
+0.408307,2.782891,3
444
+0.612934,4.453139,3
445
+-0.213355,4.576281,3
446
+-0.685598,3.784326,3
447
+1.173620,3.855739,3
448
+0.335246,2.662496,3
449
+0.622730,3.404187,3
450
+1.207221,3.432844,3
451
+0.519822,3.331584,3
452
+0.507096,3.156346,3
453
+-0.685415,4.379803,3
454
+0.254677,4.889859,3
455
+-0.051576,3.126133,3
456
+1.586352,3.733512,3
457
+1.144322,3.073489,3
458
+1.824030,4.205390,3
459
+0.070650,4.699057,3
460
+0.013611,2.650410,3
461
+1.365337,3.597186,3
462
+-0.645497,3.334971,3
463
+0.166051,3.200842,3
464
+-0.453139,2.968017,3
465
+1.008820,3.778558,3
466
+0.166417,3.463973,3
467
+0.410779,4.696951,3
468
+0.604968,3.457472,3
469
+0.715934,3.486221,3
470
+0.057466,3.502335,3
471
+0.113956,3.519547,3
472
+1.234596,3.425703,3
473
+0.120273,3.055086,3
474
+0.899319,3.914151,3
475
+0.415448,3.846950,3
476
+0.562761,3.103702,3
477
+-0.543504,3.972198,3
478
+0.487869,2.824000,3
479
+-0.583239,3.318125,3
480
+0.910215,4.157231,3
481
+0.235176,3.721793,3
482
+-0.126469,2.821894,3
483
+1.250435,3.059481,3
484
+0.823511,3.548570,3
485
+1.797113,3.997833,3
486
+0.319498,3.042543,3
487
+0.799890,2.914457,3
488
+0.447676,3.159459,3
489
+0.084017,4.152745,3
490
+0.190588,2.855861,3
491
+-0.450392,3.270608,3
492
+1.898007,3.726096,3
493
+-0.358470,3.083651,3
494
+-0.353252,3.164586,3
495
+0.689474,3.431013,3
496
+0.253853,3.002716,3
497
+0.558641,3.082369,3
498
+0.898312,4.010743,3
499
+0.475784,3.525681,3
500
+0.459304,4.237709,3
501
+1.202185,3.566240,3
502
+0.382855,3.864620,3
503
+0.100772,4.439222,3
504
+0.463424,3.516526,3
505
+0.476974,3.143345,3
506
+1.079684,3.525132,3
507
+0.374615,2.795892,3
508
+-0.538011,3.651753,3
509
+-0.383831,3.331034,3
510
+1.055696,4.334391,3
511
+0.993896,4.157872,3
512
+0.275826,3.702109,3
513
+0.389904,3.681509,3
514
+0.464522,3.088961,3
515
+-0.666829,3.808039,3
516
+0.837794,3.588580,3
517
+-0.698599,2.755791,3
518
+0.458205,3.403272,3
519
+0.729392,3.981536,3
520
+0.313547,2.873348,3
521
+-0.157964,3.197363,3
522
+0.325907,3.448500,3
523
+-0.121708,4.584704,3
524
+1.381909,3.329295,3
525
+1.270943,3.093448,3
526
+0.495010,3.511124,3
527
+0.610736,3.299173,3
528
+-0.625080,3.143712,3
529
+0.497482,3.745140,3
530
+-0.131779,3.730399,3
531
+0.305124,3.563952,3
532
+0.940519,3.009491,3
533
+-0.169042,3.394940,3
534
+0.239021,4.161718,3
535
+0.185186,2.893033,3
536
+-0.734306,2.758721,3
537
+-0.049837,3.139409,3
538
+-0.332377,2.830409,3
539
+0.478805,2.878933,3
540
+-0.077303,3.415998,3
541
+0.457472,4.719565,3
542
+-0.040132,3.198370,3
543
+-0.276620,4.490310,3
544
+-0.228278,3.518357,3
545
+0.202948,3.230873,3
546
+0.536485,4.103214,3
547
+0.495193,3.351360,3
548
+0.347514,3.261269,3
549
+0.010224,3.607532,3
550
+1.292184,3.304483,3
551
+1.554765,3.235084,3
552
+-0.152104,3.453536,3
553
+0.277291,4.954680,3
554
+-0.342265,4.141942,3
555
+1.771569,3.518723,3
556
+0.856288,3.551775,3
557
+-0.225623,3.630146,3
558
+0.803644,3.704306,3
559
+1.124180,3.071383,3
560
+0.311533,3.328471,3
561
+1.154851,3.234169,3
562
+0.700369,3.586200,3
563
+0.023591,3.808588,3
564
+0.724540,3.667592,3
565
+0.784417,3.867550,3
566
+0.689566,2.997131,3
567
+0.101596,4.134800,3
568
+0.275460,3.141057,3
569
+0.783776,3.478988,3
570
+1.227454,3.224738,3
571
+-0.328715,3.701010,3
572
+0.569903,3.740196,3
573
+0.016449,3.377819,3
574
+-0.155217,4.657857,3
575
+0.940153,3.380291,3
576
+-0.259682,2.703055,3
577
+-0.327708,4.990020,3
578
+1.066683,4.007630,3
579
+0.628315,3.307047,3
580
+0.431745,3.225471,3
581
+-0.742821,2.961425,3
582
+0.155522,3.770318,3
583
+1.997436,4.338694,3
584
+0.951415,3.466628,3
585
+0.533647,3.069552,3
586
+-0.196966,3.260994,3
587
+0.000336,4.792535,3
588
+0.532273,3.239113,3
589
+0.403729,3.725913,3

+ 862
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/DS-850.arff View File

@@ -0,0 +1,862 @@
1
+% Dataset from: http://mail.tku.edu.tw/chchou/others/others.htm
2
+%
3
+% M. C. Su, C. H. Chou, and C. C. Hsieh, “Fuzzy C-Means Algorithm with a Point Symmetry Distance,”
4
+% International Journal of Fuzzy Systems, vol. 7, no. 4, pp. 175-181, 2005.
5
+%
6
+@RELATION DS-850
7
+%
8
+@ATTRIBUTE x REAL
9
+@ATTRIBUTE y REAL
10
+@ATTRIBUTE CLASS {0,1,2,3,4}
11
+%
12
+@DATA
13
+4.489013,3.949385,2
14
+3.234519,3.032182,2
15
+2.339381,3.233512,2
16
+3.067888,3.272515,2
17
+3.337977,3.214286,2
18
+1.623692,1.968673,2
19
+4.459075,3.803079,2
20
+2.746071,2.881115,2
21
+3.022935,3.244224,2
22
+2.634098,2.410794,2
23
+2.209555,2.269341,2
24
+2.93852,4.243461,2
25
+3.307581,3.077136,2
26
+4.325037,3.338618,2
27
+2.868755,2.639683,2
28
+2.849528,2.990066,2
29
+3.360591,3.146077,2
30
+1.935163,2.120289,2
31
+3.001328,3.005997,2
32
+2.815287,2.893017,2
33
+1.970595,2.479919,2
34
+3.990677,3.728278,2
35
+3.402707,3.298334,2
36
+3.945814,2.965621,2
37
+2.735176,2.44998,2
38
+3.608432,3.170064,2
39
+3.252739,3.002152,2
40
+2.484497,3.060198,2
41
+3.994705,3.673803,2
42
+2.799814,2.734718,2
43
+2.907117,2.647374,2
44
+3.115223,4.262139,2
45
+2.973952,2.696356,2
46
+3.986648,3.551485,2
47
+3.326075,3.389431,2
48
+1.859722,1.628361,2
49
+2.762185,2.475341,2
50
+2.888989,3.010208,2
51
+2.817301,3.156148,2
52
+3.017533,2.841655,2
53
+3.685522,3.447386,2
54
+3.414609,3.078967,2
55
+2.412534,2.670171,2
56
+3.551576,3.318201,2
57
+3.1198,3.169698,2
58
+3.662816,3.273339,2
59
+1.914106,2.575411,2
60
+2.720985,2.346248,2
61
+3.747047,3.591311,2
62
+4.447722,3.787515,2
63
+2.788827,2.815561,2
64
+3.065783,2.989334,2
65
+3.015519,3.216941,2
66
+2.533937,2.938429,2
67
+2.929548,3.161733,2
68
+3.606601,3.310785,2
69
+3.96147,3.833018,2
70
+3.200095,3.34109,2
71
+3.943892,3.325709,2
72
+2.584658,2.652593,2
73
+3.367641,3.577944,2
74
+2.17513,2.389279,2
75
+3.093066,3.12978,2
76
+2.019761,2.741035,2
77
+4.233482,4.22158,2
78
+2.910321,2.896588,2
79
+1.983322,2.480926,2
80
+3.507996,2.27694,2
81
+3.990402,4.059343,2
82
+1.925916,1.847545,2
83
+3.645787,3.182974,2
84
+4.467864,3.664098,2
85
+3.275536,3.071001,2
86
+4.161977,3.177847,2
87
+3.09508,2.91792,2
88
+4.149342,2.954726,2
89
+3.058275,2.963149,2
90
+3.212088,3.750984,2
91
+2.805124,2.793954,2
92
+4.023911,3.317652,2
93
+1.784738,2.587313,2
94
+2.851543,2.983566,2
95
+3.440977,3.477416,2
96
+3.884014,3.279107,2
97
+2.566988,1.667821,1
98
+3.63187,3.683508,2
99
+4.088458,3.490051,2
100
+3.419828,3.19982,2
101
+1.620579,2.594363,2
102
+2.707251,2.4476,2
103
+3.235984,3.104053,2
104
+3.289636,3.267296,2
105
+2.4129,2.971023,2
106
+3.734321,3.365169,2
107
+3.03209,3.086383,2
108
+3.335414,2.976608,2
109
+3.027696,2.906568,2
110
+4.230003,3.549654,2
111
+2.794412,2.961592,2
112
+2.394681,2.819956,2
113
+3.058641,2.859142,2
114
+4.406613,3.409665,2
115
+2.688025,2.837901,2
116
+3.278008,2.598025,2
117
+3.077044,3.235527,2
118
+2.397153,2.696722,2
119
+3.55121,3.163015,2
120
+4.190451,3.168416,2
121
+3.975661,3.483825,2
122
+2.23281,2.231712,2
123
+3.067614,2.632267,2
124
+4.437742,3.717017,2
125
+3.95735,3.623539,2
126
+1.619938,2.30633,2
127
+2.358333,2.488342,2
128
+2.216697,3.00325,2
129
+1.918134,2.094745,2
130
+4.448454,3.367367,2
131
+4.092486,3.572451,2
132
+3.174734,3.003067,2
133
+2.684088,3.011216,2
134
+2.024979,1.756264,2
135
+3.234336,3.186087,2
136
+2.188406,3.151204,2
137
+3.201285,3.398129,2
138
+3.079424,3.077868,2
139
+3.771584,3.194418,2
140
+3.158528,4.194937,2
141
+3.240745,2.722175,2
142
+3.004074,2.656713,2
143
+4.359004,3.983718,2
144
+3.045457,3.725257,2
145
+3.311518,3.196341,2
146
+3.102863,3.114399,2
147
+2.70423,2.82728,2
148
+2.041917,2.068468,2
149
+3.529603,3.167592,2
150
+1.794351,2.203787,2
151
+3.494263,3.562563,2
152
+4.08269,3.480621,2
153
+2.457213,3.019456,2
154
+3.813425,3.711249,2
155
+3.066973,3.531343,2
156
+2.773629,2.88963,2
157
+2.249748,2.807321,2
158
+3.618595,3.175283,2
159
+2.797983,2.84019,2
160
+1.904126,3.045457,2
161
+3.362239,2.910504,2
162
+2.943556,2.240318,2
163
+2.555361,2.811625,2
164
+3.765175,3.232414,2
165
+2.491638,2.394314,2
166
+3.685614,2.645451,2
167
+3.340632,3.25988,2
168
+1.918226,2.746071,2
169
+2.996475,3.052416,2
170
+2.523499,3.386685,2
171
+3.628666,3.390255,2
172
+4.116474,3.218497,2
173
+2.613132,2.772439,2
174
+3.207785,3.330836,2
175
+2.992813,3.088488,2
176
+3.233055,3.377255,2
177
+1.7678,2.044023,2
178
+2.996384,3.115223,2
179
+3.60184,2.84376,2
180
+3.942701,3.336421,2
181
+3.245048,3.634434,2
182
+2.772988,3.315912,2
183
+4.425474,3.311792,2
184
+3.493622,3.076952,2
185
+3.58655,3.219779,2
186
+3.369289,3.120167,2
187
+3.822855,3.334498,2
188
+2.712561,2.337275,2
189
+3.655492,3.177847,2
190
+2.587588,2.708991,2
191
+3.208426,3.031816,2
192
+3.306482,3.462127,2
193
+3.516236,3.21337,2
194
+2.43881,2.723365,2
195
+3.334407,3.013596,2
196
+4.029862,3.311426,2
197
+3.439787,3.152211,2
198
+3.083178,3.240837,2
199
+2.100421,1.732002,2
200
+3.254204,3.328455,2
201
+2.785348,3.730201,2
202
+4.286676,3.583987,2
203
+1.88966,2.654149,2
204
+2.709815,2.390561,2
205
+2.923139,2.828928,2
206
+2.654332,2.930189,2
207
+2.894391,2.502533,2
208
+3.320032,3.080798,2
209
+2.326014,2.40228,2
210
+1.332209,0.848247,4
211
+0.332606,1.522279,4
212
+1.871746,0.571383,4
213
+0.207541,1.269402,4
214
+1.274987,0.755776,4
215
+-0.315058,1.648808,4
216
+0.344783,0.985763,4
217
+1.361049,0.866649,4
218
+2.266167,0.112964,4
219
+1.621342,0.739845,4
220
+1.357845,0.763741,4
221
+0.229057,1.541688,4
222
+0.090167,2.268548,4
223
+0.854747,0.964064,4
224
+1.111011,0.955916,4
225
+0.646733,1.228477,4
226
+0.478088,1.719123,4
227
+2.260125,0.195547,4
228
+1.244407,0.994827,4
229
+0.88432,1.153676,4
230
+1.209342,0.657262,4
231
+1.785043,0.957106,4
232
+0.503357,1.339991,4
233
+0.797342,1.06972,4
234
+-0.031785,1.403989,4
235
+1.447295,0.832316,4
236
+0.872784,1.564486,4
237
+0.167989,1.615665,4
238
+2.123798,1.055895,4
239
+0.881756,1.013138,4
240
+1.551759,0.457488,4
241
+1.230125,0.906842,4
242
+0.793588,0.533113,4
243
+1.406369,0.729133,4
244
+1.399228,1.232414,4
245
+0.842662,1.141316,4
246
+-0.146321,1.08446,4
247
+2.246941,0.728401,4
248
+1.768929,0.250023,4
249
+0.961959,0.926069,4
250
+0.312922,1.584811,4
251
+0.590243,1.318567,4
252
+1.702002,0.393399,4
253
+0.13329,0.976333,4
254
+1.409116,0.916822,4
255
+0.187765,1.056169,4
256
+0.675939,0.721442,4
257
+1.467528,0.469115,4
258
+0.868755,0.925977,4
259
+0.826731,1.108997,4
260
+2.161336,0.437346,4
261
+1.886944,0.347163,4
262
+0.483856,1.694678,4
263
+1.781289,0.356319,4
264
+0.980819,0.936048,4
265
+1.145161,0.52414,4
266
+0.166158,1.298975,4
267
+-0.324396,1.584536,4
268
+-0.341426,1.224631,4
269
+1.225364,1.003067,4
270
+-0.391873,1.768654,4
271
+0.487243,1.501587,4
272
+0.555727,0.266137,4
273
+1.35638,0.913251,4
274
+1.426054,0.948958,4
275
+0.37701,1.230766,4
276
+1.322687,0.881298,4
277
+1.500122,1.665929,4
278
+0.299554,1.255211,4
279
+0.599673,1.257958,4
280
+1.203757,1.232139,4
281
+-0.097888,1.645146,4
282
+1.097736,1.046007,4
283
+0.911328,1.066057,4
284
+1.00911,0.979904,4
285
+0.693609,0.765481,4
286
+1.398953,1.09151,4
287
+1.445647,1.087573,4
288
+1.269585,1.145619,4
289
+2.035539,-0.051561,4
290
+-0.315882,2.136799,4
291
+1.404996,1.620792,4
292
+0.083392,1.695502,4
293
+-0.300501,1.673162,4
294
+1.384487,1.113392,4
295
+0.2828,1.316553,4
296
+0.106098,1.694678,4
297
+0.322077,1.72956,4
298
+1.707404,0.832774,4
299
+1.344844,1.204581,4
300
+0.537049,0.909223,4
301
+2.113269,0.14922,4
302
+0.928449,0.961592,4
303
+1.793008,0.09273,4
304
+0.832316,1.120258,4
305
+0.886059,0.724006,4
306
+0.6601,0.851817,4
307
+0.420316,1.373867,4
308
+0.638127,1.330836,4
309
+1.000961,0.957747,4
310
+0.699927,1.211447,4
311
+0.949599,0.947493,4
312
+1.890973,0.519196,4
313
+1.723426,0.720435,4
314
+1.51587,1.256035,4
315
+1.186544,1.440428,4
316
+0.507019,1.176748,4
317
+0.225944,1.425779,4
318
+1.159719,1.032456,4
319
+1.120533,0.497131,4
320
+0.635289,1.04152,4
321
+1.659612,0.721809,4
322
+0.931745,0.951613,4
323
+0.488891,1.793649,4
324
+0.992538,0.840556,4
325
+-0.456511,1.874676,4
326
+0.868572,0.742409,4
327
+0.92909,1.108539,4
328
+1.931257,0.60004,4
329
+1.494903,0.540437,4
330
+1.755745,0.369594,4
331
+1.141133,0.991714,4
332
+0.83433,1.098834,4
333
+1.517609,1.001968,4
334
+0.964156,0.889355,4
335
+1.650548,0.798074,4
336
+0.784982,0.945753,4
337
+1.296777,0.94264,4
338
+0.968551,1.134449,4
339
+0.8661,1.078875,4
340
+0.989883,1.458098,4
341
+0.12862,1.467162,4
342
+0.668523,0.963973,4
343
+1.142232,0.816568,4
344
+1.325159,0.839824,4
345
+1.322321,0.588687,4
346
+1.317011,0.877911,4
347
+0.95674,1.112201,4
348
+1.279565,0.934767,4
349
+1.10799,0.923963,4
350
+0.078906,1.856182,4
351
+0.726112,1.119892,4
352
+0.396146,1.256127,4
353
+0.209189,0.86079,4
354
+1.167959,1.00032,4
355
+0.1657,1.553682,4
356
+0.695715,1.142964,4
357
+2.241081,0.369778,4
358
+2.200613,-0.093585,4
359
+-0.04268,1.140584,4
360
+0.919202,0.842845,4
361
+0.003372,1.514771,4
362
+0.407498,0.82197,4
363
+0.755226,1.210349,4
364
+0.615238,1.132618,4
365
+0.796884,1.184347,4
366
+1.625828,0.80137,4
367
+1.418088,0.815744,4
368
+-0.177541,2.055132,4
369
+-0.089007,1.580782,4
370
+0.308618,0.921308,4
371
+-0.428312,2.089282,4
372
+1.589938,0.716224,4
373
+1.155416,1.310327,4
374
+0.352107,1.350429,4
375
+0.088153,1.73075,4
376
+1.129231,0.751839,4
377
+2.048448,0.202872,4
378
+1.430448,0.759346,4
379
+2.012558,-0.068682,4
380
+1.058275,0.115894,4
381
+0.677679,1.285607,4
382
+1.929609,0.365474,4
383
+0.366573,1.350063,4
384
+2.025559,0.646733,4
385
+1.722327,0.960768,4
386
+1.65128,0.438627,4
387
+1.366817,0.796793,4
388
+1.07503,0.974319,4
389
+2.290521,0.317774,4
390
+0.984756,0.973678,4
391
+0.107013,2.15685,4
392
+0.52121,1.250175,4
393
+0.947493,1.286615,4
394
+0.20159,1.429441,4
395
+1.868816,0.062059,4
396
+0.665868,1.041154,4
397
+1.55945,0.707068,4
398
+0.366573,1.778634,4
399
+1.060381,1.00032,4
400
+1.044176,1.323969,4
401
+1.299524,0.697089,4
402
+1.588565,0.387906,4
403
+0.461058,0.879101,4
404
+0.630345,1.248436,4
405
+1.538026,0.2687,4
406
+2.027299,0.041917,4
407
+1.413785,0.778665,4
408
+1.009568,0.959944,4
409
+-0.051469,1.881542,4
410
+0.885128,3.970916,3
411
+0.515793,3.084201,3
412
+0.982452,4.144597,3
413
+0.128422,3.43614,3
414
+-0.030885,3.130161,3
415
+0.209265,3.584185,3
416
+0.453169,3.568438,3
417
+0.616688,3.896664,3
418
+0.276742,3.416913,3
419
+0.087405,3.86993,3
420
+-0.271126,3.524674,3
421
+0.844386,4.075198,3
422
+0.390912,3.153325,3
423
+0.971007,3.939055,3
424
+1.48674,3.036866,3
425
+-0.009552,2.54677,3
426
+-0.074374,3.485946,3
427
+0.308237,4.558061,3
428
+0.47972,4.007172,3
429
+0.964141,3.105716,3
430
+0.878994,3.106906,3
431
+0.497665,3.329203,3
432
+0.480087,4.149724,3
433
+0.20661,3.510575,3
434
+1.151738,3.573565,3
435
+0.04181,3.046205,3
436
+-0.4373,3.074496,3
437
+-0.195502,4.044252,3
438
+0.768395,3.269051,3
439
+1.335032,3.786157,3
440
+0.3249,3.628132,3
441
+0.338816,3.429365,3
442
+0.416639,2.573504,3
443
+0.532548,3.536485,3
444
+0.408307,2.782891,3
445
+0.612934,4.453139,3
446
+-0.213355,4.576281,3
447
+-0.685598,3.784326,3
448
+1.17362,3.855739,3
449
+0.335246,2.662496,3
450
+0.62273,3.404187,3
451
+1.207221,3.432844,3
452
+0.519822,3.331584,3
453
+0.507096,3.156346,3
454
+-0.685415,4.379803,3
455
+0.254677,4.889859,3
456
+-0.051576,3.126133,3
457
+1.586352,3.733512,3
458
+1.144322,3.073489,3
459
+1.82403,4.20539,3
460
+0.07065,4.699057,3
461
+0.013611,2.65041,3
462
+1.365337,3.597186,3
463
+-0.645497,3.334971,3
464
+0.166051,3.200842,3
465
+-0.453139,2.968017,3
466
+1.00882,3.778558,3
467
+0.166417,3.463973,3
468
+0.410779,4.696951,3
469
+0.604968,3.457472,3
470
+0.715934,3.486221,3
471
+0.057466,3.502335,3
472
+0.113956,3.519547,3
473
+1.234596,3.425703,3
474
+0.120273,3.055086,3
475
+0.899319,3.914151,3
476
+0.415448,3.84695,3
477
+0.562761,3.103702,3
478
+-0.543504,3.972198,3
479
+0.487869,2.824,3
480
+-0.583239,3.318125,3
481
+0.910215,4.157231,3
482
+0.235176,3.721793,3
483
+-0.126469,2.821894,3
484
+1.250435,3.059481,3
485
+0.823511,3.54857,3
486
+1.797113,3.997833,3
487
+0.319498,3.042543,3
488
+0.79989,2.914457,3
489
+0.447676,3.159459,3
490
+-0.214637,2.469314,3
491
+0.084017,4.152745,3
492
+0.190588,2.855861,3
493
+-0.450392,3.270608,3
494
+1.898007,3.726096,3
495
+-0.35847,3.083651,3
496
+-0.353252,3.164586,3
497
+0.689474,3.431013,3
498
+0.253853,3.002716,3
499
+0.558641,3.082369,3
500
+0.898312,4.010743,3
501
+0.475784,3.525681,3
502
+0.459304,4.237709,3
503
+1.202185,3.56624,3
504
+0.382855,3.86462,3
505
+0.100772,4.439222,3
506
+0.463424,3.516526,3
507
+0.476974,3.143345,3
508
+1.079684,3.525132,3
509
+0.374615,2.795892,3
510
+-0.538011,3.651753,3
511
+-0.383831,3.331034,3
512
+1.055696,4.334391,3
513
+0.993896,4.157872,3
514
+0.275826,3.702109,3
515
+0.389904,3.681509,3
516
+0.464522,3.088961,3
517
+-0.666829,3.808039,3
518
+0.837794,3.58858,3
519
+-0.698599,2.755791,3
520
+0.458205,3.403272,3
521
+0.729392,3.981536,3
522
+0.313547,2.873348,3
523
+-0.157964,3.197363,3
524
+0.325907,3.4485,3
525
+-0.121708,4.584704,3
526
+1.381909,3.329295,3
527
+1.270943,3.093448,3
528
+0.49501,3.511124,3
529
+0.610736,3.299173,3
530
+-0.62508,3.143712,3
531
+0.497482,3.74514,3
532
+-0.131779,3.730399,3
533
+0.305124,3.563952,3
534
+0.940519,3.009491,3
535
+-0.169042,3.39494,3
536
+0.239021,4.161718,3
537
+0.185186,2.893033,3
538
+-0.734306,2.758721,3
539
+-0.049837,3.139409,3
540
+-0.332377,2.830409,3
541
+0.478805,2.878933,3
542
+-0.077303,3.415998,3
543
+0.457472,4.719565,3
544
+-0.040132,3.19837,3
545
+-0.27662,4.49031,3
546
+-0.228278,3.518357,3
547
+0.202948,3.230873,3
548
+0.536485,4.103214,3
549
+0.495193,3.35136,3
550
+0.347514,3.261269,3
551
+0.010224,3.607532,3
552
+1.292184,3.304483,3
553
+1.554765,3.235084,3
554
+-0.152104,3.453536,3
555
+0.277291,4.95468,3
556
+-0.342265,4.141942,3
557
+1.771569,3.518723,3
558
+0.856288,3.551775,3
559
+-0.225623,3.630146,3
560
+0.803644,3.704306,3
561
+1.12418,3.071383,3
562
+0.311533,3.328471,3
563
+1.154851,3.234169,3
564
+0.700369,3.5862,3
565
+0.023591,3.808588,3
566
+0.72454,3.667592,3
567
+0.784417,3.86755,3
568
+0.689566,2.997131,3
569
+0.101596,4.1348,3
570
+0.27546,3.141057,3
571
+0.783776,3.478988,3
572
+1.227454,3.224738,3
573
+-0.328715,3.70101,3
574
+0.569903,3.740196,3
575
+0.016449,3.377819,3
576
+-0.155217,4.657857,3
577
+0.940153,3.380291,3
578
+-0.259682,2.703055,3
579
+-0.327708,4.99002,3
580
+1.066683,4.00763,3
581
+0.628315,3.307047,3
582
+0.431745,3.225471,3
583
+-0.742821,2.961425,3
584
+0.155522,3.770318,3
585
+1.997436,4.338694,3
586
+0.951415,3.466628,3
587
+0.533647,3.069552,3
588
+-0.196966,3.260994,3
589
+3.36E-4,4.792535,3
590
+0.532273,3.239113,3
591
+0.403729,3.725913,3
592
+3.0466,0.8906,1
593
+3.4236,1.2917,1
594
+2.9544,1.5989,1
595
+2.6431,1.2687,1
596
+3.1879,1.1276,1
597
+2.77,1.2251,1
598
+2.6802,1.024,1
599
+3.1576,1.456,1
600
+3.3111,1.3991,1
601
+2.7581,1.0598,1
602
+2.5632,1.3539,1
603
+3.4348,1.361,1
604
+3.1107,0.9554,1
605
+3.2574,1.2387,1
606
+2.6672,1.4757,1
607
+2.9605,0.7438,1
608
+3.3683,0.9736,1
609
+2.8829,0.8942,1
610
+2.8578,1.0018,1
611
+3.2157,1.6215,1
612
+3.0573,0.9584,1
613
+2.9994,1.1129,1
614
+2.9966,0.8444,1
615
+2.686,1.3302,1
616
+2.8344,0.9064,1
617
+3.0478,0.7252,1
618
+3.2119,1.3143,1
619
+2.8879,1.012,1
620
+3.1902,0.8477,1
621
+2.6245,1.1839,1
622
+3.0361,1.4348,1
623
+2.5609,1.0648,1
624
+3.2659,1.3763,1
625
+2.8736,1.4217,1
626
+2.9743,1.5466,1
627
+3.3924,1.0375,1
628
+2.705,1.5801,1
629
+2.739,1.3941,1
630
+3.0772,0.9015,1
631
+3.0222,0.9066,1
632
+2.8963,1.2059,1
633
+3.1287,1.2452,1
634
+3.3168,1.4412,1
635
+2.8625,1.5371,1
636
+3.4016,1.3861,1
637
+3.2661,1.5486,1
638
+3.0381,0.776,1
639
+3.0433,1.6482,1
640
+3.4306,1.3829,1
641
+3.3411,1.2587,1
642
+2.99,1.6495,1
643
+2.971,1.3644,1
644
+3.1535,1.3853,1
645
+3.4215,0.9532,1
646
+2.891,0.9514,1
647
+3.1124,0.9946,1
648
+3.1296,0.936,1
649
+2.9762,1.2447,1
650
+2.8389,1.2302,1
651
+3.3215,0.9276,1
652
+2.6176,0.9427,1
653
+3.0725,1.4201,1
654
+3.3068,1.5678,1
655
+2.921,1.4005,1
656
+3.1617,0.8556,1
657
+3.0239,1.1939,1
658
+3.1172,1.3509,1
659
+2.9652,0.8766,1
660
+3.2834,0.8226,1
661
+2.8343,1.4653,1
662
+2.7326,1.2946,1
663
+2.7182,1.5419,1
664
+3.3502,1.5552,1
665
+3.4764,1.2695,1
666
+2.9481,1.5638,1
667
+2.82,1.0248,1
668
+3.133,0.7919,1
669
+3.2613,0.844,1
670
+2.7627,1.3866,1
671
+2.6678,1.1849,1
672
+3.0895,0.8952,1
673
+2.9198,1.5528,1
674
+2.813,0.7473,1
675
+3.3119,1.0346,1
676
+2.9812,1.3445,1
677
+3.2469,1.0035,1
678
+2.7491,0.8337,1
679
+3.1573,1.2665,1
680
+2.9082,0.7462,1
681
+3.099,0.7124,1
682
+3.1364,1.5234,1
683
+3.3361,1.5093,1
684
+3.2017,1.4367,1
685
+2.9375,0.7484,1
686
+3.4003,1.432,1
687
+3.3817,1.1208,1
688
+3.0486,1.358,1
689
+2.6941,1.4811,1
690
+3.2903,1.1851,1
691
+2.8224,1.5228,1
692
+3.2368,0.8982,1
693
+3.1496,0.8235,1
694
+3.3555,1.0175,1
695
+3.0348,1.2413,1
696
+3.1649,1.1417,1
697
+2.7659,1.3498,1
698
+3.383,1.2544,1
699
+2.6798,1.2099,1
700
+2.9077,0.9295,1
701
+2.861,1.1694,1
702
+2.633,1.1877,1
703
+3.178,1.0399,1
704
+3.2835,0.8457,1
705
+2.607,1.1245,1
706
+2.8487,0.9091,1
707
+2.9784,1.5921,1
708
+2.6954,1.0659,1
709
+3.3844,1.2377,1
710
+3.1864,1.3007,1
711
+3.2634,0.942,1
712
+2.9609,1.3483,1
713
+2.3222,4.7297,0
714
+2.0102,5.8892,0
715
+1.9736,4.9542,0
716
+2.0739,6.1202,0
717
+1.8746,5.4656,0
718
+1.8312,5.9963,0
719
+2.7406,5.6412,0
720
+2.3835,5.1521,0
721
+1.5146,5.1934,0
722
+1.8953,5.4618,0
723
+2.7591,5.9729,0
724
+2.0065,4.8304,0
725
+1.7675,5.7072,0
726
+2.3688,4.9301,0
727
+2.6894,5.8566,0
728
+2.6825,5.1377,0
729
+2.2968,5.8287,0
730
+1.4757,5.8335,0
731
+1.472,5.7901,0
732
+2.2275,4.8616,0
733
+1.8202,6.1757,0
734
+2.3617,5.8219,0
735
+2.3221,5.5861,0
736
+2.8457,5.1191,0
737
+2.3828,6.0148,0
738
+1.7969,5.2553,0
739
+2.2738,6.1126,0
740
+1.77,5.6628,0
741
+2.5319,5.9331,0
742
+1.552,5.3145,0
743
+1.5312,5.213,0
744
+2.7981,4.9891,0
745
+2.4918,5.8279,0
746
+2.4553,4.8288,0
747
+1.7916,5.0269,0
748
+1.637,4.9325,0
749
+2.5627,5.9182,0
750
+2.306,5.5763,0
751
+1.9065,6.0425,0
752
+1.4253,5.3605,0
753
+2.069,5.5083,0
754
+1.8674,5.2289,0
755
+1.8638,5.8712,0
756
+1.6409,6.0213,0
757
+2.4964,4.9606,0
758
+1.5325,5.214,0
759
+1.7782,5.4711,0
760
+2.3946,6.1663,0
761
+2.4909,4.7728,0
762
+2.6288,6.0937,0
763
+2.2467,4.9457,0
764
+1.993,5.4824,0
765
+2.4213,5.7468,0
766
+1.8352,5.7537,0
767
+2.7662,5.6801,0
768
+1.9225,5.7694,0
769
+2.3213,5.6617,0
770
+2.1368,5.1172,0
771
+2.4768,5.4474,0
772
+2.6968,6.0274,0
773
+2.7557,6.0069,0
774
+2.1598,4.8701,0
775
+2.9752,5.5123,0
776
+1.6072,5.6647,0
777
+2.3178,6.1736,0
778
+1.7799,5.1267,0
779
+2.8634,5.3434,0
780
+2.4801,5.3631,0
781
+2.561,5.0926,0
782
+1.8236,6.0521,0
783
+2.3175,5.7688,0
784
+2.6358,5.8178,0
785
+2.5086,5.847,0
786
+1.6335,5.8464,0
787
+2.4169,5.8333,0
788
+1.4211,5.4334,0
789
+1.6612,5.9826,0
790
+2.0288,6.0047,0
791
+1.6625,5.02,0
792
+2.3545,5.5553,0
793
+1.6431,4.9918,0
794
+2.5684,5.2849,0
795
+2.0127,5.2208,0
796
+2.1003,6.1335,0
797
+2.1526,5.5316,0
798
+1.5818,5.87,0
799
+2.1452,4.8742,0
800
+1.4964,5.5526,0
801
+2.0921,5.531,0
802
+2.2299,6.1897,0
803
+2.3661,5.8457,0
804
+2.1353,5.1438,0
805
+1.9777,5.0026,0
806
+2.1738,4.9302,0
807
+1.6812,6.0884,0
808
+2.665,5.8623,0
809
+2.1855,5.2807,0
810
+2.8673,5.6003,0
811
+2.7301,5.0126,0
812
+2.6533,5.1737,0
813
+1.7884,5.7296,0
814
+2.2207,5.5175,0
815
+1.8122,5.6868,0
816
+2.8111,5.358,0
817
+1.9665,6.1298,0
818
+2.0781,5.4653,0
819
+2.3935,6.1625,0
820
+2.0251,5.9905,0
821
+1.5333,5.5441,0
822
+1.9848,5.3651,0
823
+2.6955,5.3894,0
824
+2.0669,5.7137,0
825
+2.7647,5.457,0
826
+1.9887,4.8114,0
827
+2.4028,5.2774,0
828
+2.4226,5.2334,0
829
+2.266,5.6961,0
830
+2.2259,5.2215,0
831
+2.64,5.749,0
832
+1.9013,5.02,0
833
+1.53,5.7113,0
834
+2.2673,5.3282,0
835
+2.247,5.3851,0
836
+1.5879,5.5112,0
837
+2.1713,5.0141,0
838
+2.0475,5.0482,0
839
+2.886,5.5345,0
840
+2.6161,5.2967,0
841
+2.6257,5.3263,0
842
+1.4845,5.7957,0
843
+1.518,5.1085,0
844
+2.115,5.0725,0
845
+2.9158,5.6042,0
846
+2.0694,5.5139,0
847
+2.8569,5.6597,0
848
+2.4257,4.7493,0
849
+2.7371,5.4397,0
850
+2.8263,5.435,0
851
+2.781,5.446,0
852
+2.7076,5.7135,0
853
+2.302,5.6704,0
854
+2.0946,6.1397,0
855
+1.8825,5.1417,0
856
+2.1004,5.488,0
857
+1.4692,5.3988,0
858
+2.589,5.9952,0
859
+2.2515,6.0501,0
860
+1.4673,5.2398,0
861
+2.656,5.9093,0
862
+2.9089,5.7155,0

+ 610
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/R15.arff View File

@@ -0,0 +1,610 @@
1
+% R15, N=600, M=15, D=2
2
+% Veenman, C.J., M.J.T. Reinders, and E. Backer, A maximum variance cluster algorithm. IEEE Trans. Pattern Analysis and Machine Intelligence, 2002. 24(9): p. 1273-1280.
3
+%
4
+@RELATION R15
5
+
6
+@ATTRIBUTE x REAL
7
+@ATTRIBUTE y REAL
8
+@ATTRIBUTE class {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}
9
+
10
+@DATA
11
+9.802,10.132,1
12
+10.35,9.768,1
13
+10.098,9.988,1
14
+9.73,9.91,1
15
+9.754,10.43,1
16
+9.836,9.902,1
17
+10.238,9.866,1
18
+9.53,9.862,1
19
+10.154,9.82,1
20
+9.336,10.456,1
21
+9.378,10.21,1
22
+9.712,10.264,1
23
+9.638,10.208,1
24
+9.518,9.956,1
25
+10.236,9.91,1
26
+9.4,10.086,1
27
+10.196,9.746,1
28
+10.138,9.828,1
29
+10.062,10.26,1
30
+10.394,9.984,1
31
+10.284,10.348,1
32
+9.706,9.978,1
33
+9.906,10.588,1
34
+10.356,9.198,1
35
+9.954,9.704,1
36
+9.796,10.378,1
37
+10.386,10.608,1
38
+10.41,9.912,1
39
+10.172,10.598,1
40
+10.286,9.712,1
41
+9.932,10.234,1
42
+10.298,9.948,1
43
+10.352,9.932,1
44
+9.848,10.328,1
45
+10.514,10.498,1
46
+9.944,9.934,1
47
+9.92,10.022,1
48
+9.908,10.606,1
49
+10.182,9.99,1
50
+10.256,9.25,1
51
+12.04,10.028,2
52
+12.082,10.044,2
53
+12.4,10.156,2
54
+11.988,9.926,2
55
+12.34,9.918,2
56
+12.228,9.978,2
57
+12.348,10.488,2
58
+12.044,9.358,2
59
+11.736,10.122,2
60
+12.35,9.798,2
61
+11.246,10.122,2
62
+12.276,10.99,2
63
+12.374,10.018,2
64
+12.53,10,2
65
+12.27,9.792,2
66
+12.364,10.176,2
67
+12.458,10.18,2
68
+11.952,9.682,2
69
+11.772,9.924,2
70
+11.502,10.008,2
71
+12.134,9.482,2
72
+11.628,10.286,2
73
+12.064,9.616,2
74
+11.906,9.82,2
75
+11.736,10.29,2
76
+12.114,10.904,2
77
+11.59,9.712,2
78
+12.648,9.814,2
79
+12.164,11.018,2
80
+12.22,9.796,2
81
+11.846,9.634,2
82
+11.808,10.058,2
83
+12.096,9.846,2
84
+11.594,10.078,2
85
+12.252,9.938,2
86
+11.998,9.676,2
87
+11.894,10.012,2
88
+12.274,9.936,2
89
+12.176,10.364,2
90
+12.104,10.388,2
91
+11.372,11.466,3
92
+10.94,11.482,3
93
+11.084,11.554,3
94
+11.232,11.374,3
95
+11.22,11.64,3
96
+10.962,11.75,3
97
+11.014,11.746,3
98
+11.524,10.982,3
99
+11.012,11.364,3
100
+11.2,11.062,3
101
+11.626,11.894,3
102
+11.23,11.728,3
103
+11.144,11.91,3
104
+11.106,11.868,3
105
+11.53,11.918,3
106
+11.21,11.114,3
107
+10.746,11.702,3
108
+11.154,11.692,3
109
+11.412,11.924,3
110
+10.948,11.532,3
111
+10.988,12.298,3
112
+10.96,11.392,3
113
+11.656,11.346,3
114
+11.178,12.062,3
115
+11.368,11.56,3
116
+11.264,11.724,3
117
+11.554,11.576,3
118
+10.974,11.114,3
119
+11.12,11.634,3
120
+11.51,12.052,3
121
+10.95,11.402,3
122
+11.864,12.406,3
123
+11.198,10.854,3
124
+11.65,11.496,3
125
+11.248,11.722,3
126
+11.602,11.888,3
127
+11.424,11.454,3
128
+11.312,11.718,3
129
+10.736,11.68,3
130
+11.56,11.798,3
131
+10.028,12.268,4
132
+9.282,11.976,4
133
+9.178,11.53,4
134
+9.954,12.398,4
135
+9.622,11.558,4
136
+9.914,11.844,4
137
+9.07,11.092,4
138
+10.578,11.354,4
139
+9.582,12.14,4
140
+9.622,11.528,4
141
+9.35,11.71,4
142
+10.234,11.974,4
143
+8.986,12.31,4
144
+9.438,12.11,4
145
+9.592,12.012,4
146
+9.666,11.88,4
147
+9.364,12.012,4
148
+9.71,11.772,4
149
+9.992,11.836,4
150
+9.916,12.028,4
151
+9.382,12.226,4
152
+9.808,12.23,4
153
+9.272,12.152,4
154
+9.392,11.18,4
155
+9.28,11.976,4
156
+9.848,11.632,4
157
+9.322,11.514,4
158
+9.718,11.95,4
159
+9.12,11.76,4
160
+8.978,12.37,4
161
+10.072,12.202,4
162
+9.966,11.822,4
163
+9.506,11.648,4
164
+9.702,11.536,4
165
+9.45,11.96,4
166
+9.916,11.962,4
167
+9.96,11.538,4
168
+9.014,11.744,4
169
+9.024,11.846,4
170
+10.296,11.61,4
171
+7.87,10.838,5
172
+8.164,10.534,5
173
+8.214,10.62,5
174
+8.166,10.698,5
175
+8.05,10.746,5
176
+7.978,11.13,5
177
+8.08,10.992,5
178
+8.472,11.082,5
179
+8.494,10.584,5
180
+8.354,10.38,5
181
+8.096,10.714,5
182
+7.882,10.832,5
183
+7.908,11.346,5
184
+7.814,10.872,5
185
+8.28,10.104,5
186
+8.082,10.676,5
187
+8.068,10.118,5
188
+8.116,10.698,5
189
+8.042,10.79,5
190
+8.096,10.878,5
191
+8.124,10.932,5
192
+8.632,11.124,5
193
+8.27,10.716,5
194
+7.622,10.148,5
195
+8.198,11.398,5
196
+8.582,11.064,5
197
+7.942,11.076,5
198
+8.004,10.574,5
199
+8.504,11.378,5
200
+8.118,11.012,5
201
+7.874,11.296,5
202
+7.668,10.924,5
203
+7.966,10.72,5
204
+7.94,10.996,5
205
+7.988,11.228,5
206
+8.164,11.112,5
207
+8.386,10.772,5
208
+8.248,10.994,5
209
+8.286,10.734,5
210
+8.224,10.316,5
211
+7.976,9.578,6
212
+7.876,8.796,6
213
+8.172,9.01,6
214
+8.068,9.202,6
215
+8.416,8.654,6
216
+8.71,8.458,6
217
+8.056,8.434,6
218
+7.304,9.266,6
219
+8.118,8.608,6
220
+7.616,9.446,6
221
+8.092,8.956,6
222
+8.368,8.968,6
223
+8.022,9.334,6
224
+8.32,9.062,6
225
+7.832,8.952,6
226
+7.704,8.672,6
227
+8.236,9.108,6
228
+8.37,8.904,6
229
+8.352,8.896,6
230
+8.046,9.228,6
231
+7.71,9.538,6
232
+8.534,8.55,6
233
+7.996,9.172,6
234
+8.046,9.204,6
235
+8.622,9.174,6
236
+7.776,8.898,6
237
+8.226,9.038,6
238
+7.904,9.194,6
239
+7.874,8.856,6
240
+7.992,8.952,6
241
+8.262,9.468,6
242
+8.088,9.294,6
243
+8.034,9.792,6
244
+8.352,9.016,6
245
+7.85,9.334,6
246
+8.404,9.366,6
247
+7.892,8.808,6
248
+8.202,9.232,6
249
+7.668,9.026,6
250
+8.242,9.308,6
251
+9.432,8.61,7
252
+10.066,8.19,7
253
+9.146,8.044,7
254
+9.662,7.866,7
255
+9.6,7.874,7
256
+8.618,8.552,7
257
+9.334,7.658,7
258
+9.424,7.83,7
259
+8.892,8.166,7
260
+9.386,7.746,7
261
+9.878,8.054,7
262
+9.558,7.948,7
263
+9.222,8.002,7
264
+9.52,8.282,7
265
+9.76,7.932,7
266
+9.568,8.052,7
267
+9.736,7.552,7
268
+9.584,8.478,7
269
+9.358,8.242,7
270
+9.404,7.79,7
271
+9.458,8.54,7
272
+9.482,7.766,7
273
+8.844,8.024,7
274
+9.29,8.472,7
275
+9.274,7.566,7
276
+9.11,8.014,7
277
+9.542,7.688,7
278
+9.432,8.122,7
279
+9.786,8.066,7
280
+9.382,7.664,7
281
+9.404,8.228,7
282
+9.146,8.158,7
283
+9.622,8.004,7
284
+10.286,7.892,7
285
+9.43,7.676,7
286
+9.44,8.058,7
287
+9.788,7.684,7
288
+9.586,7.91,7
289
+9.694,7.448,7
290
+9.576,7.866,7
291
+11.442,8.688,8
292
+11.466,8.558,8
293
+10.674,8.936,8
294
+11.23,8.126,8
295
+11.614,8.588,8
296
+11.59,8.496,8
297
+11.536,7.586,8
298
+11.638,8.266,8
299
+11.16,8.43,8
300
+10.904,8.532,8
301
+11.284,8.742,8
302
+11.25,8.192,8
303
+10.84,8.218,8
304
+11.798,8.836,8
305
+11.51,8.094,8
306
+10.932,7.796,8
307
+11.404,8.206,8
308
+11.088,8.326,8
309
+11.334,8.17,8
310
+11.272,8.394,8
311
+11.59,8.408,8
312
+11.212,8.516,8
313
+11.566,8.024,8
314
+11.246,8.584,8
315
+11.252,8.566,8
316
+10.78,8.294,8
317
+11.04,8.322,8
318
+11.198,7.886,8
319
+11.168,8.262,8
320
+11.88,8.08,8
321
+11.356,8.586,8
322
+11.182,8.342,8
323
+10.836,8.664,8
324
+11.696,8.906,8
325
+11.282,8.28,8
326
+10.718,8.534,8
327
+10.444,8.684,8
328
+11.124,8.618,8
329
+11.392,8.94,8
330
+11.212,8.308,8
331
+16.674,9.638,9
332
+16.162,10.302,9
333
+16.612,10.218,9
334
+16.1,9.702,9
335
+16.404,10.072,9
336
+15.93,10.106,9
337
+16.128,9.888,9
338
+16.41,10.188,9
339
+15.982,9.92,9
340
+16.224,10.02,9
341
+16.296,9.458,9
342
+16.586,10.174,9
343
+16.314,10.716,9
344
+16.278,9.452,9
345
+16.622,9.652,9
346
+16.22,9.494,9
347
+16.626,10.162,9
348
+16.982,10.596,9
349
+16.27,10.128,9
350
+16.202,9.7,9
351
+16.532,9.776,9
352
+17.124,9.726,9
353
+16.47,9.698,9
354
+16.004,10.28,9
355
+16.366,9.796,9
356
+16.268,9.522,9
357
+16.13,9.748,9
358
+16.67,10.498,9
359
+16.488,10.542,9
360
+16.57,10.21,9
361
+16.456,10.112,9
362
+16.482,9.986,9
363
+16.584,9.754,9
364
+16.1,9.93,9
365
+16.226,9.67,9
366
+16.448,9.566,9
367
+16.572,9.624,9
368
+16.436,9.41,9
369
+16.502,9.98,9
370
+16.418,9.966,9
371
+14.362,14.644,10
372
+14.138,14.63,10
373
+14.064,15.072,10
374
+13.692,14.958,10
375
+14.238,15.296,10
376
+13.73,15.128,10
377
+13.952,14.868,10
378
+13.986,14.77,10
379
+13.916,14.996,10
380
+13.874,14.954,10
381
+14.168,15.276,10
382
+14.278,15.152,10
383
+14.098,14.9,10
384
+13.764,15.212,10
385
+13.948,14.218,10
386
+14.13,14.838,10
387
+13.362,14.932,10
388
+13.546,14.844,10
389
+14.13,15.11,10
390
+13.816,14.602,10
391
+14.386,14.686,10
392
+13.786,14.726,10
393
+14.204,14.822,10
394
+13.856,15.206,10
395
+14.074,14.384,10
396
+13.68,14.988,10
397
+14.204,14.976,10
398
+13.388,15.39,10
399
+13.708,15.048,10
400
+14.114,15.366,10
401
+14.4,15.04,10
402
+14.194,15.04,10
403
+13.888,15.436,10
404
+13.958,15.322,10
405
+13.922,14.802,10
406
+13.652,14.602,10
407
+14.294,14.996,10
408
+13.81,14.526,10
409
+13.408,15.34,10
410
+13.834,14.778,10
411
+8.826,16.474,11
412
+8.33,16.488,11
413
+8.468,16.378,11
414
+8.904,15.846,11
415
+8.662,16.354,11
416
+8.684,16.776,11
417
+8.33,16.066,11
418
+8.904,16.402,11
419
+8.778,16.486,11
420
+8.81,16.458,11
421
+8.398,16.576,11
422
+8.542,15.918,11
423
+9.064,16.456,11
424
+9.152,16.094,11
425
+8.614,15.908,11
426
+8.566,17.012,11
427
+8.12,16.11,11
428
+8.844,16.026,11
429
+8.398,16.282,11
430
+8.808,15.59,11
431
+8.502,16.166,11
432
+8.942,16.19,11
433
+8.376,16.112,11
434
+8.518,15.84,11
435
+8.878,16.004,11
436
+8.582,16.774,11
437
+8.248,16.154,11
438
+8.588,16.24,11
439
+8.706,16.374,11
440
+8.524,16.392,11
441
+8.458,16.452,11
442
+8.83,16.36,11
443
+8.616,16.112,11
444
+8.844,16.362,11
445
+8.468,15.928,11
446
+8.62,16.674,11
447
+8.974,16.53,11
448
+8.826,16.084,11
449
+8.104,15.962,11
450
+8.386,16.24,11
451
+4.576,12.878,12
452
+4.46,13.16,12
453
+3.632,12.862,12
454
+4.238,12.506,12
455
+4.348,13.268,12
456
+3.788,12.372,12
457
+4.19,12.772,12
458
+3.86,12.706,12
459
+3.978,13.308,12
460
+4.336,12.854,12
461
+4.218,13.03,12
462
+4.25,13.002,12
463
+4.334,13.06,12
464
+4.654,12.566,12
465
+4.38,12.792,12
466
+3.968,13.016,12
467
+4.614,12.526,12
468
+3.95,12.67,12
469
+4.038,12.67,12
470
+4.426,12.238,12
471
+4.066,12.514,12
472
+4.248,12.392,12
473
+4.61,12.95,12
474
+4.328,12.99,12
475
+4.5,12.522,12
476
+4.176,12.71,12
477
+4.492,12.464,12
478
+4.134,12.834,12
479
+4.316,12.764,12
480
+4.454,12.084,12
481
+4.052,12.934,12
482
+4.26,13.118,12
483
+4.058,13.718,12
484
+4.24,12.626,12
485
+3.838,12.232,12
486
+4.128,13.4,12
487
+3.764,12.38,12
488
+4.424,13.186,12
489
+4.234,12.994,12
490
+5.13,13.296,12
491
+3.9,6.742,13
492
+3.994,7.206,13
493
+4.278,7.222,13
494
+4.172,6.848,13
495
+3.882,6.894,13
496
+3.936,6.994,13
497
+4.162,6.87,13
498
+3.762,7.1,13
499
+4.256,7.612,13
500
+4.55,6.822,13
501
+4.062,6.984,13
502
+4.026,7.23,13
503
+4.364,7.184,13
504
+4.292,7.208,13
505
+4.288,6.91,13
506
+4.018,7.062,13
507
+4.07,7.104,13
508
+4.548,7.654,13
509
+4.402,7.082,13
510
+3.692,7.49,13
511
+4.888,7.194,13
512
+4.456,7.146,13
513
+4.732,7.154,13
514
+4.088,7.212,13
515
+4.502,6.928,13
516
+3.402,7.434,13
517
+4.246,6.692,13
518
+4.166,7.256,13
519
+4.852,6.83,13
520
+4.398,7.428,13
521
+5.016,7.054,13
522
+4.25,6.76,13
523
+3.738,7.082,13
524
+4.254,7.264,13
525
+4.122,7.238,13
526
+3.878,7.232,13
527
+4.55,7.29,13
528
+4.03,7.126,13
529
+4.412,7.022,13
530
+4.276,7.244,13
531
+8.376,3.788,14
532
+8.81,3.864,14
533
+8.218,3.548,14
534
+8.374,3.748,14
535
+8.102,4.3,14
536
+8.386,3.952,14
537
+8.858,3.274,14
538
+8.884,3.504,14
539
+8.294,3.38,14
540
+8.38,3.178,14
541
+8.738,4.294,14
542
+9.1,3.84,14
543
+9.086,3.6,14
544
+8.616,3.45,14
545
+8.624,3.698,14
546
+8.632,3.82,14
547
+8.286,3.704,14
548
+8.816,3.58,14
549
+8.722,3.854,14
550
+8.298,3.378,14
551
+9.014,4.034,14
552
+8.87,3.554,14
553
+8.562,3.662,14
554
+8.6,3.828,14
555
+8.94,3.836,14
556
+8.768,4.32,14
557
+8.838,3.926,14
558
+8.288,3.466,14
559
+8.652,3.782,14
560
+8.376,3.956,14
561
+7.724,3.414,14
562
+8.374,4.136,14
563
+8.6,3.712,14
564
+9.026,3.788,14
565
+8.534,3.252,14
566
+8.874,3.602,14
567
+8.796,3.888,14
568
+8.592,3.988,14
569
+8.98,4.014,14
570
+8.562,3.856,14
571
+13.894,4.16,15
572
+14.278,5.26,15
573
+14.364,4.748,15
574
+14.108,4.918,15
575
+13.998,5.498,15
576
+14.4,5.296,15
577
+14.3,5.368,15
578
+13.958,5.35,15
579
+13.842,4.984,15
580
+13.85,4.246,15
581
+13.978,5.356,15
582
+14.366,5.104,15
583
+14.272,4.94,15
584
+14.336,5.176,15
585
+14.744,5.248,15
586
+14.306,5.06,15
587
+13.986,5.05,15
588
+14.44,5.33,15
589
+14.004,4.92,15
590
+13.332,4.592,15
591
+14.218,5.544,15
592
+14.154,4.768,15
593
+13.468,4.92,15
594
+13.67,5.406,15
595
+13.664,5.016,15
596
+14.12,4.87,15
597
+13.836,4.51,15
598
+14.204,5.064,15
599
+14.004,5.228,15
600
+13.266,4.858,15
601
+13.668,5.34,15
602
+14.528,4.812,15
603
+14.318,4.592,15
604
+14.018,5.182,15
605
+14.37,4.884,15
606
+14.198,4.804,15
607
+14.32,4.59,15
608
+13.636,5.218,15
609
+14.41,4.656,15
610
+14.02,5.614,15

+ 800
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/aggregation.arff View File

@@ -0,0 +1,800 @@
1
+% Aggregation
2
+% N=788, M=7, D=2
3
+% Gionis, A., H. Mannila, and P. Tsaparas, Clustering aggregation. ACM Transactions on Knowledge Discovery from Data (TKDD), 2007. 1(1): p. 1-30.
4
+% source: http://cs.joensuu.fi/sipu/datasets/
5
+%
6
+@relation aggregation
7
+
8
+@ATTRIBUTE x REAL
9
+@ATTRIBUTE y REAL
10
+@ATTRIBUTE class {1,2,3,4,5,6,7}
11
+
12
+@DATA
13
+15.55,28.65,2
14
+14.9,27.55,2
15
+14.45,28.35,2
16
+14.15,28.8,2
17
+13.75,28.05,2
18
+13.35,28.45,2
19
+13,29.15,2
20
+13.45,27.5,2
21
+13.6,26.5,2
22
+12.8,27.35,2
23
+12.4,27.85,2
24
+12.3,28.4,2
25
+12.2,28.65,2
26
+13.4,25.1,2
27
+12.95,25.95,2
28
+12.9,26.5,2
29
+11.85,27,2
30
+11.35,28,2
31
+11.15,28.7,2
32
+11.25,27.4,2
33
+10.75,27.7,2
34
+10.5,28.35,2
35
+9.65,28.45,2
36
+10.25,27.25,2
37
+10.75,26.55,2
38
+11.7,26.35,2
39
+11.6,25.9,2
40
+11.9,25.05,2
41
+12.6,24.05,2
42
+11.9,24.5,2
43
+11.1,25.2,2
44
+10.55,25.15,2
45
+10.05,25.95,2
46
+9.35,26.6,2
47
+9.3,27.25,2
48
+9.2,27.8,2
49
+7.5,28.25,2
50
+8.55,27.45,2
51
+8.5,27.05,2
52
+8.05,27.2,2
53
+7.85,26.8,2
54
+7.3,27.4,2
55
+6.8,26.85,2
56
+7,26.5,2
57
+7.55,26.3,2
58
+8.55,26.3,2
59
+9,25.85,2
60
+8.6,25.65,2
61
+9.4,25.55,2
62
+8.45,25.05,2
63
+8.85,24.6,2
64
+9.65,24.7,2
65
+10.55,24.35,2
66
+11.05,23.9,2
67
+10.55,23.55,2
68
+9.45,23.35,2
69
+9.2,23.9,2
70
+8.35,23.9,2
71
+7.35,24.75,2
72
+7.4,25.45,2
73
+6.6,25.75,2
74
+6.1,26,2
75
+5.8,26.95,2
76
+5.65,25.8,2
77
+5.3,26.1,2
78
+6.4,25.4,2
79
+5.4,25.25,2
80
+5.35,24.7,2
81
+4.8,25.05,2
82
+4.2,25.55,2
83
+6.4,24.8,2
84
+6.55,24.3,2
85
+7.4,24.25,2
86
+5.45,24.2,2
87
+4.3,24,2
88
+4,24.25,2
89
+3.35,23.3,2
90
+4.85,23.05,2
91
+4.3,22.75,2
92
+5.85,23.4,2
93
+5.9,23.55,2
94
+7.55,23.7,2
95
+6.85,23.25,2
96
+7.65,23.1,2
97
+6.95,22.55,2
98
+6.1,22.6,2
99
+5.5,22.6,2
100
+4.7,22.1,2
101
+3.8,21.85,2
102
+4.65,21.2,2
103
+4.15,20.35,2
104
+5.3,20.4,2
105
+5.6,20.75,2
106
+5.8,21.95,2
107
+6.4,21.95,2
108
+6.55,21.15,2
109
+7.45,21.95,2
110
+7.4,21.55,2
111
+7.75,21.2,2
112
+7.65,20.65,2
113
+6.95,19.8,2
114
+6.6,20.1,2
115
+6.05,20.2,2
116
+5.4,19.65,2
117
+5.35,19.05,2
118
+5.8,18.25,2
119
+6.3,19.1,2
120
+7,18.9,2
121
+7.15,17.9,2
122
+7.35,18.2,2
123
+8.2,20.05,2
124
+8.3,19.45,2
125
+8.3,18.5,2
126
+8.75,18.8,2
127
+9.05,18.2,2
128
+9.35,17.7,2
129
+8.9,17.65,2
130
+8.45,17.2,2
131
+10.05,17.2,2
132
+10.4,16.75,2
133
+8.6,20.9,2
134
+8.65,21.3,2
135
+8.65,21.9,2
136
+8.65,22.5,2
137
+8.95,22.8,2
138
+9.95,22.65,2
139
+8.95,22.2,2
140
+9.65,21.9,2
141
+10.55,22.3,2
142
+10.9,22.85,2
143
+11.35,23.45,2
144
+12.05,23.4,2
145
+12.3,22.75,2
146
+11.7,22.15,2
147
+11.15,22.05,2
148
+10.85,21.5,2
149
+10.85,21.05,2
150
+9.6,21.3,2
151
+9.85,20.7,2
152
+9.35,20.6,2
153
+9.25,19.65,2
154
+9.95,19.8,2
155
+10.7,20.35,2
156
+11.3,20.7,2
157
+12.35,21.6,2
158
+13.1,21.3,2
159
+12.85,20.75,2
160
+12,20,2
161
+11,19.85,2
162
+10.35,19,2
163
+9.9,18.65,2
164
+10.6,18.15,2
165
+11.4,18.3,2
166
+11.4,19.25,2
167
+12.35,18.8,2
168
+12.8,19.75,2
169
+12.15,18.1,2
170
+11.05,17.5,2
171
+11.95,17.25,2
172
+12.25,17.5,2
173
+13.05,17.4,2
174
+13.75,18.15,2
175
+13.5,18.65,2
176
+13.65,19.25,2
177
+14,19.9,2
178
+15.2,18.2,2
179
+15.5,17.15,2
180
+13.9,17.1,2
181
+13.75,16.6,2
182
+12.15,16.4,2
183
+7.8,13.7,7
184
+8.85,13.35,7
185
+9,12.7,7
186
+9.7,12.1,7
187
+8.05,12.9,7
188
+7.7,13.25,7
189
+6.8,13.2,7
190
+6.6,13.45,7
191
+6.2,12.55,7
192
+5.4,12.85,7
193
+5.7,12.25,7
194
+5.2,11.9,7
195
+5.15,11.35,7
196
+5.85,11.2,7
197
+6.1,11.75,7
198
+7,12.35,7
199
+7.05,12.45,7
200
+7.9,12.5,7
201
+8.55,12.1,7
202
+7.85,11.85,7
203
+7.1,11.95,7
204
+6.9,11.5,7
205
+6.85,10.9,7
206
+6.4,10.7,7
207
+5.9,10.3,7
208
+6.4,10.25,7
209
+7.05,10.05,7
210
+7.35,10.5,7
211
+7.65,11.1,7
212
+8.1,11.2,7
213
+8.8,11.4,7
214
+8.3,10.55,7
215
+9,10.9,7
216
+9.35,10.5,7
217
+10.15,11,4
218
+10.4,10.55,4
219
+10.9,10,4
220
+11.55,10.2,4
221
+11.75,10.85,4
222
+10.1,8.65,4
223
+11.05,9.1,4
224
+11.85,9.8,4
225
+12.85,10.65,4
226
+12.9,11.7,4
227
+13.6,11.1,4
228
+14.05,11.75,4
229
+14.5,11.8,4
230
+14.3,12.45,4
231
+17,12.9,4
232
+15.8,12.6,4
233
+15.85,12,4
234
+16.7,12.2,4
235
+16.25,11.7,4
236
+15.55,11.15,4
237
+14.8,11.35,4
238
+14.45,10.75,4
239
+13.75,10.45,4
240
+12.8,10.1,4
241
+13.15,9.8,4
242
+12.45,9.3,4
243
+11.8,8.95,4
244
+11.1,8.45,4
245
+10.35,7.7,4
246
+10.1,6.75,4
247
+11.3,7.95,4
248
+12.35,8.45,4
249
+13.1,8.95,4
250
+13.2,9.35,4
251
+14.1,10.05,4
252
+11.5,7.5,4
253
+11.35,6.9,4
254
+11.95,6.75,4
255
+12.4,7.1,4
256
+12.25,7.6,4
257
+12.95,7.6,4
258
+13.45,7.95,4
259
+13.35,8.25,4
260
+13.75,9,4
261
+14.3,9.3,4
262
+14.85,9.55,4
263
+15.1,10.25,4
264
+15.45,10.55,4
265
+16.35,10.85,4
266
+16.75,11.5,4
267
+16.25,10.2,4
268
+15.4,10.1,4
269
+15.45,9.7,4
270
+15.15,9.3,4
271
+15.25,8.65,4
272
+15.55,8.2,4
273
+14.25,8.7,4
274
+14.25,8.25,4
275
+15.05,7.8,4
276
+14.3,7.5,4
277
+13.55,7.45,4
278
+14.3,6.95,4
279
+13.95,6.7,4
280
+13.05,6.95,4
281
+13.05,6.2,4
282
+11.55,6.3,4
283
+10.8,5.85,4
284
+10.6,5.05,4
285
+11.35,5.55,4
286
+12.15,5.4,4
287
+12.4,5.8,4
288
+12.8,5.7,4
289
+13.65,5.9,4
290
+13.9,5.3,4
291
+13.1,5.1,4
292
+12.55,4.9,4
293
+11.5,4.75,4
294
+11.35,4.05,4
295
+12.4,4.35,4
296
+11.75,3.45,4
297
+12.65,3.7,4
298
+13.4,4.35,4
299
+13.9,4.95,4
300
+12.75,3,4
301
+13.55,3.15,4
302
+13.7,3.65,4
303
+14.1,4.1,4
304
+14.65,5.05,4
305
+14.35,5.75,4
306
+14.5,6.55,4
307
+15.15,7.1,4
308
+13.6,2.55,4
309
+14.45,2.4,4
310
+14.6,3.05,4
311
+15,3.4,4
312
+15.25,3.5,4
313
+14.7,4.1,4
314
+14.7,4.5,4
315
+15.25,2.7,4
316
+15.65,2.05,4
317
+15.95,2.8,4
318
+16.1,3.55,4
319
+15.9,4,4
320
+15.6,4.75,4
321
+15.55,5.05,4
322
+15.35,5.5,4
323
+15.15,5.95,4
324
+15.5,6.75,4
325
+15.7,6.35,4
326
+16.2,5.9,4
327
+16.35,5.35,4
328
+16.2,4.55,4
329
+16.55,4.2,4
330
+16.95,4.75,4
331
+17.05,5.1,4
332
+17.3,4.8,4
333
+17.3,4.15,4
334
+17.6,4.3,4
335
+17.05,3.7,4
336
+17.25,3.05,4
337
+16.65,2.8,4
338
+16.55,2.15,4
339
+17.2,2.05,4
340
+18.15,1.95,4
341
+18.05,2.45,4
342
+18.15,3.05,4
343
+18.6,3.45,4
344
+18.4,3.6,4
345
+18.85,3.2,4
346
+19.1,2.65,4
347
+19.45,2.65,4
348
+19,2.1,4
349
+19.9,2.05,4
350
+20.45,2.8,4
351
+19.8,3.25,4
352
+19.45,3.9,4
353
+18.65,4.2,4
354
+18.4,4.6,4
355
+18.65,4.75,4
356
+18.75,5.15,4
357
+19.1,4.55,4
358
+17.9,5.4,4
359
+17.65,5.7,4
360
+17.05,6.05,4
361
+17.4,6.5,4
362
+16.6,6.85,4
363
+15.7,7.15,4
364
+15.75,7.75,4
365
+16.6,7.95,4
366
+20.4,3.4,4
367
+20.7,3.45,4
368
+21.15,2.85,4
369
+21.75,2.65,4
370
+22,3.25,4
371
+22.2,3.5,4
372
+21.45,3.75,4
373
+21.1,4.05,4
374
+20.15,4.3,4
375
+20.8,4.7,4
376
+20.7,5.15,4
377
+19.75,5.05,4
378
+19.85,5.5,4
379
+20.4,5.65,4
380
+20.55,5.75,4
381
+18.7,5.75,4
382
+19.25,5.95,4
383
+18.4,6,4
384
+18.45,6.6,4
385
+17.65,7.05,4
386
+16.7,7.4,4
387
+18.65,7.3,4
388
+18.05,7.35,4
389
+17.85,7.75,4
390
+17.5,8.25,4
391
+17.15,8.6,4
392
+17.05,9,4
393
+16.4,8.7,4
394
+16.05,8.95,4
395
+16.05,9.6,4
396
+16.5,9.75,4
397
+17.25,9.6,4
398
+17.6,9.9,4
399
+17.8,9.3,4
400
+18,8.55,4
401
+18.8,8.1,4
402
+18.8,8.35,4
403
+19.4,7.6,4
404
+19.25,6.6,4
405
+20.05,6.95,4
406
+19.8,7.5,4
407
+20.05,6.35,4
408
+21.15,5.7,4
409
+21.65,4.85,4
410
+22.15,4.35,4
411
+23.05,3.35,4
412
+23.05,3.8,4
413
+23.15,4.4,4
414
+22.5,4.75,4
415
+22.15,5.2,4
416
+24.15,4.55,4
417
+23.5,5.05,4
418
+23.1,5.3,4
419
+23,5.75,4
420
+22.2,5.75,4
421
+21.85,6.2,4
422
+20.75,6.55,4
423
+21,7.15,4
424
+20.75,7.65,4
425
+20,8.2,4
426
+19.5,8.65,4
427
+18.85,9.05,4
428
+18.75,9.55,4
429
+18.6,10,4
430
+16.95,10.35,4
431
+17.35,10.85,4
432
+18,10.65,4
433
+18.5,10.55,4
434
+18.1,11.1,4
435
+17.55,11.3,4
436
+17.95,11.9,4
437
+18.3,12,4
438
+18,12.5,4
439
+19,11.65,4
440
+19.5,11.05,4
441
+19.45,10.55,4
442
+19.4,9.65,4
443
+20.1,9.4,4
444
+20.05,9.95,4
445
+20.05,10.2,4
446
+19.35,12.2,4
447
+19.2,12.25,4
448
+20.05,11.6,4
449
+20.6,11.15,4
450
+20.7,10.65,4
451
+21.3,11.65,4
452
+21.8,11.15,4
453
+21.85,10.7,4
454
+21.65,10.05,4
455
+20.95,10.2,4
456
+20.9,9.7,4
457
+21.65,9.45,4
458
+21.2,9.25,4
459
+20.75,8.75,4
460
+20.55,8.75,4
461
+21.1,8,4
462
+21.65,8.65,4
463
+21.75,8.2,4
464
+21.95,7.55,4
465
+22,6.75,4
466
+22.8,6.45,4
467
+22.65,6.65,4
468
+22.75,7.05,4
469
+23,7.35,4
470
+22.55,7.9,4
471
+22.2,8.7,4
472
+22.9,8.45,4
473
+22.35,9.2,4
474
+22.75,9.35,4
475
+22.4,10.05,4
476
+23.05,10.9,4
477
+23.3,9.85,4
478
+23.95,9.8,4
479
+23.65,9.1,4
480
+23.7,8.85,4
481
+24.25,8.25,4
482
+24.85,7.95,4
483
+23.5,7.85,4
484
+23.85,7.35,4
485
+23.95,6.9,4
486
+23.65,6.5,4
487
+23.6,5.7,4
488
+24.3,5.65,4
489
+24.8,6.4,4
490
+34.05,3.5,3
491
+33.05,3.85,3
492
+32,3.8,3
493
+31.9,4.4,3
494
+31.05,4.75,3
495
+30.4,5.65,3
496
+30.75,6.1,3
497
+30,6.7,3
498
+30.1,7.4,3
499
+29.5,8.15,3
500
+30.75,8,3
501
+30.85,7.35,3
502
+31.5,6.75,3
503
+31.75,5.95,3
504
+32.35,6.45,3
505
+32.8,6,3
506
+32.05,5.1,3
507
+32.8,4.8,3
508
+32.65,4.4,3
509
+33.65,4.6,3
510
+33.05,5.15,3
511
+33.6,5.45,3
512
+34.5,5.05,3
513
+34.9,4.65,3
514
+35.45,4.1,3
515
+34.6,4.05,3
516
+34.2,4.2,3
517
+36.3,5.2,3
518
+35.55,5.35,3
519
+35.95,6.05,3
520
+34.8,5.85,3
521
+33.7,6.15,3
522
+33.95,6.6,3
523
+33.7,7.05,3
524
+32.75,7.1,3
525
+32.3,7.65,3
526
+33,7.9,3
527
+31.95,8.15,3
528
+31.15,8.65,3
529
+30.35,8.85,3
530
+29.85,9,3
531
+30.7,9.15,3
532
+29.7,9.9,3
533
+30.45,9.95,3
534
+30.95,9.85,3
535
+31.8,9.45,3
536
+32.45,8.8,3
537
+33.55,8.6,3
538
+34.35,7.7,3
539
+34.7,8,3
540
+34.6,7.25,3
541
+35,6.8,3
542
+35.5,7.35,3
543
+36.1,7.5,3
544
+36.55,7,3
545
+36,8.2,3
546
+35.35,8.05,3
547
+36.55,8.65,3
548
+36.4,9.1,3
549
+35.5,9.1,3
550
+34.55,8.85,3
551
+35.25,9.4,3
552
+34.4,9.5,3
553
+33.5,9.3,3
554
+33.85,9.8,3
555
+32.5,9.65,3
556
+32.3,10.25,3
557
+33.3,10.3,3
558
+31.6,10.5,3
559
+30.6,10.5,3
560
+30.4,11.1,3
561
+30.9,11.45,3
562
+30.7,11.65,3
563
+30.4,12.05,3
564
+31.2,12,3
565
+31.95,11.35,3
566
+31.65,11.05,3
567
+32.95,11.15,3
568
+32.65,11.7,3
569
+32.25,12.25,3
570
+32.05,12.25,3
571
+31.3,12.7,3
572
+31.95,12.95,3
573
+32.75,13.1,3
574
+33.15,13.2,3
575
+33.1,12.75,3
576
+33.15,12.1,3
577
+34.3,11.75,3
578
+34,10.85,3
579
+34.65,11,3
580
+34.8,10.1,3
581
+35.65,9.85,3
582
+36.35,10,3
583
+35.55,10.75,3
584
+35.8,11.55,3
585
+35.2,11.75,3
586
+34.7,11.75,3
587
+34.95,12.75,3
588
+34.05,12.55,3
589
+34.05,13.05,3
590
+33.25,13.7,3
591
+33.2,14.15,3
592
+33.25,14.7,6
593
+33,15.15,6
594
+32.95,15.65,6
595
+32.6,16.15,6
596
+32.45,16.75,6
597
+32.65,17.05,6
598
+32.75,17.3,6
599
+31.75,17.2,6
600
+31.7,17.65,6
601
+31,17.5,6
602
+31.15,17.9,6
603
+30.45,18.05,6
604
+30.05,18.8,6
605
+30.55,18.8,6
606
+30.5,19.3,6
607
+30.25,19.4,6
608
+29.6,19.85,6
609
+29.15,20.55,6
610
+30.25,20.45,6
611
+30.7,20.05,6
612
+31,19.9,6
613
+31.55,19.65,6
614
+31.5,18.55,6
615
+32.05,18.6,6
616
+31.95,19.1,6
617
+32.6,18.35,6
618
+32.85,17.95,6
619
+33.45,17.45,6
620
+33.7,17,6
621
+34.25,17.35,6
622
+34.3,18.05,6
623
+33.85,18.4,6
624
+33.05,18.85,6
625
+33.25,18.95,6
626
+32.8,19.15,6
627
+32.3,19.85,6
628
+32.8,20,6
629
+31.75,20.25,6
630
+31.75,20.75,6
631
+32.1,21.15,6
632
+31.55,21.6,6
633
+30.65,21.3,6
634
+29.95,21.6,6
635
+29.5,21.6,6
636
+30.35,22.05,6
637
+31.05,22,6
638
+31.55,22.2,6
639
+30.95,22.65,6
640
+30.3,23.1,6
641
+29.6,23.15,6
642
+29.35,22.55,6
643
+29.2,23.85,6
644
+30.75,24,6
645
+30.95,24.15,6
646
+31.45,23.7,6
647
+31.95,23.15,6
648
+32.55,22.05,6
649
+32.6,22.55,6
650
+33.25,22.25,6
651
+33.65,21.9,6
652
+33.5,21.3,6
653
+33.1,20.75,6
654
+33.8,20.4,6
655
+33.85,20,6
656
+34.15,19.3,6
657
+34.85,18.85,6
658
+35.3,18.55,6
659
+35.4,19.35,6
660
+34.55,19.75,6
661
+35.05,20,6
662
+35.95,19.85,6
663
+36.35,20.6,6
664
+35.5,20.55,6
665
+34.45,20.65,6
666
+34.4,21.25,6
667
+35,21.05,6
668
+35.75,21.3,6
669
+35.05,21.5,6
670
+34.6,22.05,6
671
+34.2,21.75,6
672
+36.25,21.95,6
673
+35.7,22.3,6
674
+35.5,22.9,6
675
+35.85,23.25,6
676
+36.3,23.8,6
677
+35.45,24.1,6
678
+34.9,23.5,6
679
+34.2,22.9,6
680
+33.85,23.3,6
681
+33.25,23.35,6
682
+32.45,23.7,6
683
+33.6,23.9,6
684
+34.25,23.95,6
685
+34.25,24.1,6
686
+35.4,24.7,6
687
+35.15,25.3,6
688
+34.4,24.9,6
689
+33.7,24.85,6
690
+32.25,24.45,6
691
+32.5,24.7,6
692
+31.45,24.45,6
693
+31.55,25.2,6
694
+31.05,25,6
695
+30.25,24.3,6
696
+29.8,24.8,6
697
+29.6,25.5,6
698
+29.7,26.05,6
699
+30.5,25.5,6
700
+30.65,26,6
701
+31.25,26.05,6
702
+31.45,26.95,6
703
+30.75,26.9,6
704
+30.65,27.15,6
705
+31.25,27.85,6
706
+31.85,27.75,6
707
+32.7,28.2,6
708
+33.25,27.55,6
709
+32.4,27.1,6
710
+32.15,26.65,6
711
+32.35,25.95,6
712
+32.95,25.5,6
713
+33.85,26.05,6
714
+33.05,26.5,6
715
+33.65,27,6
716
+34.1,27.35,6
717
+34.2,27.95,6
718
+34.65,26.85,6
719
+35.25,26,6
720
+35.7,26.15,6
721
+34.4,25.6,6
722
+21.3,20.8,1
723
+20.15,20.9,1
724
+19.2,21.35,1
725
+19.1,21.85,1
726
+18.45,22.8,1
727
+18.75,22.95,1
728
+19.4,23,1
729
+19.55,22.25,1
730
+19.8,21.85,1
731
+20.5,21.85,1
732
+21.45,21.45,1
733
+21.7,21.9,1
734
+21.4,22.3,1
735
+21,22.6,1
736
+21.15,22.95,1
737
+20.5,22.85,1
738
+19.75,23.65,1
739
+19.2,23.7,1
740
+18.45,24.35,1
741
+20.65,23.85,1
742
+20.65,24.3,1
743
+19.7,24.6,1
744
+20.15,25.05,1
745
+22.15,25.1,1
746
+21.6,24.65,1
747
+21.7,23.8,1
748
+21.9,23.65,1
749
+22.55,23.5,1
750
+22.55,24.3,1
751
+23.3,24.45,1
752
+24.25,24.35,1
753
+23.8,25.25,1
754
+23.4,23.8,1
755
+22.9,23.2,1
756
+22.3,22.8,1
757
+22.2,22.4,1
758
+23.1,21.7,1
759
+22.85,21.9,1
760
+22.65,21.1,1
761
+23.15,22.6,1
762
+24.1,21.9,1
763
+24.7,22.2,1
764
+24.3,22.6,1
765
+24.15,23.3,1
766
+23.9,23.45,1
767
+5.2,2.15,5
768
+6.35,1.95,5
769
+6.75,2.3,5
770
+5.9,2.4,5
771
+5.4,2.7,5
772
+4.85,2.9,5
773
+4.85,3.35,5
774
+5.15,3.45,5
775
+5.7,3.45,5
776
+6.2,3,5
777
+6.2,3.2,5
778
+7.65,2.15,5
779
+7.2,2.75,5
780
+6.75,3.2,5
781
+6.75,3.55,5
782
+6.65,3.8,5
783
+5.8,4,5
784
+4.95,4.05,5
785
+5.1,4.35,5
786
+5.7,4.45,5
787
+5.45,4.85,5
788
+6.7,4.8,5
789
+6.55,5.05,5
790
+7.2,4.9,5
791
+6.2,4.25,5
792
+7.1,4.3,5
793
+7.85,4.5,5
794
+7.6,4.15,5
795
+7.25,3.55,5
796
+7.8,3.35,5
797
+8.05,2.75,5
798
+8.5,3.25,5
799
+8.1,3.55,5
800
+8.15,4,5

+ 819
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/aml28.arff View File

@@ -0,0 +1,819 @@
1
+% The variant allele frequencies of somatic single nucleotide variants
2
+% from whole genome sequencing of a AML patient at two time points
3
+%
4
+% Miller, C. A., White, B. S., Dees, N. D., Griffith, M., Welch, J. S., Griffith, O. L.,
5
+% Vij, R., Tomasson, M. H., Graubert, T. A., Walter, M. J., et al. (2014).
6
+% SciClone: Inferring clonal architecture and tracking the spatial and temporal patterns
7
+% of tumor evolution. PLoS Comput. Biol., 10(8).
8
+% 
9
+@relation aml28
10
+
11
+@ATTRIBUTE tumor REAL
12
+@ATTRIBUTE relapse REAL
13
+@ATTRIBUTE class {1,2,3,4,5}
14
+
15
+@data
16
+45.0536,44.0387,1
17
+0.516351,32.5674,4
18
+48.1301,40.1408,1
19
+1.53453,30.3079,4
20
+44.4234,40.9797,1
21
+42.623,43.6877,1
22
+50.7795,39.0957,1
23
+41.5673,0,3
24
+47.7401,45.9898,1
25
+46.2963,38.2423,1
26
+46.4583,42.2741,1
27
+41.6981,46.0733,1
28
+41.6442,42.9694,1
29
+44.1654,44.1498,1
30
+43.913,11.0262,2
31
+45.4123,42.439,1
32
+45.5118,40.1282,1
33
+46.8196,38.9807,1
34
+45.6628,44.6254,1
35
+42.9355,42.7265,1
36
+41.8224,1.93861,3
37
+50.2857,48.3755,1
38
+46.519,42.7184,1
39
+48.0769,43.4109,1
40
+46.0064,0.176056,3
41
+41.6,43.1235,1
42
+46.3023,40.7494,1
43
+1.36571,32.106,4
44
+41.25,37.7637,1
45
+46.5409,41.6179,1
46
+47.0457,11.1241,2
47
+44.0541,41.2,1
48
+45.4359,41.5616,1
49
+45.614,46.7089,1
50
+0.720721,23.9915,4
51
+43.9153,42.9596,1
52
+44.9468,42.8571,1
53
+42.4818,11.2903,2
54
+38.5714,36.9439,1
55
+45.5712,42.7046,1
56
+0.907912,30.0366,4
57
+44.5669,38.2865,1
58
+42.6099,40,1
59
+39.3035,41.3318,1
60
+46.2445,41.9238,1
61
+45.1005,44.3796,1
62
+46.1806,41.1134,1
63
+47,42.3575,1
64
+45.2967,43.4494,1
65
+44.5438,41.5842,1
66
+44.8795,38.5542,1
67
+50.1938,45.9184,1
68
+45.6989,42.6307,1
69
+39.2857,33.5135,1
70
+0.806452,33.3611,4
71
+45.614,38.5491,1
72
+37.5394,0.420521,3
73
+40.2624,39.8644,1
74
+42.0319,39.6779,1
75
+49.4208,42.7793,1
76
+46.3138,41.8244,1
77
+42.9592,42.1578,1
78
+32.0087,31.0056,1
79
+0.651163,27.3041,4
80
+46.1047,43.9126,1
81
+42.7211,44.3972,1
82
+43.4679,10.9356,2
83
+39.2694,37.1758,1
84
+42.3024,44.306,1
85
+43.8819,44.8513,1
86
+41.8557,42.906,1
87
+44.9301,36.9146,1
88
+45.0113,40.2116,1
89
+0.880503,27.9614,4
90
+0.84317,30.2428,4
91
+51.4504,46.5628,1
92
+47.1545,42.1384,1
93
+0.947867,24.4737,4
94
+48.3759,12.1212,2
95
+41.8605,39.0857,1
96
+0.339751,30.6709,4
97
+40.3718,11.8436,2
98
+43.2133,42.521,1
99
+45.3659,42.9213,1
100
+43.5858,38.2521,1
101
+44.2945,40.9009,1
102
+47.8599,40.4343,1
103
+46.256,42.9882,1
104
+41.1072,39.0274,1
105
+18.0406,0.0692521,5
106
+43.3376,0.302115,3
107
+43.8692,11.7717,2
108
+46.3636,37.6582,1
109
+46.8132,41.9118,1
110
+1.16883,30.143,4
111
+1.56472,29.0087,4
112
+44.5997,41.5721,1
113
+45.2414,40.2458,1
114
+44.3207,40.788,1
115
+45.3168,44.3439,1
116
+45.3202,36.0481,1
117
+42.3438,46.2236,1
118
+43.2319,0.252685,3
119
+2.21893,28.3019,4
120
+45.0533,41.6667,1
121
+46.4615,40.4255,1
122
+1.11465,44.8855,4
123
+45.269,40.1294,1
124
+41.2646,0,3
125
+45.2514,41.3636,1
126
+41.4716,41.8374,1
127
+41.9725,38.3812,1
128
+41.4835,12.4329,2
129
+36.6279,35.2113,1
130
+1.92061,31.3648,4
131
+0.58651,20.7877,4
132
+1.16473,29.7604,4
133
+46.5909,43.0291,1
134
+45.5471,39.8923,1
135
+44.7082,12.8721,2
136
+45.2055,44.4765,1
137
+45.1053,41.3761,1
138
+37.8049,8.9769,2
139
+44.8669,40.3941,1
140
+41.5797,36.6213,1
141
+46.142,44.1761,1
142
+47.7221,10.9177,2
143
+1.25392,30.3665,4
144
+40.6015,41.3043,1
145
+45.5268,37.8179,1
146
+46.4891,42.8094,1
147
+46.1173,11.236,2
148
+45.5574,44.7031,1
149
+43.6195,11.6261,2
150
+41.2987,11.1111,2
151
+43.9483,37.9928,1
152
+49.8008,49.1228,1
153
+44.5567,41.7445,1
154
+45.3175,42.7265,1
155
+42.7529,43.1797,1
156
+41.3866,38.5469,1
157
+47.3529,42.1538,1
158
+45.403,42.5926,1
159
+48.1013,43.1884,1
160
+49.497,44.0725,1
161
+45.9218,45.4206,1
162
+46.0699,39.0515,1
163
+42.2249,12.6173,2
164
+46.5849,40.9786,1
165
+44.3069,39.8222,1
166
+44.2021,42.2351,1
167
+15.0794,0,5
168
+44.6108,38.7526,1
169
+47.139,38.2784,1
170
+46.1322,41.3598,1
171
+47.4149,41.4343,1
172
+47.7208,45.283,1
173
+42.2141,43.3356,1
174
+39.8907,12.4138,2
175
+43.5366,10.7106,2
176
+47.1591,47.0968,1
177
+44.2697,41.9802,1
178
+41.0112,11.0694,2
179
+44.3082,40.2913,1
180
+43.3103,40.5501,1
181
+47.9612,41.5534,1
182
+42.4242,0,3
183
+47.4462,41.6815,1
184
+0.940734,30.0712,4
185
+44.3726,11.8214,2
186
+45.0382,37.8676,1
187
+45.614,40.0213,1
188
+42.9725,41.6579,1
189
+40.4692,39.3229,1
190
+0.713267,32.0182,4
191
+44.7368,39.8559,1
192
+48.4395,40.7197,1
193
+40.498,39.9044,1
194
+45.0588,39.3965,1
195
+0.704225,29.2558,4
196
+46.5426,40.9302,1
197
+44.3366,41.8224,1
198
+47.9132,44.0306,1
199
+41.0651,41.1713,1
200
+42.3927,38.4354,1
201
+49.4526,37.588,1
202
+42.2892,41.2698,1
203
+18.7943,0.0524109,5
204
+0.675676,32.2647,4
205
+44.883,44.0937,1
206
+45.4039,39.3939,1
207
+46.0554,41.0971,1
208
+42.2067,12.4451,2
209
+43.9181,46.7991,1
210
+34.8733,38.3333,1
211
+44.5498,42.2998,1
212
+47.4576,11.831,2
213
+46.7033,43.0769,1
214
+45.1878,42.7617,1
215
+0.555556,32.1627,4
216
+42.9412,42.2041,1
217
+47.2542,39.6446,1
218
+42.6043,44.8549,1
219
+46.3079,39.0212,1
220
+42.8181,39.951,1
221
+40.9904,13.1105,2
222
+45.0925,43.9863,1
223
+0.966184,31.331,4
224
+46.2585,40.0966,1
225
+40.9038,9.21895,2
226
+20.7921,0,5
227
+0.736648,31.2814,4
228
+44.4068,43.553,1
229
+2.14168,30.7087,4
230
+39.1741,0,3
231
+44.7883,39.4019,1
232
+50.3831,44.4062,1
233
+44.7257,37.5772,1
234
+40.7654,38.5852,1
235
+45.9344,43.0199,1
236
+32.2581,30.0971,1
237
+44.5045,39.6947,1
238
+43.34,41.5363,1
239
+39.0897,39.6552,1
240
+41.4129,11.6116,2
241
+44.0171,42.7339,1
242
+44.4062,41.0559,1
243
+38.992,36.3333,1
244
+47.0097,39.9504,1
245
+0.612245,29.4737,4
246
+42.097,38.8273,1
247
+18.7339,0.0943396,5
248
+45.6627,40.1985,1
249
+1.44928,33.0401,4
250
+44.4444,43.2014,1
251
+44.6695,36.2143,1
252
+50.5141,43.4137,1
253
+43.0968,10.8553,2
254
+45.9459,41.931,1
255
+44.4118,43.4211,1
256
+44.2561,0,3
257
+40.0804,41.8977,1
258
+47.0085,40.2471,1
259
+0.874636,30.597,4
260
+45.8465,11.1337,2
261
+46.238,44.898,1
262
+43.8336,38.4876,1
263
+40.0319,10.6087,2
264
+45.0721,43.5337,1
265
+41.1475,11.9601,2
266
+47.9675,44.6466,1
267
+41.1248,40.5371,1
268
+1.93548,34.2657,4
269
+45.92,37.9085,1
270
+46.0701,41.5015,1
271
+43.587,41.1589,1
272
+43.2692,38.7218,1
273
+0.470035,23.0769,4
274
+43.937,41.8154,1
275
+48.103,40.7537,1
276
+42.3226,41.276,1
277
+44.2649,43.7838,1
278
+43.6321,41.6979,1
279
+20.2159,0,5
280
+42.9932,40.5,1
281
+45.1327,40.9574,1
282
+46.0446,37.9147,1
283
+44.6221,10.8065,2
284
+1.0219,32.7922,4
285
+47.432,39.6396,1
286
+44.8405,36.8196,1
287
+42.0312,43.1655,1
288
+41.0882,35.2332,1
289
+43.1015,41.4495,1
290
+45.9276,42.1911,1
291
+49.2886,41.4713,1
292
+42.0168,0,3
293
+45.2648,12.8361,2
294
+2.28311,34.1693,4
295
+45.0997,40.449,1
296
+40.0798,9.18367,2
297
+0.459418,31.3971,4
298
+1.43198,27.321,4
299
+50.9982,50.0876,1
300
+34,29.2683,1
301
+46.1538,38.6018,1
302
+46.3171,41.3903,1
303
+45.5598,0.123381,3
304
+42.9569,45.0142,1
305
+46.1433,41.0226,1
306
+40.5363,0.574241,3
307
+49.8592,51.634,1
308
+40,36.6404,1
309
+48.1314,39.6064,1
310
+45.1115,39.3232,1
311
+1.08696,26.506,4
312
+42.3786,41.844,1
313
+0.81716,26.7922,4
314
+1.25714,32.0057,4
315
+46.2162,46.4471,1
316
+36.5741,36.2112,1
317
+38.3817,38.5802,1
318
+1.2987,35.2518,4
319
+44.2748,44.7867,1
320
+48.3288,42.8385,1
321
+47.907,42.9124,1
322
+1.19332,31.7881,4
323
+45.8991,41.0903,1
324
+45.616,44.3831,1
325
+41.4838,11.9017,2
326
+41.3408,0.201207,3
327
+46.1832,44.4099,1
328
+1.36612,31.25,4
329
+43.6306,39.5658,1
330
+1.33333,30.7463,4
331
+44.3769,39.5455,1
332
+43.9887,39.5616,1
333
+47.2669,42.1136,1
334
+42.7553,45.8824,1
335
+43.2692,10.2041,2
336
+43.2958,11.7722,2
337
+1.33185,29.8566,4
338
+45.8904,44.7059,1
339
+43.3333,40.8511,1
340
+43.5216,40.1747,1
341
+47.4729,40.099,1
342
+0.69808,33.9181,4
343
+34.4358,37.2439,1
344
+44.0104,45.4545,1
345
+45.8807,44.856,1
346
+45.6163,46.8334,1
347
+44.7682,40.4189,1
348
+44.6855,0.25641,3
349
+41.7308,43.2738,1
350
+0.757576,30.1435,4
351
+46.5269,40.7407,1
352
+42.9742,41.9225,1
353
+24.8945,0,5
354
+45.0243,41.0353,1
355
+0.683995,25.6881,4
356
+47.8664,41.6544,1
357
+0.235294,29.0493,4
358
+49.0909,44.3266,1
359
+42.5989,37.3952,1
360
+45.7602,39.1261,1
361
+40.9364,0.636436,3
362
+46.247,41.1262,1
363
+39.1176,39.1071,1
364
+44.5235,37.7005,1
365
+48.2176,41.5502,1
366
+47.3743,42.7131,1
367
+44.0056,42.0543,1
368
+44.7496,0.506757,3
369
+44.5428,40.8854,1
370
+45.1659,44.3086,1
371
+1.00806,34.375,4
372
+47.1831,43.0716,1
373
+45.0139,44.6841,1
374
+46.4052,38.5439,1
375
+1.18846,28.3516,4
376
+43.1122,0,3
377
+45.8382,10.3881,2
378
+47.7647,8.80282,2
379
+1.20337,25.7166,4
380
+41.0714,11.5004,2
381
+47.87,42.508,1
382
+46.5432,44.1815,1
383
+47.3469,44.8075,1
384
+1.36571,26.5359,4
385
+48.7587,41.7183,1
386
+42.3077,39.1892,1
387
+47.6998,39.3996,1
388
+46.6574,44.9612,1
389
+1.64384,26.9752,4
390
+46.6207,45.6213,1
391
+39.0988,40.478,1
392
+44.4015,45.0085,1
393
+45.4155,44.3411,1
394
+46.6882,44.7124,1
395
+46.0733,40.7814,1
396
+46.5608,41.7284,1
397
+1.27119,29.3984,4
398
+45.3981,40.3462,1
399
+42.8322,43.5714,1
400
+16.3105,0.0739645,5
401
+42.0043,11.3435,2
402
+1.50943,30.0895,4
403
+0.864553,32.4709,4
404
+46.5544,40.4332,1
405
+44.3888,43.5532,1
406
+46.6786,38.157,1
407
+43.2881,39.2857,1
408
+45.3638,37.3681,1
409
+42.1329,10.119,2
410
+42.0889,10.6129,2
411
+51.0604,42.3317,1
412
+48.6945,42.4858,1
413
+45.2239,38.6861,1
414
+1.5625,31.1111,4
415
+46.8627,48.75,1
416
+42.0697,41.2162,1
417
+38.5991,40.0513,1
418
+41.6532,36.1854,1
419
+40.5172,39.0533,1
420
+46.5063,12.6809,2
421
+41.6988,1.64271,3
422
+42.8835,41.6309,1
423
+47.4204,9.80392,2
424
+44.2225,43.9068,1
425
+49.0298,42.5706,1
426
+45.377,41.2835,1
427
+0.495663,26.972,4
428
+42.6174,10.2447,2
429
+42.5197,41.1207,1
430
+2.19479,33.1658,4
431
+44.2559,41.0138,1
432
+41.1633,11.805,2
433
+43.1457,40.2062,1
434
+42.654,0.291545,3
435
+41.4273,0.068306,3
436
+42.8571,10.3283,2
437
+43.8907,45.9603,1
438
+44.206,45.9276,1
439
+43.2647,12.0907,2
440
+46.301,40.7591,1
441
+40.5357,41.0511,1
442
+40.885,0,3
443
+47.0231,42.1013,1
444
+1.47493,29.0241,4
445
+47.2401,44.8657,1
446
+45.6,43.4211,1
447
+44.2363,42.8196,1
448
+48.6698,47.5714,1
449
+42.3776,40.1376,1
450
+42.9952,12.1785,2
451
+44.7964,39.839,1
452
+42.3816,38.5613,1
453
+0.756757,28.4474,4
454
+48.1553,41.1924,1
455
+1.65289,20.6107,4
456
+48.883,43.299,1
457
+44.5946,38.8489,1
458
+43.1858,11.98,2
459
+0.947867,30.9339,4
460
+48.7936,40.592,1
461
+46.6981,39.8045,1
462
+49.6907,41.129,1
463
+43.7028,10.583,2
464
+46.9731,39.7243,1
465
+46.0452,42.5225,1
466
+1.14613,30.6748,4
467
+46.6267,42.8425,1
468
+41.0405,36.7521,1
469
+44.1748,42.0455,1
470
+40.0958,41.2807,1
471
+0.319489,25.6522,4
472
+0.329489,26.5589,4
473
+1.48699,31.1167,4
474
+46.3696,43.0823,1
475
+43.8378,41.7078,1
476
+48.9607,40.5941,1
477
+50.1597,46.0251,1
478
+46.6334,42.5532,1
479
+42.7767,37.6344,1
480
+47.4157,46.4789,1
481
+0.46225,27.6056,4
482
+0.503778,30.9689,4
483
+46.5593,39.9734,1
484
+16.8459,0,5
485
+43.2,11.9025,2
486
+47.0785,41.1067,1
487
+45.5142,42.7586,1
488
+44.4104,40.2685,1
489
+47.168,43.8827,1
490
+16.1716,0.0922509,5
491
+43.6893,42.6689,1
492
+45.1832,41.056,1
493
+47.5945,37.8585,1
494
+46.9314,48.2843,1
495
+44.2577,40.3292,1
496
+51.1494,11.3248,2
497
+42.616,43.508,1
498
+45.2579,44.5693,1
499
+41.1024,40.8163,1
500
+43.8378,38.1443,1
501
+46.0595,43.3071,1
502
+41.9001,0,3
503
+45.4965,12.0332,2
504
+46.0432,40.415,1
505
+47.3098,41.928,1
506
+46.0744,40.796,1
507
+45.036,38.2075,1
508
+42.2559,39.9694,1
509
+43.1797,0.0678887,3
510
+42.9972,44.7822,1
511
+42.1131,0.247831,3
512
+42.5872,42.9799,1
513
+0.997506,29.5288,4
514
+36.1728,10.9235,2
515
+45.6609,41.4423,1
516
+43.4358,12.8174,2
517
+43.7949,0.0904977,3
518
+44.7307,38.3188,1
519
+42.1954,39.3986,1
520
+49.9029,41.2005,1
521
+43.5981,0.271444,3
522
+45.4945,33.8028,1
523
+43.0122,43.7828,1
524
+43.6242,39.2547,1
525
+1.47059,27.6944,4
526
+46.6102,41.8863,1
527
+47.7113,42.9688,1
528
+49.1576,43.5678,1
529
+45.5511,42.1911,1
530
+43.5982,39.3846,1
531
+11.2805,0,5
532
+40.483,42.5767,1
533
+18.2598,0,5
534
+0.765697,30.8458,4
535
+0.830258,27.8195,4
536
+48.2759,39.8779,1
537
+44.6281,10.5437,2
538
+46.1787,0.327332,3
539
+43.8903,43.2292,1
540
+44.8087,39.3137,1
541
+43.9771,42.4242,1
542
+0.910747,25.5856,4
543
+0.0986193,15.2017,4
544
+46.2986,40.211,1
545
+0.303951,28.7179,4
546
+46.0563,42.7374,1
547
+46.1679,43.6006,1
548
+43.3014,40.0407,1
549
+45.3505,13.5071,2
550
+45.8333,42.0871,1
551
+44.9304,11.5016,2
552
+41.4159,10.1215,2
553
+41.7204,37.1385,1
554
+46.2523,43.8762,1
555
+48.2176,41.2399,1
556
+0.15748,30.7692,4
557
+44.5946,10.1449,2
558
+45.1613,44.8151,1
559
+39.2123,38.3249,1
560
+41.8685,36.7596,1
561
+42.8115,41.7407,1
562
+40.8081,41.6901,1
563
+46.1117,10.6416,2
564
+45.0809,0.299103,3
565
+43.2032,0,3
566
+43.3225,38.4117,1
567
+45.4352,45.3488,1
568
+47.4242,45.9701,1
569
+44.9225,41.9657,1
570
+42.5249,35.3276,1
571
+43.2203,11.8605,2
572
+47.3624,40.5312,1
573
+0.911854,30.5229,4
574
+47.5289,42.0823,1
575
+43.9411,0.481348,3
576
+48.1589,43.7101,1
577
+46.9388,36.788,1
578
+42.1652,40.8333,1
579
+43.1322,39.8917,1
580
+49.0013,41.6044,1
581
+47.551,40.7115,1
582
+45.3674,42.0571,1
583
+47.5771,48.4192,1
584
+49.4565,39.8641,1
585
+46.6392,45.2871,1
586
+45.6683,40.2116,1
587
+0.726392,26.6094,4
588
+0.811688,24.9448,4
589
+1.55807,27.0781,4
590
+46.2527,41.2487,1
591
+42.8753,40.2439,1
592
+30.1493,10.5072,2
593
+44.1352,38.2582,1
594
+45.4327,42.2895,1
595
+45.0536,0.194175,3
596
+43.9521,10.6274,2
597
+44.0647,40.6289,1
598
+46.8683,40.3042,1
599
+46.7497,41.6484,1
600
+40.81,41.6107,1
601
+42.8728,38.3642,1
602
+42.7368,40.0749,1
603
+43.342,43.1535,1
604
+44.5652,11.7962,2
605
+43.0206,12.4077,2
606
+46.1462,46.6749,1
607
+46.8912,41.3146,1
608
+44.7504,41.3043,1
609
+48.0344,46.1702,1
610
+46.1224,37.1875,1
611
+47.7684,41.4009,1
612
+43.4365,36.8627,1
613
+43.3333,11.8928,2
614
+47.6726,41.6667,1
615
+0.381679,26.1745,4
616
+43.9776,41.3999,1
617
+41.5896,40.5031,1
618
+46.0233,39.9552,1
619
+43.8938,38.9855,1
620
+46.4286,45.402,1
621
+43.4226,42.4242,1
622
+45.6933,42.1453,1
623
+1.06952,29.2286,4
624
+44.1176,0,3
625
+45.4087,39.3487,1
626
+47.2488,39.0041,1
627
+46.7901,40.7303,1
628
+42.6877,45.3988,1
629
+46.3215,42.4408,1
630
+40.8,12.4,2
631
+0.936037,25.5917,4
632
+48.0315,42.1096,1
633
+41.9558,33.892,1
634
+45.5939,39.0858,1
635
+43.4988,12.359,2
636
+47.0588,42.0523,1
637
+44.3067,43.0418,1
638
+46.8182,39.6258,1
639
+45.8182,41.7939,1
640
+43.0488,44.3515,1
641
+44.6575,40.2985,1
642
+46.1268,43.0532,1
643
+43.8735,39.8662,1
644
+43.761,0.388007,3
645
+44.3723,12.0459,2
646
+42.7861,12.1542,2
647
+42.698,11.2812,2
648
+45.9394,11.4191,2
649
+40,11.1385,2
650
+43.4531,39.7795,1
651
+44.7605,13.6442,2
652
+49.3865,41.1036,1
653
+1.04895,26.4505,4
654
+1.23153,32.1063,4
655
+46.5668,41.8141,1
656
+44.8718,11.7647,2
657
+50.3546,39.5018,1
658
+21.1348,0,5
659
+40.2456,9.20635,2
660
+45.9627,45.3261,1
661
+47.6923,12.4183,2
662
+46.7085,41.2562,1
663
+49.4577,44.0171,1
664
+0.624025,25.6131,4
665
+43.4992,40.1163,1
666
+43.8703,44.1558,1
667
+46.3442,41.2461,1
668
+45.5577,39.6552,1
669
+43.6881,43.6125,1
670
+46.2158,40.3189,1
671
+45.0677,37.6359,1
672
+43.5173,40.487,1
673
+0.888325,30.2003,4
674
+47.0914,42.5988,1
675
+41.1405,40.8108,1
676
+42.766,41.2587,1
677
+47.138,44.2308,1
678
+42.9084,35.3153,1
679
+44.3106,0.216685,3
680
+44.5312,40.6695,1
681
+41.0909,11.5658,2
682
+47.9005,36.9594,1
683
+46.5882,39.8268,1
684
+0.749465,28.9832,4
685
+44.704,43.9058,1
686
+43.7046,11.2132,2
687
+0.922266,30.0205,4
688
+0.437318,28.0702,4
689
+0.984683,30.1268,4
690
+49.3266,40.7514,1
691
+17.8771,0.0745156,5
692
+41.6667,0.316857,3
693
+45.6579,44.3402,1
694
+48.1781,42.813,1
695
+53.1949,44.9367,1
696
+40.814,0.221239,3
697
+40.9877,13.1519,2
698
+42.2311,43.3076,1
699
+48.1054,46.1538,1
700
+42.5459,12.6494,2
701
+45.5128,44.2276,1
702
+45.6189,44.6429,1
703
+43.5696,41.9291,1
704
+39.9285,0.154083,3
705
+1.1745,28.9888,4
706
+0.475624,31.4993,4
707
+42.7711,39.8876,1
708
+49.142,44.8046,1
709
+45.3237,12.9412,2
710
+43.6798,41.5911,1
711
+50.6211,45.9052,1
712
+42.5899,36.3777,1
713
+50.3165,44.5392,1
714
+46.9737,37.2325,1
715
+41.0104,36.2058,1
716
+43.1591,0.363196,3
717
+44.511,46.1538,1
718
+1.40562,26.9598,4
719
+0.928793,32.2176,4
720
+45.993,42.1206,1
721
+47.0812,43.0894,1
722
+40.1923,10.4603,2
723
+47.7352,40.3072,1
724
+1.25,29.7335,4
725
+20.2079,0,5
726
+45.9834,40.6829,1
727
+46.3557,41.1836,1
728
+45.6238,45.5399,1
729
+43.4022,40.9628,1
730
+47.8114,41.2548,1
731
+43.0039,41.3282,1
732
+43.2489,38.0759,1
733
+16.5017,0.0853971,5
734
+46.6102,41.9355,1
735
+44.6363,38.7635,1
736
+41.1533,8.87574,2
737
+43.9076,47.8261,1
738
+45.3739,53.2338,1
739
+0.60423,27.1845,4
740
+44.507,41.6479,1
741
+43.8438,36.4162,1
742
+45.9603,41.3444,1
743
+18.024,0,5
744
+44.7658,41.6396,1
745
+46.603,45.6858,1
746
+38.0379,22.6357,2
747
+44.239,38.6221,1
748
+42.7954,37.0546,1
749
+46.4481,12.2807,2
750
+42.2566,36.8098,1
751
+42.0719,45.2218,1
752
+43.4682,43.1181,1
753
+47.2222,37.0272,1
754
+46.5909,41.6092,1
755
+46.1625,42.1292,1
756
+45.0479,39.6119,1
757
+18.1609,0,5
758
+43.0859,40.2282,1
759
+0.892857,29.0441,4
760
+47.5862,40.3323,1
761
+43.2225,40.6691,1
762
+1.21317,30.203,4
763
+45.8268,39.5451,1
764
+42.4305,12.9763,2
765
+42.9185,39.2211,1
766
+45.7181,42.8115,1
767
+46.8835,36.8136,1
768
+44.5017,40.9234,1
769
+46.4726,40.9091,1
770
+42.5676,39.7576,1
771
+40.568,39.6694,1
772
+46.4824,40.9135,1
773
+49.2754,42.4096,1
774
+41.1215,0.266667,3
775
+45.4802,39.4188,1
776
+44.4104,44.181,1
777
+48.8753,43.3603,1
778
+43.5159,41.6805,1
779
+41.3402,12.0629,2
780
+48.3478,42.7273,1
781
+45.938,41.5233,1
782
+43.1347,42.8323,1
783
+43.4944,42.1488,1
784
+44.7368,0.299103,3
785
+43.1734,40.0651,1
786
+1.49254,29.6501,4
787
+43.0079,37.9437,1
788
+0.462963,26.1838,4
789
+45.8944,39.0444,1
790
+46.7909,41.3428,1
791
+43.1034,48.6957,1
792
+45.7055,40.5966,1
793
+43.2715,0.308325,3
794
+46.4995,41.6379,1
795
+42.4273,0.252525,3
796
+42.1397,13.9224,2
797
+46.4226,38.1679,1
798
+45.3435,41.2773,1
799
+42.3698,49.4279,1
800
+44.4444,40.0673,1
801
+44.4848,39.9596,1
802
+43.4169,0.101937,3
803
+45.2685,44.7059,1
804
+44.3001,40.7843,1
805
+47.2581,41.1168,1
806
+43.7628,41.3043,1
807
+44.898,40.7442,1
808
+47.7903,40.451,1
809
+43.7177,41.4894,1
810
+38.1119,38.6364,1
811
+40.7484,43.9716,1
812
+46.0465,43.6348,1
813
+43.7773,42.381,1
814
+44.1958,10.8871,2
815
+45.9966,46.3592,1
816
+43.8416,12.7877,2
817
+40.5063,0.143266,3
818
+47.7054,41.7085,1
819
+48.2309,44.373,1

+ 820
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/atom.arff View File

@@ -0,0 +1,820 @@
1
+% This Fundamental Clustering Problems Suite (FCPS) may serve as a minimal test for new invented cluster algorithms.
2
+%
3
+% Every new invented algorithm should at least cluster the FCPS correctly.
4
+%
5
+% The data sets may be used as long as the following citation is referenced in any publication
6
+% concering any of this data:
7
+%
8
+% Alfred Ultsch, Clustering with SOM: U*C, in Proc. Workshop on Self Organizing Feature Maps ,pp 31-37 Paris 2005.
9
+%
10
+% main problem: different variances and linear not separable
11
+%
12
+@relation atom
13
+
14
+@ATTRIBUTE x REAL
15
+@ATTRIBUTE y REAL
16
+@ATTRIBUTE z REAL
17
+@ATTRIBUTE class {1,2}
18
+
19
+@data
20
+-4.82249,-50.40217,4.020861,1
21
+-44.46012,20.96467,-11.49206,1
22
+50.00102,0.7807481,9.13446,1
23
+-41.69908,-22.31006,16.31412,1
24
+4.425242,-4.666664,50.22374,1
25
+27.26058,23.38604,35.06772,1
26
+-19.988,-6.638056,45.86818,1
27
+47.5704,-1.571324,15.8721,1
28
+41.8764,10.83021,24.64421,1
29
+15.85935,14.686,44.09609,1
30
+-33.77252,-36.60115,3.766672,1
31
+3.218305,-44.84079,22.52914,1
32
+4.31406,-2.829593,-50.04402,1
33
+22.7331,-33.76487,28.55148,1
34
+5.453126,4.356794,48.95405,1
35
+6.473627,49.40687,0.3539394,1
36
+-21.38691,44.32754,-9.408566,1
37
+34.33926,-11.68791,34.82704,1
38
+-2.538081,-40.3518,29.40645,1
39
+14.16785,-35.62283,-32.61538,1
40
+33.07119,-28.15823,-23.45108,1
41
+-45.86114,2.049557,21.06677,1
42
+-45.06056,16.24832,15.40648,1
43
+11.35568,-8.953778,-49.02086,1
44
+26.94642,-32.28738,25.70605,1
45
+23.97626,43.49894,8.875034,1
46
+-22.61322,1.12052,43.846,1
47
+-46.64605,13.00358,14.79079,1
48
+-43.8916,-18.32661,19.00224,1
49
+-7.45989,-12.62892,-48.4261,1
50
+48.77461,-10.88641,-0.9436041,1
51
+-45.7206,-20.06,-9.225777,1
52
+-31.63734,-22.73955,31.27342,1
53
+-42.95419,22.21346,11.99868,1
54
+0.7238982,-0.5390864,50.49664,1
55
+-36.67465,-11.73224,31.75296,1
56
+-26.96182,-42.71378,-4.202611,1
57
+-12.54398,-44.17073,17.12193,1
58
+-3.791277,10.2348,47.8953,1
59
+-2.104881,-2.757672,49.14903,1
60
+15.93932,-40.4724,22.66677,1
61
+20.82794,22.35719,38.69671,1
62
+34.87016,27.49711,20.86706,1
63
+7.022449,10.49432,-48.06278,1
64
+16.93301,-46.36226,-10.05664,1
65
+48.95567,-9.864451,0.3758181,1
66
+-10.47965,-23.89419,43.89176,1
67
+-3.377526,-43.36406,-23.22464,1
68
+-17.27796,39.43855,24.45212,1
69
+-20.78939,44.21985,3.80786,1
70
+19.70845,-23.33272,-40.17329,1
71
+-18.0635,-12.48334,-45.34063,1
72
+11.00464,28.33156,-39.06953,1
73
+-12.04288,-35.05996,-33.67099,1
74
+-5.762872,35.68634,34.41024,1
75
+32.77245,-26.81582,-27.31609,1
76
+4.349359,-15.73848,-46.58156,1
77
+-37.4316,-13.33147,-29.36227,1
78
+1.095149,-28.95145,41.19409,1
79
+20.81152,-45.09924,6.71862,1
80
+-16.63654,40.85904,23.28948,1
81
+-49.46474,-9.365017,4.165513,1
82
+-32.93833,37.47076,5.488567,1
83
+-34.69399,-13.47161,-33.68293,1
84
+-1.700924,3.878389,-50.18907,1
85
+9.342566,-48.16571,5.786603,1
86
+-0.7621773,0.242945,50.54068,1
87
+-22.53897,-1.074838,-45.07567,1
88
+-43.22574,-19.92554,-14.80758,1
89
+0.146423,-2.590253,-49.4474,1
90
+35.09462,35.27068,3.152403,1
91
+-13.35171,-41.21441,25.29178,1
92
+5.15683,16.4838,-46.40707,1
93
+17.57125,-27.34733,37.69288,1
94
+40.25838,21.12824,-22.4371,1
95
+39.77912,-27.23688,-13.81376,1
96
+-10.20641,12.49038,47.36394,1
97
+-28.97766,-9.167267,-40.12533,1
98
+5.347855,9.703275,48.8182,1
99
+-29.34843,-29.73358,-27.20795,1
100
+7.751599,-1.21041,48.48497,1
101
+-20.17439,34.00705,-29.97805,1
102
+-1.591191,-9.64301,-48.89731,1
103
+-47.99001,-3.734926,-13.51071,1
104
+-31.08115,22.26071,-31.88627,1
105
+-24.65025,-38.61415,20.05759,1
106
+2.615159,23.41465,44.5257,1
107
+29.87216,-38.8878,3.377874,1
108
+-22.57602,-14.56696,-41.73751,1
109
+7.257201,14.53641,47.57259,1
110
+28.67004,41.82245,4.503478,1
111
+-44.33257,-11.93141,21.89896,1
112
+12.6086,14.71034,45.88678,1
113
+34.84005,33.95954,-10.87016,1
114
+0.6930852,47.70752,15.27311,1
115
+-40.55072,10.0782,-27.85772,1
116
+36.46811,25.91996,-22.74993,1
117
+46.04884,-18.70015,-9.746982,1
118
+-11.2556,14.99203,46.56661,1
119
+-26.34762,28.01287,31.83715,1
120
+27.7089,-31.65224,27.68707,1
121
+4.957815,2.793576,49.31642,1
122
+12.02478,-30.42038,-37.49503,1
123
+-33.9034,33.37337,13.62383,1
124
+-0.6913066,50.59888,-3.136346,1
125
+-21.28546,31.15772,32.29716,1
126
+5.779592,-4.921898,49.71489,1
127
+47.65302,2.013214,17.81435,1
128
+-11.25033,-32.35077,36.86448,1
129
+-26.76125,38.64196,-17.24929,1
130
+48.96192,-13.58528,-0.6522584,1
131
+-41.06392,-8.996117,25.71,1
132
+-26.52002,-41.99598,-8.558903,1
133
+-38.85771,31.28569,9.822041,1
134
+-2.515191,-46.94446,-15.17955,1
135
+6.50394,-8.794935,-48.28183,1
136
+14.96289,-9.978585,46.97517,1
137
+-2.025608,0.04964101,50.5298,1
138
+40.88566,16.21842,-24.76219,1
139
+-14.3098,16.65692,45.46714,1
140
+-3.27665,50.2128,6.63532,1
141
+-27.98439,12.86504,-39.89967,1
142
+-44.5204,20.09092,-11.79887,1
143
+-30.49969,16.16691,-35.79538,1
144
+-13.12977,44.15611,-17.2343,1
145
+15.69404,46.58119,-10.78499,1
146
+4.421565,-0.4555505,49.46495,1
147
+28.2317,-31.7384,24.18817,1
148
+-22.90543,-40.52252,18.15122,1
149
+10.99909,33.17303,36.23688,1
150
+47.35365,-16.80534,2.047461,1
151
+-33.60902,-31.43792,20.79608,1
152
+1.020812,-2.477213,50.5857,1
153
+-25.79635,6.522167,43.05138,1
154
+-2.533395,4.720672,-49.26161,1
155
+38.90562,11.80128,30.41467,1
156
+-8.89362,-44.05494,20.70422,1
157
+-36.85225,-10.28442,-31.86347,1
158
+-44.43241,0.7083098,22.80296,1
159
+-17.25394,22.097,41.54161,1
160
+-6.064972,-16.46601,-46.84798,1
161
+47.50892,-11.84642,7.375438,1
162
+19.13517,40.67304,-23.05783,1
163
+-17.02271,11.34864,-45.25962,1
164
+44.37608,-18.80899,-15.02566,1
165
+-2.487963,0.9622863,-50.34179,1
166
+21.9998,-43.85001,5.786808,1
167
+12.12234,-28.15303,39.30494,1
168
+-31.38082,27.30521,-29.55518,1
169
+-14.69619,-45.58635,-14.8987,1
170
+-1.570841,-1.131274,-50.39623,1
171
+23.83922,16.03683,40.23738,1
172
+10.23427,-1.183003,-48.35214,1
173
+17.72995,-39.4835,-25.10024,1
174
+-23.2807,-29.6062,-31.71901,1
175
+-22.85635,-43.16858,9.428436,1
176
+19.38618,40.13338,-24.0397,1
177
+8.098991,-8.90821,-49.00687,1
178
+32.80908,-34.0526,15.72066,1
179
+-6.456641,1.122958,-50.14607,1
180
+10.61215,9.583215,-48.09697,1
181
+28.89482,35.19984,20.01794,1
182
+6.838639,2.594893,48.91467,1
183
+16.24363,13.01361,-44.43923,1
184
+33.33504,8.206512,-35.21809,1
185
+15.09552,41.48158,24.88161,1
186
+16.69818,-44.23849,17.47795,1
187
+-0.3559351,-1.865036,50.10813,1
188
+-38.98961,-9.487279,-28.06464,1
189
+-43.20009,-24.29032,-1.564957,1
190
+-30.52187,20.42487,33.02506,1
191
+23.48271,-34.72635,28.37988,1
192
+12.52884,28.36919,-40.08085,1
193
+7.496297,27.39054,-41.32372,1
194
+-11.35721,-32.35619,-37.36999,1
195
+-8.301093,8.04872,47.99522,1
196
+-32.83114,-34.61644,15.94803,1
197
+34.09921,-30.94227,-18.8846,1
198
+21.62079,-5.983094,44.65717,1
199
+3.491038,-5.590563,-49.57293,1
200
+-39.16634,-30.02453,-9.61393,1
201
+-48.47684,-0.9443744,-8.961936,1
202
+18.24831,-31.17883,-33.83826,1
203
+20.80812,-27.43795,35.95826,1
204
+-48.67136,-10.729,3.423902,1
205
+6.568269,44.86672,21.62113,1
206
+-6.752613,4.428355,49.64736,1
207
+-44.87937,10.24572,18.68548,1
208
+-35.09465,-16.77224,32.60057,1
209
+-24.77118,-42.13846,-12.20059,1
210
+29.18215,35.27971,20.0137,1
211
+0.9745382,-1.076707,49.32918,1
212
+-41.6554,-16.53109,22.05314,1
213
+24.75164,43.64613,3.542096,1
214
+-46.88357,17.48583,-2.534842,1
215
+13.39536,10.85655,46.0423,1
216
+11.16815,-2.346825,-48.95842,1
217
+20.26882,-33.53818,30.6549,1
218
+23.55002,-3.955634,-44.27267,1
219
+-19.29657,-46.71972,-7.68587,1
220
+35.46157,-22.90718,-25.87966,1
221
+-46.48111,13.37205,-14.28129,1
222
+-28.49779,22.64155,34.17736,1
223
+24.69414,-38.03717,-22.43411,1
224
+-24.70609,-16.40013,-41.74278,1
225
+20.02143,-4.044525,-44.81512,1
226
+-2.168572,48.94227,6.657756,1
227
+-31.92266,5.88428,-37.10368,1
228
+15.04082,-30.53569,-35.32828,1
229
+-5.382507,2.117309,49.83157,1
230
+19.26804,-45.46831,-3.429013,1
231
+30.95699,34.95664,-16.28408,1
232
+-16.55415,-17.9403,43.40404,1
233
+-17.59724,4.095142,45.98448,1
234
+36.35111,-34.58334,-0.95707,1
235
+40.0404,-22.59247,-21.29191,1
236
+-9.102509,-2.622652,-48.89323,1
237
+-26.14375,31.42785,-27.50999,1
238
+-21.7382,33.06834,31.3796,1
239
+31.98738,-36.17371,11.84347,1
240
+18.59285,-43.36289,-15.83322,1
241
+-3.811619,5.949773,49.23386,1
242
+49.76361,0.04336323,3.636998,1
243
+26.83767,-6.235159,-42.08913,1
244
+-3.206753,-40.77514,28.55627,1
245
+-44.50087,1.440294,-22.84606,1
246
+15.59361,-24.10409,-41.79011,1
247
+-25.90782,9.968161,-41.97255,1
248
+9.414464,-47.31675,-8.793803,1
249
+-44.87765,-15.92584,12.69684,1
250
+14.20206,-44.84281,17.31598,1
251
+-22.17526,42.26628,14.5148,1
252
+-19.8821,-32.87743,32.40931,1
253
+-7.091579,37.44145,32.20222,1
254
+2.3646,7.391677,48.66939,1
255
+38.44342,22.12334,25.31603,1
256
+2.365793,0.8129662,-50.1924,1
257
+29.318,-29.17177,-28.00311,1
258
+41.60221,3.430297,27.88026,1
259
+14.27009,7.708516,-47.86103,1
260
+17.78474,46.87565,1.343949,1
261
+-30.60782,19.16917,-34.75742,1
262
+-35.13651,-34.40076,12.50067,1
263
+38.15176,1.3047,-30.47795,1
264
+39.68217,20.87902,22.40266,1
265
+33.49055,-13.76336,-34.23562,1
266
+-46.07051,14.35748,11.63906,1
267
+20.13949,-13.85247,-44.29513,1
268
+-14.16664,37.641,29.96453,1
269
+5.311071,1.981352,49.42998,1
270
+-27.91478,3.326468,40.03162,1
271
+-48.79479,-7.853357,7.005214,1
272
+6.928665,38.10239,-33.10926,1
273
+-33.92357,-24.50821,-27.33945,1
274
+-46.46928,-20.22653,-1.50004,1
275
+-25.74115,33.7682,-26.11377,1
276
+-11.62565,-21.11612,44.55823,1
277
+46.17046,12.95738,13.59058,1
278
+-27.06898,39.63657,-16.8676,1
279
+8.794248,3.027069,49.47441,1
280
+-4.247651,8.789343,-49.0567,1
281
+-0.8666983,-28.31705,-41.55359,1
282
+-10.67849,12.457,-46.94552,1
283
+41.50206,-28.7027,-4.970166,1
284
+-6.271647,-25.36591,-43.41453,1
285
+25.29207,-28.03253,-32.76368,1
286
+-21.24144,-30.16006,-34.22664,1
287
+10.36366,-9.062661,48.69894,1
288
+36.28288,35.08028,-4.018332,1
289
+-28.14774,-33.01025,27.13286,1
290
+-6.204708,-4.217845,49.81495,1
291
+-5.061931,-45.69232,-18.42893,1
292
+16.2768,-21.03139,41.71322,1
293
+2.083891,5.838801,50.16167,1
294
+18.29273,-43.5623,17.23676,1
295
+4.772465,-6.594583,-48.75218,1
296
+3.675565,-32.59256,-38.73641,1
297
+-27.68478,34.71555,-24.40825,1
298
+-23.7102,8.074168,42.35586,1
299
+-28.65841,-15.43324,-37.15577,1
300
+-14.10338,-5.827681,-48.74629,1
301
+-1.673709,12.11732,-47.82571,1
302
+10.2283,43.29045,-21.3484,1
303
+-3.916615,-1.481448,-50.59212,1
304
+-3.65934,-50.46101,1.383157,1
305
+-15.41431,-14.20952,45.30973,1
306
+23.12736,14.88019,42.09711,1
307
+22.19725,28.39519,34.92551,1
308
+-43.62921,-8.788146,20.91679,1
309
+-6.123117,-10.98347,47.53668,1
310
+15.07826,45.03738,-16.53673,1
311
+-35.32299,-19.63147,30.21394,1
312
+-28.18722,36.92129,-17.21705,1
313
+-11.91392,-17.66227,-45.26736,1
314
+-26.40349,41.55071,8.600806,1
315
+30.85129,-3.649354,38.53956,1
316
+-38.55605,-3.145174,30.59207,1
317
+1.118891,-26.31832,-41.69631,1
318
+-32.91517,-21.91888,-32.06323,1
319
+0.7997207,-1.614539,49.20648,1
320
+2.548724,5.762376,50.24814,1
321
+-17.6683,-11.11593,-46.2383,1
322
+23.21439,4.272787,-44.92996,1
323
+43.24806,18.23998,-17.74841,1
324
+-18.89171,4.005896,-45.73183,1
325
+6.317842,-5.627168,-50.04882,1
326
+-2.02899,12.3768,-47.26368,1
327
+4.811247,-2.576305,49.32997,1
328
+-22.83097,-5.172263,-44.96045,1
329
+-10.96187,44.4455,20.04965,1
330
+-40.77551,-3.840934,28.09662,1
331
+-2.422117,-0.4205238,-49.94691,1
332
+-4.763024,-24.28322,43.34423,1
333
+-1.692692,-22.40035,44.05213,1
334
+-40.13388,-23.88943,14.24961,1
335
+-42.20175,-14.22269,21.99311,1
336
+-49.02459,-3.948233,4.017968,1
337
+12.23806,-9.352941,46.67156,1
338
+29.34727,-2.915915,-41.25044,1
339
+10.49566,-40.20741,28.20718,1
340
+-1.676561,-1.926316,-50.43314,1
341
+-44.47906,19.08395,16.20009,1
342
+42.65319,23.04041,15.27074,1
343
+-15.96402,38.35168,-27.47054,1
344
+-43.91615,25.51323,-5.422202,1
345
+13.50486,-26.76754,-39.62078,1
346
+-16.50981,-34.14365,33.08603,1
347
+30.2339,28.53781,28.49641,1
348
+7.178304,-15.8783,47.62733,1
349
+-14.43792,-38.43511,29.94253,1
350
+-27.2406,-20.58386,37.23562,1
351
+-37.56518,24.63804,-20.95346,1
352
+-1.183901,12.50498,49.26622,1
353
+46.7896,-5.428576,13.04613,1
354
+-13.2169,-3.617789,49.09214,1
355
+14.313,45.24936,-19.42335,1
356
+-12.53725,-6.122769,-48.20183,1
357
+14.4142,5.507587,-48.08541,1
358
+24.72322,-36.96659,-23.56403,1
359
+11.93249,10.63697,47.17158,1
360
+43.47521,3.129027,24.45635,1
361
+-28.55507,-38.59994,-17.70492,1
362
+-17.6162,39.166,-27.34132,1
363
+-14.66631,47.50269,7.730248,1
364
+0.7349299,22.86023,45.28497,1
365
+5.590621,-3.165642,-49.04724,1
366
+1.801536,-10.81482,-49.2775,1
367
+39.10788,-31.22524,-9.286197,1
368
+16.43955,-38.30058,28.88626,1
369
+37.26142,24.40814,-21.32443,1
370
+-26.56257,-9.801281,41.74282,1
371
+-4.503966,-1.384816,-49.21838,1
372
+-27.8525,-17.26728,-37.13444,1
373
+-4.881838,-0.8021143,50.04124,1
374
+-44.20992,12.75119,19.74027,1
375
+-36.51986,18.76769,28.56282,1
376
+-29.10923,28.74427,29.49907,1
377
+0.7703682,13.37954,-47.96614,1
378
+10.06615,5.934258,49.29639,1
379
+-20.505,-29.27766,34.81064,1
380
+4.140492,7.276366,-49.53939,1
381
+-11.08649,10.98255,-48.64085,1
382
+14.27564,30.85341,37.31859,1
383
+9.463121,38.41169,30.69383,1
384
+-21.24122,-41.14747,-18.88702,1
385
+48.54252,8.97072,2.144794,1
386
+-25.95555,7.511405,40.59191,1
387
+-5.926018,-8.151059,48.5188,1
388
+43.22695,17.74809,-19.63619,1
389
+22.50138,-32.4333,-31.44645,1
390
+-1.676615,-19.41668,45.2155,1
391
+-11.84379,-3.100888,-48.7344,1
392
+10.12314,-35.97861,33.17212,1
393
+-5.88182,-2.488278,49.388,1
394
+4.442041,13.9605,-48.2819,1
395
+-47.06148,-12.1271,14.46822,1
396
+6.110267,48.82202,-2.239585,1
397
+40.88596,21.04953,20.69693,1
398
+14.90146,47.77287,7.962387,1
399
+48.04972,17.27542,-1.823311,1
400
+-22.02923,-44.69981,-5.498068,1
401
+-38.88169,-27.00149,15.16309,1
402
+-37.48659,33.50115,-7.571599,1
403
+-14.29629,-14.51095,-46.20447,1
404
+43.32907,13.10979,-20.56149,1
405
+-32.87598,-11.18051,36.63614,1
406
+45.57623,10.69727,-16.31074,1
407
+-27.99436,12.55625,40.24353,1
408
+15.24113,14.0065,46.0521,1
409
+43.90917,1.319353,22.99316,1
410
+40.11679,-26.44239,-14.69514,1
411
+35.23984,2.785888,-35.64861,1
412
+9.095878,-43.90266,-23.68047,1
413
+23.85557,-14.64062,-41.78517,1
414
+16.40414,-37.68288,27.68875,1
415
+25.97567,31.85128,27.67197,1
416
+3.486008,35.42002,-36.70013,1
417
+15.33379,46.17612,14.36294,1
418
+-10.78011,-7.045256,49.25292,1
419
+8.018622,-1.023863,-49.54882,1
420
+0.6857508,0.882203,-0.8854096,2
421
+0.211911,2.566241,4.355553,2
422
+2.439457,2.259743,3.084992,2
423
+5.971988,1.003704,2.859852,2
424
+-2.646234,-2.439604,4.711721,2
425
+-1.080572,1.800438,-3.650148,2
426
+-0.1465547,1.11926,0.6701577,2
427
+1.994454,1.20906,1.886642,2
428
+-3.052135,5.57863,3.890948,2
429
+1.801007,0.04444109,1.405029,2
430
+2.314274,-1.492039,0.4027197,2
431
+-0.5953394,-1.798263,3.080695,2
432
+2.154614,-3.375758,1.969941,2
433
+3.472002,-6.171456,4.908502,2
434
+7.372167,-1.635844,-1.170528,2
435
+3.706295,-2.422915,2.789299,2
436
+-3.93839,0.2432051,2.127694,2
437
+-4.051334,-0.99387,-0.4394743,2
438
+-0.8531086,1.039651,2.009814,2
439
+-2.838916,-4.764276,-0.6343368,2
440
+0.4749569,-1.280334,2.969757,2
441
+-1.474658,3.5688,-1.376201,2
442
+1.969728,3.915431,0.7574453,2
443
+-0.939271,0.8140218,-4.359775,2
444
+7.361267,-1.438232,0.4968328,2
445
+2.010779,-1.53542,-0.6623068,2
446
+0.2196354,7.214851,0.48745,2
447
+0.3656419,5.426153,-1.8866,2
448
+-2.273953,-0.4099031,-4.951911,2
449
+-2.389804,-4.922831,1.633307,2
450
+5.022775,-1.923718,-2.293836,2
451
+6.548579,5.189726,2.173688,2
452
+-1.363253,1.107519,-1.807876,2
453
+-4.743645,0.6285966,-4.060351,2
454
+-1.009205,0.8447483,-4.389114,2
455
+1.64609,2.341043,5.935584,2
456
+-1.91998,-0.9656597,-2.265899,2
457
+3.395606,0.3341458,-3.703464,2
458
+-3.118424,-0.8117026,-2.579345,2
459
+2.699059,1.217836,3.775685,2
460
+2.336222,4.177088,2.855681,2
461
+-1.838001,-2.447912,3.127455,2
462
+2.208435,-2.749863,-0.4662627,2
463
+-2.247011,-1.219582,1.979178,2
464
+-3.249057,1.615225,-1.808627,2
465
+3.699544,-2.479789,-1.165336,2
466
+-2.78142,2.796381,-0.6005492,2
467
+1.187184,2.394058,-0.3659764,2
468
+2.643978,-1.123777,5.55275,2
469
+3.735515,-5.618837,1.988665,2
470
+-3.583686,-0.2521519,-3.036507,2
471
+2.129532,-4.943742,3.97886,2
472
+-2.315981,-0.7033198,-1.306295,2
473
+-0.2686535,1.509548,1.798599,2
474
+-0.1068473,-2.140609,0.6526674,2
475
+2.333638,2.643679,2.12281,2
476
+2.219055,1.809333,-5.719382,2
477
+0.7201211,-1.480367,3.346304,2
478
+1.64071,4.98128,-0.3555101,2
479
+-3.731598,-0.2800017,-3.759777,2
480
+1.011045,0.9160681,-1.268644,2
481
+-1.954354,1.419827,-2.185898,2
482
+0.2046087,3.442643,4.993592,2
483
+-8.378955,-2.165526,-4.408032,2
484
+-0.7973953,-2.390583,-4.636713,2
485
+5.478362,0.1766405,-3.420528,2
486
+0.5565598,2.612871,0.4986837,2
487
+-0.8348679,-2.317563,-0.947733,2
488
+0.2320126,1.858847,-1.703241,2
489
+-1.565779,2.008856,-2.741294,2
490
+1.08985,1.484981,-2.12336,2
491
+0.9376637,-1.428467,5.058846,2
492
+5.681549,3.124042,6.992235,2
493
+-1.441338,-0.1767457,-1.848403,2
494
+1.792972,5.29798,0.820409,2
495
+-1.91641,-2.142672,0.2845976,2
496
+0.5039803,-3.089233,-0.501618,2
497
+-0.4613391,2.884551,3.511664,2
498
+-1.269224,-8.448683,-7.718695,2
499
+-0.8178036,-0.2487775,-1.335382,2
500
+-4.664956,-5.306959,1.427103,2
501
+0.9845514,2.496533,1.895965,2
502
+-2.999286,-3.242489,-1.2514,2
503
+2.959275,0.9715286,2.344441,2
504
+-4.944213,-0.9660186,-0.9989044,2
505
+-1.252367,-3.982138,0.8584992,2
506
+-0.7713222,-2.160952,0.1872395,2
507
+3.049083,3.75736,5.195643,2
508
+-8.909048,5.340831,-4.324626,2
509
+-2.245051,2.96762,4.807449,2
510
+2.437466,-5.246342,4.554155,2
511
+3.570202,-1.469213,0.5396938,2
512
+-5.331455,8.447442,1.338667,2
513
+-0.4750815,-3.71395,4.108761,2
514
+1.883331,-3.156272,-0.276337,2
515
+-2.739164,-2.16784,4.028964,2
516
+-2.519814,2.893383,-0.4491906,2
517
+-1.098556,0.8500788,3.755042,2
518
+-0.3814715,-1.471878,0.1484236,2
519
+-1.5088,-1.957367,5.239964,2
520
+0.2953837,-2.565544,-0.9065145,2
521
+-1.455601,-6.507712,4.234516,2
522
+2.96581,3.029429,-0.8210273,2
523
+0.8941062,0.5047947,5.316243,2
524
+-3.648411,1.566411,-2.752217,2
525
+3.746515,-0.2427881,1.873371,2
526
+-2.732619,-0.6682261,1.204702,2
527
+-0.2979396,-1.464379,2.052028,2
528
+5.084834,-2.734686,-2.0445,2
529
+3.668543,-4.129444,4.510403,2
530
+-5.234294,3.376536,-0.6287515,2
531
+3.107282,3.157263,6.564192,2
532
+1.263883,-2.273074,-4.73078,2
533
+2.00673,-2.901646,0.6389323,2
534
+1.564927,-4.635948,1.472271,2
535
+-3.443766,2.671811,1.964837,2
536
+-2.077176,-0.2060344,-2.148921,2
537
+-0.1978189,-5.25484,0.6407388,2
538
+1.598787,-1.150763,-3.813669,2
539
+0.4937305,4.184748,4.076734,2
540
+3.559815,2.683231,2.792635,2
541
+-0.6070062,-5.26743,0.588055,2
542
+-3.069798,2.921481,-0.5057467,2
543
+2.220496,-2.960297,0.8268571,2
544
+-5.838797,-1.188735,2.010014,2
545
+-0.6767248,6.614396,1.235549,2
546
+-0.3961536,3.213444,0.2725466,2
547
+-1.1085,0.6563444,6.065778,2
548
+-4.336126,-3.231944,2.012579,2
549
+1.178765,-1.87288,5.814973,2
550
+-1.941379,3.33113,-4.327779,2
551
+0.008128069,-2.517313,1.125482,2
552
+-2.782534,1.211172,-2.595866,2
553
+-4.770282,4.453332,0.07458127,2
554
+-0.1336568,0.6202189,-0.32682,2
555
+-1.622752,-2.685083,-5.697222,2
556
+-0.3926941,4.582314,-4.972728,2
557
+2.893812,-2.772849,-5.58111,2
558
+3.761822,0.8375366,-4.955896,2
559
+-2.369809,-2.616509,-7.701871,2
560
+-5.248944,-3.318315,-3.850369,2
561
+-2.023955,0.7932941,-1.456168,2
562
+3.669015,-0.5903276,4.991294,2
563
+0.2142926,1.114604,-0.31111,2
564
+-1.982968,-5.70245,-1.89499,2
565
+-1.08896,3.611339,5.93066,2
566
+5.491744,1.489262,1.99605,2
567
+1.164466,-2.593486,-0.1723508,2
568
+-1.88978,-1.130378,-0.8064836,2
569
+2.958213,0.4932887,0.07846496,2
570
+-0.9527743,0.5318725,2.529607,2
571
+-2.405642,-3.759512,0.4742506,2
572
+0.7097337,0.376005,-4.582812,2
573
+1.251169,-0.1649526,-0.6668503,2
574
+2.691934,-0.9034802,-0.2830244,2
575
+4.414724,-0.7328438,1.092509,2
576
+-7.025569,2.261951,-2.417861,2
577
+1.927051,-2.068123,1.137463,2
578
+-1.533714,-0.9314605,-0.5769305,2
579
+2.379856,2.53336,0.4722709,2
580
+1.10753,-6.067991,-0.7688389,2
581
+5.523097,1.682912,6.283408,2
582
+1.362398,0.5113904,-3.999202,2
583
+-3.165903,0.4347524,2.51412,2
584
+6.387508,-5.439273,2.975141,2
585
+-1.6154,-4.144359,1.790375,2
586
+0.2982882,3.111602,2.430254,2
587
+-3.233665,3.61911,1.689588,2
588
+-0.7221485,0.7000583,0.4187103,2
589
+-3.18231,-2.673871,2.962733,2
590
+0.4880486,-3.86234,-4.926924,2
591
+0.885876,-1.35837,-0.2320844,2
592
+4.419872,4.162047,4.27028,2
593
+0.9427458,3.3255,0.7980857,2
594
+1.900041,2.055249,-1.364739,2
595
+0.4523788,-1.555019,-3.398596,2
596
+2.935812,-3.739588,-2.435971,2
597
+-4.997471,1.60936,0.5343553,2
598
+1.78273,-0.2305766,-4.50473,2
599
+2.675553,-0.4205683,3.787978,2
600
+0.7521032,3.92692,-2.773507,2
601
+-2.070227,0.9194031,1.280686,2
602
+1.02425,-1.369198,4.671225,2
603
+-6.092107,2.777138,-2.133764,2
604
+3.000736,-3.304323,0.7796639,2
605
+0.5838262,1.68413,-2.425544,2
606
+5.67912,-0.1005359,-0.1784475,2
607
+-1.041584,-2.543006,3.109204,2
608
+0.4323519,-0.9002614,3.187455,2
609
+2.434593,-1.362968,2.652755,2
610
+1.559262,2.826316,-2.99732,2
611
+7.163709,1.958183,4.835092,2
612
+-0.101938,3.17642,2.543033,2
613
+-2.628153,-0.253563,4.995124,2
614
+-0.3906383,-0.4021129,2.899176,2
615
+3.883383,2.395423,-0.1284234,2
616
+-0.1072219,-2.04261,-0.05659407,2
617
+-0.1192542,0.9417715,1.702334,2
618
+3.157758,6.460398,1.723977,2
619
+-1.069912,-4.775348,-0.5309079,2
620
+0.9268324,-1.526029,2.561712,2
621
+-5.233704,1.543572,1.690739,2
622
+1.346109,-0.6676131,1.038503,2
623
+-0.4786681,0.9935639,5.359561,2
624
+-5.96451,1.18326,1.039251,2
625
+3.520877,2.827412,1.394628,2
626
+-0.3073581,-1.381675,0.8638124,2
627
+6.663724,-4.448422,-0.4128964,2
628
+2.440755,0.9170853,-3.450819,2
629
+-0.4248996,-3.142687,1.902546,2
630
+3.57414,1.412587,-2.627693,2
631
+2.338076,0.4267432,0.6204286,2
632
+3.992547,2.48695,-5.598168,2
633
+-2.135379,5.741222,-1.835949,2
634
+0.4561528,-3.983706,-1.965915,2
635
+-0.04466124,5.381961,-3.093469,2
636
+-1.072438,-0.4053225,0.480652,2
637
+-1.243867,0.2260037,-2.649767,2
638
+-6.9719,4.324254,3.454194,2
639
+-1.045548,-0.7897105,0.8969957,2
640
+-4.256829,-2.068193,-9.482627,2
641
+2.331976,0.4673227,6.728412,2
642
+-7.84659,-3.365855,4.087282,2
643
+7.247825,-5.909715,0.1985459,2
644
+-2.862248,-1.491997,-5.196373,2
645
+-4.388342,-0.7993243,-2.754379,2
646
+-1.772414,0.6946711,2.124064,2
647
+0.5285532,-2.032989,1.22282,2
648
+-5.245003,0.7892834,1.581749,2
649
+4.011352,-1.813788,-4.592192,2
650
+4.892448,1.673377,4.018903,2
651
+-3.268758,1.771743,-2.803739,2
652
+-1.123781,-1.262322,-3.809484,2
653
+-2.486274,0.7246917,-1.663949,2
654
+1.940859,1.538409,-0.4857599,2
655
+-3.653413,-1.548443,4.179189,2
656
+-6.041536,1.60262,1.428917,2
657
+5.747879,1.361524,-1.805949,2
658
+-0.05869537,0.7790818,-0.7710062,2
659
+2.588932,-6.165571,-0.8774029,2
660
+-1.372604,7.19394,1.915906,2
661
+5.653621,3.988551,0.8513711,2
662
+-2.839539,5.249275,0.2103143,2
663
+-0.2039446,2.354881,-4.474215,2
664
+0.8025108,-0.4010434,-2.571119,2
665
+-1.976681,3.0932,1.741864,2
666
+-0.1680746,3.427764,1.397416,2
667
+5.311834,-2.229388,3.549359,2
668
+2.651291,1.682682,-0.08112159,2
669
+6.933685,-1.508769,-2.521124,2
670
+3.978823,2.386428,-1.487218,2
671
+2.377309,2.137458,1.055532,2
672
+-0.2128159,2.122509,-0.05893863,2
673
+1.875357,2.307338,-5.183204,2
674
+-1.00294,1.979053,1.874058,2
675
+2.502218,-0.3992083,1.815174,2
676
+4.493396,1.024049,-0.9673014,2
677
+0.115232,-0.8651327,5.024885,2
678
+0.9802681,1.890776,1.681311,2
679
+1.080192,-0.6882419,1.869857,2
680
+2.075016,-0.8435984,5.010691,2
681
+1.10094,1.799926,-0.3689422,2
682
+3.789117,-4.632595,-2.691217,2
683
+5.257907,9.103975,4.565313,2
684
+0.1882316,-3.904892,-1.993112,2
685
+1.943879,2.012915,-0.2442778,2
686
+2.075994,-0.6257136,-0.04690891,2
687
+5.309885,-1.799667,1.16103,2
688
+1.448928,-7.414156,-3.728217,2
689
+1.283893,-1.23663,4.567132,2
690
+2.076752,-1.890981,2.146421,2
691
+-2.522585,-0.6111432,2.253856,2
692
+7.864556,1.761767,-1.679441,2
693
+-2.84233,-4.885815,0.503043,2
694
+3.009396,-1.065114,2.164222,2
695
+-3.273504,-4.6652,-1.130332,2
696
+-0.4807812,1.587906,-4.548273,2
697
+-2.226771,-2.733694,2.805205,2
698
+-0.003118659,-3.95916,-1.407079,2
699
+-3.284969,1.824634,2.734507,2
700
+3.733898,4.388027,1.083598,2
701
+-0.8347441,-2.18729,1.229859,2
702
+3.033981,-1.222419,3.969822,2
703
+1.155672,3.858163,2.60495,2
704
+3.358897,-1.027027,-0.6343606,2
705
+-3.88689,-5.18949,-1.789037,2
706
+0.7883284,5.584366,0.6578878,2
707
+0.808499,0.8842943,-0.6877014,2
708
+-3.239599,0.07157519,-2.635429,2
709
+-4.040467,-4.133659,-0.4718874,2
710
+-4.40666,1.116417,1.309244,2
711
+2.177722,-2.906242,-0.5382854,2
712
+-0.5423036,2.754569,-2.56561,2
713
+-4.680035,6.311411,-0.9817531,2
714
+0.3397221,-4.130182,-1.01588,2
715
+-2.569937,1.606615,0.4930642,2
716
+-0.008597723,2.775126,3.716914,2
717
+-0.4032857,-0.2865252,0.9624962,2
718
+-0.7338297,4.09292,1.401296,2
719
+-4.953256,1.546696,2.078953,2
720
+-1.460271,1.317705,-2.201737,2
721
+5.009099,-3.105473,-2.461173,2
722
+-0.3860498,6.676989,2.408224,2
723
+0.328537,3.946375,1.83699,2
724
+2.975795,0.2422899,3.540576,2
725
+-2.281982,5.795712,-1.732154,2
726
+-0.7550154,-0.8253743,-5.0125,2
727
+6.163693,4.126769,-1.222802,2
728
+-3.508145,-5.291994,-1.61015,2
729
+-0.5110323,0.5576283,-3.284502,2
730
+1.432413,-2.198103,-5.593888,2
731
+-0.4250549,-0.6164634,1.152038,2
732
+-7.859106,-0.7170842,-1.403426,2
733
+0.5771182,1.85594,-0.4034601,2
734
+0.3978062,-1.407337,1.799775,2
735
+5.946682,-2.297922,0.2049366,2
736
+-0.05928309,-5.609141,-0.4828498,2
737
+-1.098158,-6.583595,-2.11505,2
738
+-2.428037,1.155442,0.835692,2
739
+-1.454578,-1.356917,2.029918,2
740
+4.839734,0.8496217,-1.849934,2
741
+-2.983916,-0.6775176,-3.542804,2
742
+2.804998,-1.118266,0.4963224,2
743
+-0.8027642,4.263139,-0.9897301,2
744
+-2.986948,3.252586,-3.716943,2
745
+1.530625,-0.8581271,-2.522413,2
746
+0.4877746,0.498832,-1.773278,2
747
+1.95349,-1.73589,2.884817,2
748
+0.8812891,-1.219495,5.764981,2
749
+0.09317048,2.604835,-7.022606,2
750
+-3.539404,2.428516,-1.240128,2
751
+-3.932523,-4.912853,-4.865093,2
752
+-2.675714,-2.196411,7.585623,2
753
+0.9041734,5.937512,1.120111,2
754
+-2.838529,4.076371,1.092288,2
755
+-4.201611,0.06896203,-0.2639375,2
756
+0.3715026,1.343751,-2.014508,2
757
+-3.719853,-5.47899,1.188598,2
758
+2.313993,1.973408,-1.766602,2
759
+-1.62668,1.381789,3.044933,2
760
+4.701603,3.080433,1.062939,2
761
+-1.809786,0.5965799,-3.307109,2
762
+-1.489649,0.3334515,2.058074,2
763
+2.674433,-2.163165,4.663328,2
764
+0.4177258,-3.090928,2.503891,2
765
+-0.6343364,-2.428258,4.153797,2
766
+1.670784,-5.532695,-0.8430021,2
767
+-1.489334,0.5117131,-4.23929,2
768
+2.002893,-4.335721,9.294327,2
769
+0.4493406,-1.711912,-1.666487,2
770
+4.622113,-1.718422,-0.6745686,2
771
+0.485315,-5.637339,-0.4361569,2
772
+3.700039,-3.555049,-4.383864,2
773
+0.1042715,-0.1783742,1.789032,2
774
+-3.441811,0.2308942,-2.150525,2
775
+1.491339,-0.8376264,1.271982,2
776
+-3.234402,-1.808231,-3.64934,2
777
+2.080019,0.004774983,0.9140661,2
778
+-5.49479,3.53491,1.142129,2
779
+4.079701,5.265863,-2.058414,2
780
+0.2758031,-0.1937169,1.107633,2
781
+3.040441,-2.243949,1.626437,2
782
+-0.144522,0.6527299,1.191218,2
783
+3.293521,3.345644,-0.8037229,2
784
+-3.870644,-1.555483,-0.2785294,2
785
+1.729528,-3.898264,1.746642,2
786
+0.8641051,-2.456077,3.835896,2
787
+-0.9963443,3.907127,4.428097,2
788
+-3.009908,0.08073034,-4.53522,2
789
+4.185205,-0.9303026,0.6718949,2
790
+3.853745,-3.348238,-4.482354,2
791
+0.02009968,-2.239406,4.830845,2
792
+0.522799,1.280249,-3.793303,2
793
+2.095707,-0.7357503,3.758432,2
794
+-4.656394,-0.6939252,-3.362514,2
795
+2.41815,-3.682886,0.6882083,2
796
+5.001428,4.521816,-3.55103,2
797
+2.477508,-1.2386,-1.28846,2
798
+4.748669,-2.637736,-0.9213919,2
799
+-0.9674336,0.070325,-1.988711,2
800
+-0.8809894,2.270787,2.039961,2
801
+-5.681612,4.389901,5.012738,2
802
+-2.243695,0.2096124,-3.017766,2
803
+-3.906831,-4.972195,-0.03244618,2
804
+3.321621,-0.5973437,0.4792704,2
805
+0.8592244,3.654618,-1.711773,2
806
+-4.422729,-1.650484,-0.338493,2
807
+3.255994,-1.733413,2.384684,2
808
+0.3683167,-0.6210239,2.452386,2
809
+1.728795,0.4226163,0.07255092,2
810
+7.14411,3.708753,-2.432959,2
811
+-0.2977869,0.6195213,-0.5548628,2
812
+-3.203857,-2.275129,-0.6945145,2
813
+-1.565805,0.5209585,-0.08820235,2
814
+-0.8787358,3.693478,1.758421,2
815
+-1.531027,0.6816365,0.5432712,2
816
+0.5007537,-1.848209,0.6056538,2
817
+1.089574,-0.2464933,-3.355758,2
818
+-1.907717,4.964502,2.098423,2
819
+3.415463,4.529521,-1.617736,2
820
+

+ 4818
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/banana.arff
File diff suppressed because it is too large
View File


+ 100006
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/birch-rg1.arff
File diff suppressed because it is too large
View File


+ 100006
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/birch-rg2.arff
File diff suppressed because it is too large
View File


+ 100006
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/birch-rg3.arff
File diff suppressed because it is too large
View File


+ 311
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/blobs.arff View File

@@ -0,0 +1,311 @@
1
+% Data generated using Python package 'sklearn' (sklearn.datasets.samples_generator)
2
+%
3
+% make_blobs(n_samples=300, centers=centers, cluster_std=0.5, random_state=0)
4
+%
5
+@relation blobs
6
+
7
+@ATTRIBUTE x REAL
8
+@ATTRIBUTE y REAL
9
+@ATTRIBUTE class {0,1,2}
10
+
11
+@data
12
+1.4750442087627946,0.92432139585115103,0
13
+-0.022043845874652912,-0.8049533386560368,1
14
+-1.1767158743785995,-1.8082370943255164,1
15
+0.7722337482413284,1.0087395795125285,0
16
+1.23283121986523,0.23187815686138813,0
17
+-0.92174673101731219,-0.88390948189986207,1
18
+1.6595684381507878,-1.4412094092749592,2
19
+0.33389417270274913,-1.9843123448930102,2
20
+-1.2714307380083589,-0.79197497686928719,1
21
+1.3361473785062177,1.2037309181205553,0
22
+1.4712340596101969,-1.1337973731176738,2
23
+0.94839057410322103,1.2052992509691862,0
24
+0.65271607013431732,0.92518272983616456,0
25
+-0.11980202933086836,-0.79925047245485625,2
26
+1.2616383302658769,0.91422683438887598,0
27
+0.87899008506489029,-0.2408694148221473,2
28
+0.74124047874479837,-1.489414929679385,2
29
+0.7153439732649074,-0.86504782252961931,2
30
+0.80238550867282288,-1.5797102581999565,2
31
+0.51444771477775775,-0.84259139774208813,2
32
+1.3805188625734968,1.0608375082464141,0
33
+0.4262656737944488,0.78108997762778298,0
34
+0.74517390912417325,0.78096284919440684,0
35
+0.78242322413918131,1.9246318642396709,0
36
+0.76657722697361874,-1.7084530565631297,2
37
+0.82604392533692372,1.0781744845519901,0
38
+1.1854125006405511,-0.92896909740638223,2
39
+-1.1545064845235611,-1.8380019031649883,1
40
+1.4002824017154984,-0.9608699124191693,2
41
+-0.85682815555386016,-0.69557808276227462,1
42
+-1.0078410558012774,-0.91953591585088845,1
43
+1.0185028609550748,-0.61604879613364816,2
44
+0.44780833028577471,1.0260825396304871,0
45
+-1.0953267467906997,-1.1974247570167251,1
46
+0.024097949259198947,-1.3299458648647491,2
47
+-1.7914691986675408,-0.69481031044639741,1
48
+-1.1997245146314377,-0.81497205607624057,1
49
+-1.1034518380819858,-0.55991054395960882,1
50
+-1.4722231279591251,-1.2050248466012743,1
51
+0.387282240584916,1.4221814882007735,0
52
+0.25437120364719723,1.2196958506322684,0
53
+1.9614710132401925,1.7402573957172121,0
54
+1.7599974303828865,-0.14020534629190273,2
55
+0.86599831452430975,1.4012281978981975,0
56
+-1.8490529097161272,-0.80635976230246831,1
57
+1.383331590822543,-0.8218535912638556,2
58
+0.76498355864956258,-1.1083657352877694,2
59
+0.78040523909892601,-0.90933078539108936,2
60
+1.4107928560248979,-0.99735367685031961,2
61
+0.59342685897777292,0.13685869883416157,0
62
+1.3858952756068337,1.4117520769818657,0
63
+1.4322180994297529,0.62891748979677908,0
64
+1.1210589804925615,-1.4443601286768155,2
65
+-0.65423062446490676,-0.65262542817199698,1
66
+-0.7107392511355608,-0.82517277150341295,1
67
+-1.7703985072223123,-0.96836900289983419,1
68
+-0.97525250917495465,-0.75308161185952183,1
69
+1.4604294118904095,1.1593638264715107,0
70
+-1.1823467721958427,-0.92164807236381807,1
71
+0.54635081780837891,1.0259726978980694,0
72
+0.59718674623031609,-1.559155962160816,2
73
+-2.0153422338907472,0.03224643067965971,1
74
+-1.4779725002463886,-1.1729908878496933,1
75
+0.36015541339788026,-1.2927156021388864,2
76
+1.2287078031104954,-1.4823060068668643,2
77
+0.15939089225278325,-1.444485679047725,2
78
+-0.18479345261330149,-0.56797384975117604,2
79
+0.67819079858355469,-0.11170157611221332,0
80
+-1.0664402887934779,-1.1488954397008642,1
81
+1.5893897855798254,0.91003758209382457,0
82
+-0.73946756177362072,-1.2878939849065332,1
83
+1.4344817434483976,-0.86156404707693601,2
84
+0.55226671940316219,1.1934512489296309,0
85
+0.62762258897578005,0.58678073067049286,0
86
+0.67072351659749807,-1.2571169829699944,2
87
+0.47268576800749307,-0.58987608133765934,2
88
+-0.65077142544633193,-0.99811455545686534,1
89
+-1.3460249238921955,-0.23181147287710113,1
90
+1.1980033563308226,0.45346924563474711,0
91
+1.4683712317676285,-0.29383614698127847,2
92
+-0.98068472407990592,-1.8283575511609769,1
93
+2.1915723874319708,1.4722397434952068,0
94
+0.49097906235631761,-1.0389273779704253,2
95
+-1.0308132010478237,-1.0536526381455873,1
96
+-1.3598021942758964,-1.4064964942770386,1
97
+1.072021785580439,1.7271367534814877,0
98
+1.0052500103604103,1.8929352469529177,0
99
+0.1519583488419709,-1.5300079113607736,1
100
+1.4312980056642255,-2.3278095464874662,2
101
+0.48287857910776766,1.3407972591408135,0
102
+-0.65311342365493374,-1.0797867190731334,1
103
+0.79841152651341019,1.6112225351912137,0
104
+-1.6532634258676584,-0.17093466019090597,1
105
+1.9337794802132851,1.4530223291376927,0
106
+-1.3439188055143412,-1.6070387015470602,1
107
+0.46462368924472874,1.5272258634655684,0
108
+-1.3261467999675096,-1.2605946561505554,1
109
+0.63547767060265214,-0.90172129963560754,2
110
+1.5940148961761509,1.1584713059624248,0
111
+1.1773788465566091,-0.69155672280336056,2
112
+0.98035859088625221,0.41595325112940129,0
113
+1.1041374890384301,1.4883195182418563,0
114
+1.1694520626079723,0.010521780742398734,2
115
+0.823003044373258,0.3125243532909906,0
116
+0.41343829744292004,1.9718105928246463,0
117
+-2.1277821147010947,-1.5112534218178018,1
118
+-0.7380544880828972,-0.95578895647766926,1
119
+0.41042103468115609,-0.34928596416761959,2
120
+-0.86003770047838091,-1.0490751948214789,1
121
+-0.46574530034199546,-1.2266929019256938,1
122
+-1.0085102069307204,-0.81042413222245913,1
123
+-0.86274182113803022,-1.445457541497764,1
124
+-0.53407581294284823,-0.83001750809936903,1
125
+1.471523043661259,-2.3698385835947784,2
126
+1.0833367476862645,1.3175157184460531,0
127
+-0.66680845898404284,-1.2303598936942766,1
128
+0.74859164967873082,0.20622683977187428,2
129
+1.175890055340679,-0.81038223323220659,2
130
+-0.67834276746853606,-1.7853117043167264,1
131
+1.8694363387272555,-0.50280280434225055,2
132
+-1.3420054488686084,-0.17022460190506394,1
133
+-0.95113751614257225,-0.70852316012335326,1
134
+-1.078833508081908,0.12836174864910466,1
135
+-1.6671292357013767,-1.6733587528987777,1
136
+-0.75312911132540572,-1.0580519695171833,1
137
+-0.92902341833961022,-1.1596642085725475,1
138
+0.59829516791307946,0.65522511112489967,0
139
+0.18368273688275238,-1.783883862154227,2
140
+1.8663605934595666,-0.65774944657040479,2
141
+0.43009877228661297,-0.60752123937975,2
142
+0.9859088858306726,1.2141659352652088,0
143
+1.2493451374549138,-0.47601392201597359,2
144
+1.5501421691101869,-0.35098901383688941,2
145
+-1.5786776295954268,-1.1561461255628467,1
146
+1.2011708205887746,0.6575949545298434,0
147
+-1.059082022564285,-1.3400891019984251,1
148
+0.56460142540905911,0.71057516761779227,0
149
+0.88869715952583972,-1.4565396090208982,2
150
+-1.4927553688420754,-1.7359175037317933,1
151
+0.47572351746645369,0.28999103141051241,0
152
+1.2716559456937597,-0.78047852116397876,2
153
+1.5906893006441429,-1.3159518790025837,2
154
+-0.14431002000726423,-0.87425779248923152,2
155
+0.3736023199750369,1.388745177915955,0
156
+0.66997183993295861,-0.91209052335198604,2
157
+0.80633659129602386,0.84884862471233224,0
158
+-1.3187185127761145,-1.1986359071643988,1
159
+0.11573077466148463,-0.8222591036281155,2
160
+-0.18208690857059007,-0.98983290914737843,2
161
+-1.1338667684469832,-1.5640056657350034,1
162
+-1.5944296288920143,-1.2534081771493437,1
163
+1.7441260968977998,1.9479445880152917,0
164
+1.6151453403638603,1.6011899243922056,0
165
+1.0774737128484582,1.1890812598010867,0
166
+-1.3262042911935099,-1.1954766875938005,1
167
+0.79319050962012638,0.62627259427962112,0
168
+-1.1459186813739315,-1.3807461059058117,1
169
+1.1781831985872009,1.353286584095974,0
170
+0.49989232630521763,0.2276144516111942,0
171
+0.6150419627773418,1.2696245956459087,0
172
+1.033258611191584,1.1512359488698907,0
173
+1.5481734228328992,-1.1171079006722682,2
174
+-0.60683601894551198,-1.2332095483679715,1
175
+-0.27649490791703935,1.3268092977201804,0
176
+-0.047301535603072375,-0.93813904288324668,2
177
+1.5642970322572842,-0.75199952682801885,2
178
+0.82627467375071839,-1.2906342384301626,2
179
+-1.7120304544912659,-1.2466599416810971,1
180
+0.74459743121556343,0.40968390793879395,0
181
+0.9507737377872838,0.66826085681894631,0
182
+0.84422373393631367,1.0280826711148727,0
183
+0.7228451867143495,-1.2353188290773958,2
184
+0.54561837702047344,-1.2121588104889507,2
185
+0.66283366967131196,1.0159152791371755,0
186
+1.9337789950749837,0.51136106006179449,0
187
+1.4893689920528697,2.1204465996007289,0
188
+1.0228792586507229,0.9064080749870832,0
189
+0.89152521503167548,-0.77730337455260134,2
190
+0.80767728842874109,-1.2219180465775989,2
191
+0.55610712618494362,0.0096017658880365175,0
192
+0.84544277761414555,-1.1167333307718463,2
193
+0.19305107622102424,0.89362985989301569,0
194
+1.4736259838868739,0.92249495345458288,0
195
+-1.1924399045906378,-0.95282420534146295,1
196
+1.0819642862262933,-0.95183932203940158,2
197
+0.34204629474423942,0.76920769759264551,0
198
+-2.3295861189983702,-0.69684023782030957,1
199
+1.0043139494587883,-0.73649789577267022,2
200
+0.56938715747264879,1.9550324765495168,0
201
+-0.17593253389622021,-0.91788612225633304,1
202
+-0.2527577277543156,-2.0349925125067663,1
203
+-0.26671064221291119,-0.57372403026938401,1
204
+0.1849008265169777,1.2313911277628871,0
205
+0.66098710921777482,-0.35107710467445064,2
206
+-1.0668507798342195,-0.46112809701186863,1
207
+0.70067303153850702,-1.5579484929801972,2
208
+0.68207696081055946,1.3382166474732498,0
209
+0.89855157961666643,-1.0549413896546569,2
210
+1.1882127655778147,0.45029960470790276,0
211
+0.93447299422929386,-0.43346006022013905,2
212
+0.68283895315951826,0.81862941700643099,0
213
+1.7663896071792289,1.7346793849501425,0
214
+0.60868542208623744,-1.0551946495134439,2
215
+-1.2204613161462956,-1.1401777475922545,1
216
+-0.61337351129870021,-1.5919403200966589,1
217
+-1.0679748503391604,-0.43155431869865235,1
218
+-1.2986580344826812,-1.1189608648680034,1
219
+0.66376977611202448,0.8202234192297293,0
220
+0.76556790601660218,-2.1007206427502787,2
221
+0.80380550092518166,-2.5230715273999635,2
222
+2.0816179746403449,1.668263974718196,0
223
+-1.3523501379281169,-0.52836963751525268,1
224
+-1.4066821296021015,-1.733212163901257,1
225
+-0.57103803785383178,-0.4294490666712133,1
226
+2.1348773119938036,0.27281716270061762,0
227
+1.4476301364449649,-0.31251796680350508,2
228
+1.9415753485281271,0.32612046942877682,0
229
+1.1565338508254506,0.57295213034913761,0
230
+0.519747809183426,-1.3965586813538358,2
231
+1.0634560463518099,1.2009946817223509,0
232
+-1.3627986892317923,-1.6916819776975278,1
233
+-0.31773407594876435,-1.3447245922749689,1
234
+1.3645452810887684,1.0644914553787053,0
235
+-1.5780912159109564,-0.60940094914500331,1
236
+1.4379163807936655,-1.0575537342436134,2
237
+1.0975348485756906,-1.8907814278527957,2
238
+1.464752555739764,-0.70888770430103787,2
239
+0.75098377465384758,1.9647660269084928,0
240
+1.5697003422716502,0.38258708982317369,0
241
+-0.54491054595370403,-0.84139089240434894,1
242
+2.0056283407315685,-1.0222977132279285,2
243
+1.0996500984482327,-1.0253017704808329,2
244
+0.3260372886854398,-1.3807866941282794,2
245
+-0.85977914734185201,-1.4965618054647902,1
246
+0.90747316449532922,-1.4038242438081778,2
247
+1.2882954083074705,0.89585062221100253,0
248
+-1.9215347750783243,-1.2389870020202434,1
249
+-1.0121630621994677,-1.3690154546028444,1
250
+1.1491190871030279,1.6631929483435153,0
251
+-1.3820719619532216,-1.7188957369007891,1
252
+-0.62640583289768403,-1.5944724776018679,1
253
+0.27673265021830606,-0.59985102532998624,2
254
+1.3126157255135937,0.19897117219662619,0
255
+0.12965447534542607,-1.0211285758303212,1
256
+1.1913662150061342,-1.017121140265977,2
257
+1.8820261729838319,1.2000786041836116,0
258
+0.41742507960832176,1.4504132434770936,0
259
+0.95703461651419364,-0.90285353097711418,2
260
+0.96587919733768435,1.8566713608246834,0
261
+-0.0082033138998800492,-1.2697273166872507,2
262
+0.93494652290314795,-0.95302338530721564,2
263
+1.1067400244550845,-1.6042868268666106,2
264
+-1.0552703286162364,-0.48991364414210015,1
265
+1.2219316163727127,1.1668371636871333,0
266
+0.86216473271972149,-1.3548639829234441,2
267
+2.3481120262817896,-1.0369623331402076,2
268
+1.3070396851730401,1.4611033357832635,0
269
+-0.65509091773260586,-0.3490768852175008,1
270
+-1.2317979873230471,-0.75925926311326886,1
271
+-0.57918436796318185,-1.1247292900804744,1
272
+-1.5634129043783718,-1.3653388764324124,1
273
+1.7470395365788032,0.89742086811709953,0
274
+0.35357154513827571,1.1335254346745915,0
275
+1.4284153059513456,0.67448720334992651,0
276
+1.5633179610532535,0.46003424581828833,0
277
+0.3647575007571332,1.4846983540790055,0
278
+0.86917727714454962,-1.0911223918949715,2
279
+0.48503235834551173,-1.1749716822945524,2
280
+-0.78687063461094953,-0.66154598248487728,1
281
+1.4747104034628804,1.0437756206925954,0
282
+1.0887130711268764,0.79910953189586909,0
283
+-1.1554430858492359,-0.95129991686560833,1
284
+-1.1845909189712218,-1.1196895887879632,1
285
+-1.9681399029232534,-0.90561070160308577,1
286
+1.2315651646593035,-0.86045211780377329,2
287
+-0.71635486107366531,-1.1113375502575773,1
288
+1.2949399103672596,-1.181929404985395,2
289
+-1.2981570192252541,-1.0262836481347732,1
290
+-1.3140437798207896,-1.240513559230394,1
291
+1.61243528209683,-0.9675719468282119,2
292
+0.53492174873783938,-1.0892945460436645,2
293
+1.3857029743384228,-0.48528058560861642,2
294
+-1.5226266830734774,-0.39442735515864957,1
295
+0.89022948583439332,-1.5420183103359673,2
296
+0.14686490468749369,1.9753876976158948,0
297
+1.7566640412866026,-0.72343396789620806,2
298
+-1.8779452917188597,-0.77453276909704261,1
299
+0.54358888727792065,1.5585081440479265,0
300
+0.97714801966988252,-0.88974617212141338,2
301
+-1.2398279070039737,-0.68982085082824374,1
302
+-0.80047682717993496,-2.3862963782133253,1
303
+1.4072599112439332,-0.97053720540918498,2
304
+-1.0210857256452894,-1.1434435961949538,1
305
+-0.42383421760843998,-0.46019070398158946,1
306
+-0.67993423695120403,-1.8084780221554171,1
307
+1.2268909563178421,-1.9148702055022657,2
308
+0.63021850180434336,1.7715072977033679,0
309
+-0.45017020205644342,-0.67236813463870115,1
310
+1.1421398354036074,-0.12866560967218443,2
311
+1.539098651857119,-2.2795923331720482,2

+ 1013
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/cassini.arff
File diff suppressed because it is too large
View File


+ 1020
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/chainlink.arff
File diff suppressed because it is too large
View File


+ 1020
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/circle.arff
File diff suppressed because it is too large
View File


+ 8010
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/cluto-t4-8k.arff
File diff suppressed because it is too large
View File


+ 8010
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/cluto-t5-8k.arff
File diff suppressed because it is too large
View File


+ 10013
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/cluto-t7-10k.arff
File diff suppressed because it is too large
View File


+ 8013
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/cluto-t8-8k.arff
File diff suppressed because it is too large
View File


+ 2560
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/complex8.arff
File diff suppressed because it is too large
View File


+ 3040
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/complex9.arff
File diff suppressed because it is too large
View File


+ 410
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/compound.arff View File

@@ -0,0 +1,410 @@
1
+% Compound
2
+% N=399, M=6, D=2
3
+% Zahn, C.T., Graph-theoretical methods for detecting and describing gestalt clusters. IEEE Transactions on Computers, 1971. 100(1): p. 68-86.
4
+% source: http://cs.joensuu.fi/sipu/datasets/
5
+@relation compound
6
+
7
+@ATTRIBUTE x REAL
8
+@ATTRIBUTE y REAL
9
+@ATTRIBUTE class {1,2,3,4,5,6}
10
+
11
+@DATA
12
+26.75,22.15,1
13
+29.8,22.15,1
14
+31.55,21.1,1
15
+27.7,20.85,1
16
+29.9,19.95,1
17
+26.8,19.05,1
18
+28.35,18.25,1
19
+30.4,17.85,1
20
+27.25,16.7,1
21
+29.05,16,1
22
+27.15,14.85,1
23
+28.2,13.95,1
24
+30.35,13.85,1
25
+27.25,11.95,1
26
+29.45,12.05,1
27
+31.55,12.2,1
28
+33.05,10.65,1
29
+29.95,9.85,1
30
+28,9.75,1
31
+27.15,7.85,1
32
+29.15,8.1,1
33
+31.95,8.6,1
34
+34.7,8.55,1
35
+34.8,12.25,1
36
+36.3,15.25,1
37
+36.6,13.2,1
38
+38.7,14.25,1
39
+40.3,15.5,1
40
+42.25,14.25,1
41
+40.7,12.8,1
42
+38.6,12.1,1
43
+36.1,10.5,1
44
+38.35,10.4,1
45
+37.65,8.4,1
46
+40.15,8.55,1
47
+40.8,10.65,1
48
+42.9,11.25,1
49
+41.95,8.5,1
50
+42.45,17.45,1
51
+40.25,18.45,1
52
+42.55,19.45,1
53
+40.95,20.65,1
54
+42.25,22.15,1
55
+38.85,22.4,1
56
+38.4,20,1
57
+35.25,20.2,1
58
+33.25,21,1
59
+34.15,22.35,1
60
+35.55,22.5,1
61
+36.55,21.4,1
62
+33.35,19.6,2
63
+32.85,19.55,2
64
+32.4,19.15,2
65
+32.45,18.7,2
66
+32.8,18.9,2
67
+33.2,19.2,2
68
+33.7,19.05,2
69
+33.4,18.75,2
70
+33.05,18.5,2
71
+32.8,18.2,2
72
+34,18.7,2
73
+33.85,18.25,2
74
+33.35,18.15,2
75
+32.8,17.7,2
76
+33.15,17.55,2
77
+33.75,17.75,2
78
+34.15,17.85,2
79
+34.35,18.35,2
80
+34.95,18.5,2
81
+34.75,18.05,2
82
+35.15,18.05,2
83
+35.65,18.15,2
84
+35.45,18.7,2
85
+36.05,18.75,2
86
+36.25,18.2,2
87
+36.6,18.7,2
88
+37.1,18.5,2
89
+36.75,18.1,2
90
+37.65,18.3,2
91
+37.15,17.85,2
92
+37.65,17.75,2
93
+38.05,18.1,2
94
+38.45,17.7,2
95
+38.8,17.3,2
96
+38.2,17.25,2
97
+38.6,16.8,2
98
+38.25,16.35,2
99
+37.9,16.85,2
100
+37.5,17.3,2
101
+37.65,16.4,2
102
+37.15,16.7,2
103
+37,17.15,2
104
+36.6,17.4,2
105
+36.15,17.55,2
106
+35.75,17.65,2
107
+36.6,16.9,2
108
+36.05,16.95,2
109
+35.45,17,2
110
+35.3,17.55,2
111
+34.9,17,2
112
+34.75,17.45,2
113
+34.3,17.35,2
114
+34.3,16.8,2
115
+33.9,17.2,2
116
+33.35,17.05,2
117
+32.85,16.95,2
118
+33.55,16.6,2
119
+34,16.4,2
120
+32.45,17.2,2
121
+32.1,16.85,2
122
+31.7,16.65,2
123
+31.2,16.35,2
124
+30.95,15.75,2
125
+31.15,15.35,2
126
+31.45,15.1,2
127
+31.75,14.7,2
128
+32.15,14.35,2
129
+32.65,14.15,2
130
+33.15,14.05,2
131
+33.8,13.9,2
132
+34.35,14.2,2
133
+34.3,14.85,2
134
+34.05,15.35,2
135
+33.9,15.95,2
136
+33.35,16.05,2
137
+33,16.5,2
138
+32.45,16.6,2
139
+31.95,16.25,2
140
+31.5,15.85,2
141
+31.75,15.4,2
142
+32.15,15.8,2
143
+32.55,16.1,2
144
+32.9,15.7,2
145
+32.55,15.4,2
146
+32.05,15.2,2
147
+32.5,14.8,2
148
+33,15.25,2
149
+33.5,15.6,2
150
+33.6,15.05,2
151
+32.9,14.7,2
152
+33.3,14.5,2
153
+33.8,14.5,2
154
+9.2,22.35,3
155
+10.9,22.35,3
156
+12.45,22.3,3
157
+13.95,22.05,3
158
+14.65,20.3,3
159
+13.15,20.8,3
160
+11.6,20.95,3
161
+10.25,21.25,3
162
+9.2,20.8,3
163
+8.05,21.55,3
164
+7.15,19.9,3
165
+8.55,20,3
166
+8.5,19.2,3
167
+7.35,18.3,3
168
+8.25,16.65,3
169
+8.95,18,3
170
+9.6,18.85,3
171
+9.65,19.75,3
172
+10.2,20.25,3
173
+10.9,20.3,3
174
+12.15,20,3
175
+11.25,19.75,3
176
+10.8,19.6,3
177
+10.4,19.55,3
178
+10.65,19.35,3
179
+10.3,19.15,3
180
+10.95,19.1,3
181
+10.6,18.85,3
182
+10.05,18.1,3
183
+10.35,16.9,3
184
+10.05,15.9,3
185
+11.15,18.1,3
186
+12.1,18.75,3
187
+13.2,19.2,3
188
+11.5,17.1,3
189
+12.65,17.65,3
190
+14.45,18.35,4
191
+13.9,16.7,3
192
+12.6,15.8,3
193
+15.95,20.75,4
194
+16.95,21.6,4
195
+17.9,21.95,4
196
+19,22.7,4
197
+20.45,22.75,4
198
+19.1,21.7,4
199
+20.4,21.4,4
200
+21.95,21.9,4
201
+18.65,20.7,4
202
+17.75,20.55,4
203
+17.05,19.85,4
204
+15.75,19.45,4
205
+15.75,18.25,4
206
+16.35,16.9,4
207
+17.2,15.9,4
208
+17.9,17,4
209
+17.3,17.75,4
210
+17,18.9,4
211
+17.8,18.65,4
212
+17.85,19.5,4
213
+18.5,19.9,4
214
+19.1,19.95,4
215
+19.55,20.55,4
216
+20.1,19.9,4
217
+19.55,19.3,4
218
+18.95,19.3,4
219
+18.55,19.2,4
220
+18.45,18.85,4
221
+18.85,18.9,4
222
+19.2,18.8,4
223
+18.75,18.55,4
224
+18.3,18.1,4
225
+19.1,17.8,4
226
+19,16.75,4
227
+18.75,15.5,4
228
+19.65,18.2,4
229
+20.1,18.95,4
230
+21.25,20.4,4
231
+21.45,19,4
232
+20.9,17.9,4
233
+20.25,17.2,4
234
+20.1,15.4,4
235
+21.4,15.95,4
236
+22.2,17.15,4
237
+11.4,12.55,5
238
+12.05,12.75,5
239
+12.7,13,5
240
+13.35,13.05,5
241
+14.2,12.95,5
242
+15.05,12.95,5
243
+15.6,12.95,5
244
+16.1,13.1,5
245
+15.95,12.6,5
246
+15.4,12.45,5
247
+14.65,12.4,5
248
+13.85,12.4,5
249
+13.15,12.2,5
250
+12.65,12.4,5
251
+11.9,12.1,5
252
+12,11.5,5
253
+12.65,11.65,5
254
+13.4,11.65,5
255
+14.1,11.7,5
256
+14.6,11.8,5
257
+15.2,11.95,5
258
+15.05,11.55,5
259
+14.45,11.2,5
260
+13.95,10.9,5
261
+13.05,11.1,5
262
+13.55,10.65,5
263
+12.45,10.9,5
264
+13.2,10.25,5
265
+11.25,11.1,5
266
+11.25,11.85,5
267
+10.7,12.25,5
268
+10.05,11.85,5
269
+10.6,11.6,5
270
+9.75,11.35,5
271
+10.4,10.9,5
272
+9.75,10.6,5
273
+9.75,9.8,5
274
+10.35,10.2,5
275
+10.9,10.4,5
276
+11.7,10.55,5
277
+12.4,10.1,5
278
+12.9,9.7,5
279
+12.35,9.65,5
280
+11.85,10,5
281
+11.15,9.8,5
282
+10.65,9.55,5
283
+10.1,9.25,5
284
+10.75,9,5
285
+11.1,9.3,5
286
+11.7,9.4,5
287
+12.15,9.1,5
288
+12.85,9.05,5
289
+12.45,8.7,5
290
+11.95,8.25,5
291
+11.7,8.85,5
292
+11.3,8.5,5
293
+11.55,7.95,5
294
+12.9,8.5,5
295
+13.25,8.05,5
296
+12.65,7.95,5
297
+12.1,7.6,5
298
+11.65,7.35,5
299
+12.2,7,5
300
+11.8,6.65,5
301
+12.65,7.3,5
302
+13.2,7.55,5
303
+13.65,7.75,5
304
+14.35,7.55,5
305
+13.8,7.3,5
306
+13.35,6.85,5
307
+12.7,6.7,5
308
+12.45,6.25,5
309
+13.2,5.85,5
310
+13.65,6.25,5
311
+14.1,6.75,5
312
+14.7,6.9,5
313
+15,7.5,5
314
+15.85,7.3,5
315
+15.35,7.05,5
316
+15.1,6.35,5
317
+14.45,6.3,5
318
+14.75,5.75,5
319
+13.95,5.8,5
320
+15.5,5.9,5
321
+15.8,6.4,5
322
+16.05,6.85,5
323
+16.55,7.1,5
324
+16.7,6.5,5
325
+16.25,6.1,5
326
+17.05,6.25,5
327
+15.85,11.55,5
328
+15.9,12.1,5
329
+16.3,11.65,5
330
+16.55,12.05,5
331
+16.5,12.6,5
332
+16.75,13.1,5
333
+17.5,13,5
334
+17.15,12.65,5
335
+17.1,12.1,5
336
+16.9,11.7,5
337
+17.4,11.65,5
338
+17.55,12.1,5
339
+17.75,12.65,5
340
+18.3,12.75,5
341
+18.25,12.25,5
342
+18,11.95,5
343
+17.85,11.5,5
344
+18.3,11.65,5
345
+18.6,12,5
346
+18.85,12.45,5
347
+19.1,11.8,5
348
+18.85,11.45,5
349
+18.5,11.15,5
350
+18.95,10.8,5
351
+19.3,11.15,5
352
+19.4,10.7,5
353
+19.25,10.35,5
354
+19.9,10.6,5
355
+19.65,10.15,5
356
+19.45,9.75,5
357
+19.9,9.45,5
358
+20.3,10.05,5
359
+20.65,10.35,5
360
+21.25,10.1,5
361
+20.9,9.9,5
362
+21.65,9.65,5
363
+21.15,9.35,5
364
+20.5,9.4,5
365
+19.5,9.2,5
366
+19.95,8.85,5
367
+20.65,8.8,5
368
+21.2,8.7,5
369
+21.9,8.85,5
370
+21.75,8.25,5
371
+21.65,7.8,5
372
+21.05,8,5
373
+20.3,8.2,5
374
+19.4,8.7,5
375
+19.6,8.05,5
376
+18.95,8.1,5
377
+20,7.6,5
378
+20.55,7.55,5
379
+21.25,7.25,5
380
+20.85,6.85,5
381
+20.25,7.05,5
382
+19.55,7.05,5
383
+19.05,7.45,5
384
+18.35,7.6,5
385
+17.85,7.3,5
386
+18.3,7.1,5
387
+18.95,6.85,5
388
+19.6,6.25,5
389
+20.15,6.45,5
390
+18.8,6.25,5
391
+18.35,6.55,5
392
+17.65,6.55,5
393
+17.25,6.9,5
394
+17.95,6.2,5
395
+17.45,9.85,6
396
+17.2,9.25,6
397
+17,9.6,6
398
+17,10.05,6
399
+16.45,10.1,6
400
+16.5,9.8,6
401
+16.6,9.45,6
402
+16.6,9.05,6
403
+15.9,9,6
404
+16.05,9.35,6
405
+16.05,9.65,6
406
+15.85,9.95,6
407
+15.35,9.9,6
408
+15.6,9.45,6
409
+15.3,9.15,6
410
+15.1,9.55,6

+ 1022
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/cuboids.arff
File diff suppressed because it is too large
View File


+ 2007
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/cure-t0-2000n-2D.arff
File diff suppressed because it is too large
View File


+ 2007
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/cure-t1-2000n-2D.arff
File diff suppressed because it is too large
View File


+ 4207
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/cure-t2-4k.arff
File diff suppressed because it is too large
View File


+ 1007
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/curves1.arff
File diff suppressed because it is too large
View File


+ 1007
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/curves2.arff
File diff suppressed because it is too large
View File


+ 1007
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/dartboard1.arff
File diff suppressed because it is too large
View File


+ 1007
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/dartboard2.arff
File diff suppressed because it is too large
View File


+ 3007
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/dense-disk-3000.arff
File diff suppressed because it is too large
View File


+ 5007
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/dense-disk-5000.arff
File diff suppressed because it is too large
View File


+ 3009
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/diamond9.arff
File diff suppressed because it is too large
View File


+ 1008
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/disk-1000n.arff
File diff suppressed because it is too large
View File


+ 3007
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/disk-3000n.arff
File diff suppressed because it is too large
View File


+ 4007
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/disk-4000n.arff
File diff suppressed because it is too large
View File


+ 4508
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/disk-4500n.arff
File diff suppressed because it is too large
View File


+ 4607
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/disk-4600n.arff
File diff suppressed because it is too large
View File


+ 5008
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/disk-5000n.arff
File diff suppressed because it is too large
View File


+ 6007
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/disk-6000n.arff
File diff suppressed because it is too large
View File


+ 0
- 0
clustering-benchmark-master/src/main/resources/datasets/artificial/donut1.arff View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save