如何定义新数据的 Kmeans 集群

How to define Kmeans cluster of the new data

我正在尝试对一些数据进行聚类,并想了解它在 weka.I 上的准确性意味着可以说,我们将训练数据聚类到 n 组,但现在我们有一个新的测试数据来学习聚类。我们该怎么做?我检查了样本,但所有样本都将在训练数据中进行测试。

使用 FilteredClusterer,然后在 FilteredClusterer 的配置对话框中选择 KMeans

下面是来自 "More" 按钮的一些文本,其中显示了一些关于此聚类器的文档:

NAME weka.clusterers.FilteredClusterer

SYNOPSIS Class for running an arbitrary clusterer on data that has been passed through an arbitrary filter. Like the clusterer, the structure of the filter is based exclusively on the training data and test instances will be processed by the filter without changing their structure.