Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

MATLAB K - Means Help Needed!

Status
Not open for further replies.

telisman

Computer
Joined
Feb 25, 2007
Messages
1
Location
GR
When MATLAB kmeans implementation calculates values of matrix 'Del'
that will be used as "reassignment criterion", in the case of squared
euclidian distance it kind of "weights" every element dij (i = 1, 2,
... n , j = 1, 2, ... k) of the 'Del' matrix with tha ratio of
(initial members of cluster j / members of cluster j if data point j
is moved from -or to- cluster j).
I am referring to the m(i)./(m(i) + sgn) factor! What is the purpose
of these 'weights'? Why doesn it use only the plain squared
distances?
Any help is greatly appreciated.
Thanx in advance.

PS: I am trying to reverse engineer the kmeans matlab code because I need to run kmeans with my own custom distance function. If anyone has any solution on this issue too, pleas help.
Thanx again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top