Questions tagged [xmeans]

7 questions
5
votes
1 answer

Getting Xmeans clusterer output programmatically in Weka

When using Kmeans in Weka, one can call getAssignments() on the resulting output of the model to get the cluster assignment for each given instance. Here's a (truncated) Jython example: >>>import weka.clusterers.SimpleKMeans as…
Renklauf
  • 971
  • 1
  • 12
  • 27
3
votes
1 answer

pyclustering visualising xmeans when the matrix has more than three dimensions

I'm trying to cluster and visualise some data with xmeans from the pyclustering lib. I copied the code directly from the example in the documentation, from pyclustering.cluster import cluster_visualizer from pyclustering.cluster.xmeans import…
Gerardo Zinno
  • 1,518
  • 1
  • 13
  • 35
2
votes
1 answer

In R, how do I retrieve information from an XMeans output

I have a data frame, df, containing the x and y coordinates of a bunch of points. Here's an excerpt: > tail(df) x y 1495 0.627174 0.120215 1496 0.616036 0.123623 1497 0.620269 0.122713 1498 0.630231 0.110670 1499 0.611844…
1
vote
1 answer

Why does Weka XMeans systematically underestimate the number of clusters?

I'm having some trouble with Weka's XMeans clusterer. I've talked to a couple of other humans and we all agree that there are six clusters in the screenshot below, or at least a minimum of two if you squint really hard. Either way, xMeans does not…
Sasgorilla
  • 2,403
  • 2
  • 29
  • 56
1
vote
1 answer

How to save cluster assignments in output file using Weka clustering XMeans?

Context I want to use Weka clustering algorithm XMeans. However I cannot figure out how to obtain cluster assignments from GUI of Weka. At the moment I can only see a list of cluster IDs along with percentage of entries assigned to each…
Klausos Klausos
  • 15,308
  • 51
  • 135
  • 217
0
votes
0 answers

Unable to use XMeans in Weka 3-7-5 After Installing Via Package Manager

I am trying to use a clustering algorithm that lets me choose the initial seeds, so I decided to try and use Weka's Xmeans through the weka GUI. However, when I install Xmeans using weka's package manager, it remains greyed out in the GUI, and I am…
-1
votes
1 answer

Weka Xmeans: center initialization process

In calculating the XMeans clustering solution of a dataset, it is necessary (in the algorithm description) to seed the centers properly. In WEKA Xmeans, there is an option to specify the initial centers. Additionally, in other Xmeans libraries, the…
Chris
  • 28,822
  • 27
  • 83
  • 158