Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 811669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:04:52+00:00 2026-05-15T01:04:52+00:00

Can anyone suggest some clustering algorithm which can work with distance matrix as an

  • 0

Can anyone suggest some clustering algorithm which can work with distance matrix as an input? Or the algorithm which can assess the “goodness” of the clustering also based on the distance matrix?

At this moment I’m using a modification of Kruskal’s algorithm (http://en.wikipedia.org/wiki/Kruskal%27s_algorithm) to split data into two clusters. It has a problem though. When the data has no distinct clusters the algorithm will still create two clusters with one cluster containing one element and the other containing all the rest. In this case I would rather have one cluster containing all the elements and another one which is empty.

Are there any algorithms which are capable of doing this type of clustering?

Are there any algorithms which can estimate how well the clustering was done or even better how many clusters are there in the data?

The algorithms should work only with distance(similarity) matrices as an input.

  • 1 1 Answer
  • 5 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T01:04:53+00:00Added an answer on May 15, 2026 at 1:04 am

    Or the algorithm which can assess the
    “goodness” of the clustering also
    based on the distance matrix?

    KNN should be useful in assessing the “goodness” of a clustering assignment. Here’s how:

    Given a distance matrix with each point labeled according to the cluster it belongs to (its “cluster label”):

    1. Test the cluster label of each point against the cluster labels implied from k-nearest neighbors classification
    2. If the k-nearest neighbors imply an alternative cluster, that classified point lowers the overall “goodness” rating of the cluster
    3. Sum up the “goodness rating” contributions from each one of your pixels to get a total “goodness rating” for the whole cluster

    Unlike k-means cluster analysis, your algorithm will return information about poorly categorized points. You can use that information to reassign certain points to a new cluster thereby improving the overall “goodness” of your clustering.

    Since the algorithm knows nothing about the placement of the centroids of the clusters and hence, nothing about the global cluster density, the only way to insure clusters that are both locally and globally dense would be to run the algorithm for a range of k values and finding an arrangement that maximizes the goodness over the range of k values.

    For a significant amount of points, you’ll probably need to optimize this algorithm; possibly with a hash-table to keep track of the the nearest points relative to each point. Otherwise this algorithm will take quite awhile to compute.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone please explain or suggest some good tutorial for the method of matrix
Can anyone suggest some fast ways to calculate the lowest common factor(excluding 1) of
Can anyone suggest some best options to include charting feature in my ASP.NET pages
Can anyone suggest some good materials for learning more about the Linux filesystem and
Can anyone suggest me some source to study WPA security in wireless. On google
Actually I am stuck in middle of some mysql code. Can anyone suggest a
Can anyone suggest me good plugin for memory leakage which can be integrated in
Can anyone suggest some good implementation examples or usage scenarios where SQL parsers can
Can anyone suggest some good resources, preferrably free, that I can read to thoroughly
Can anyone suggest some guidance for designing and implementing good Properties? I am concerned

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.