Tag: dbscan

如何使用Weka的DBSCAN对实例进行聚类?

我一直在尝试使用Weka的DBSCAN聚类器来集群实例。 根据我的理解,我应该使用clusterInstance()方法,但令我惊讶的是,当看一下该方法的代码时,看起来实现忽略了参数: /** * Classifies a given instance. * * @param instance The instance to be assigned to a cluster * @return int The number of the assigned cluster as an integer * @throws java.lang.Exception If instance could not be clustered * successfully */ public int clusterInstance(Instance instance) throws Exception { if (processed_InstanceID >= database.size()) […]