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

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 16:04:37

问题


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 cluster.

Question

There any way to save cluster assignments for each entry in, e.g. CSV format?


回答1:


Do everything in the "Preprocess Panel".

This is one way to do this:

  • Load Data File.

  • Remove any Classification Attribute or Identifiers

  • Choose Preprocess / Filter / Unsupervised attribute Filter / AddCLuster

  • Click on the Word "AddCluster", choose the XMeans Clusterer, click Apply.

  • This sghould add a new column "cluster" in the Attribute Panel

  • Click on "Save..." Button to export.



来源:https://stackoverflow.com/questions/34240952/how-to-save-cluster-assignments-in-output-file-using-weka-clustering-xmeans

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!