如何使用Weka集群XMeans将集群分配保存在输出文件中? [英] How to save cluster assignments in output file using Weka clustering XMeans?

查看:132
本文介绍了如何使用Weka集群XMeans将集群分配保存在输出文件中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

上下文

我想使用Weka聚类算法XMeans.但是我无法弄清楚如何从GUI of Weka获取群集分配.

I want to use Weka clustering algorithm XMeans. However I cannot figure out how to obtain cluster assignments from GUI of Weka.

目前,我只能看到集群ID的列表以及分配给每个集群的条目的百分比.

At the moment I can only see a list of cluster IDs along with percentage of entries assigned to each cluster.

问题

有任何方法可以保存每个条目中的群集分配,例如CSV格式?

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

推荐答案

在预处理面板"中执行所有操作.

Do everything in the "Preprocess Panel".

这是执行此操作的一种方法:

This is one way to do this:

  • 加载数据文件.

  • Load Data File.

删除任何分类属性或标识符

Remove any Classification Attribute or Identifiers

选择预处理/过滤器/无监督属性过滤器/ AddCLuster

Choose Preprocess / Filter / Unsupervised attribute Filter / AddCLuster

单击单词"AddCluster",选择XMeans Clusterer,然后单击 申请.

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

这应该在属性面板中添加一个新列"cluster"

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

单击保存..."按钮以导出.

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

这篇关于如何使用Weka集群XMeans将集群分配保存在输出文件中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆