{"description":"\u4eca\u56de\u3084\u308b\u3053\u3068 \u524d\u56de\u306e\u968e\u5c64\u578b\u30af\u30e9\u30b9\u30bf\u306b\u7d9a\u304d\uff0cK\u5e73\u5747\u6cd5\u30af\u30e9\u30b9\u30bf\u3092\u4f5c\u6210\u3057\u307e\u3059\uff0e\u5165\u529b\u30c7\u30fc\u30bf\u3082\"blogdata.txt\"\u3092\u5f15\u304d\u7d9a\u304d\u7528\u3044\u307e\u3059\uff0e KmeansCluster\u30af\u30e9\u30b9\u306e\u4f5c\u6210 K\u5e73\u5747\u6cd5\u30af\u30e9\u30b9\u30bf\u306e\u30bd\u30fc\u30b9\u3092\u793a\u3057\u307e\u3059\uff0e module My class KmeansCluster LOOP_MAX = 100 def initialize(word_counts, user_options = {}) @word_counts = word_counts @min_and_max = {} @centroids = {} @cluster = Hash.new { |hash, key| hash[ke\u2026","version":"1.0","width":"100%","author_name":"kj-ki","published":"2009-01-10 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkj-ki.hatenablog.com%2Fentry%2F20090110%2Fp1\" title=\"K\u5e73\u5747\u6cd5\u306b\u3088\u308b\u30af\u30e9\u30b9\u30bf\u306e\u4f5c\u6210 - kj-ki\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"K\u5e73\u5747\u6cd5\u306b\u3088\u308b\u30af\u30e9\u30b9\u30bf\u306e\u4f5c\u6210","url":"https://kj-ki.hatenablog.com/entry/20090110/p1","type":"rich","image_url":null,"height":"190","provider_name":"Hatena Blog","categories":["Ruby"],"provider_url":"https://hatena.blog","blog_title":"kj-ki\u2019s blog","blog_url":"https://kj-ki.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/kj-ki/"}