k-means algorithm python
2016-08-23
2 0 0
no vote
Other
Earn points
KMeans
Attempting to build a fast, memory efficient K-Means program.
Install
gem sources -a http://rubygems.org sudo gem install k_means
How To Use
require 'rubygems' require 'k_means' data = [[1,1], [1,2], [1,1], [1000, 1000], [500, 500]] kmeans = KMeans.new(data, :centroids => 2) kmeans.inspect # Use kmeans.view to get hold of the un-inspected array => [[3, 4], [0, 1, 2]]
Custom Cen
python
算法
均值
Related Source Codes
Word memorization software
0
0
no vote
CWT Python example
0
0
no vote
STFT example
0
0
no vote
Chinese Speech Recognition
0
0
no vote
python-ela
0
0
no vote
No comment