k-means在Javascript中实现聚类实现? [英] k-means clustering implementation in Javascript?

查看:161
本文介绍了k-means在Javascript中实现聚类实现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个k-means聚类算法的Javascript实现。我只有一维数据而且很少超过100个项目,因此性能不是问题。

I'm in need for a Javascript implementation of the k-means clustering algorithm. I only have 1-dimensional data and rarely more than 100 items, so performance is not an issue.

PS:我只能找到一个,但它看起来非常不稳定几乎每次调用都会产生完全不同的集群。

PS: I could only find one but it seems extremely unsteady, resulting in completely different clusters on virtually every call.

推荐答案

在Javascript中使用k-means:

k-means in Javascript:

http:// code。 google.com/p/hdict/source/browse/gae/files/kmeans.js

http://www.mymessedupmind.co.uk/index.php/javascript-k-mean-algorithm

小程序:

http://www.math.le.ac.uk /people/ag153/homepage/KmeansKmedoids/kmeans.jar

这篇关于k-means在Javascript中实现聚类实现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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