×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

MATLAB K - Means Help Needed!

MATLAB K - Means Help Needed!

MATLAB K - Means Help Needed!

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources