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

  • SEARCH
  • Home
  • 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 6203523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:55:56+00:00 2026-05-24T04:55:56+00:00

I was required to write a bisecting k-means algorithm, but I didnt understand the

  • 0

I was required to write a bisecting k-means algorithm, but I didnt understand the algorithm.
I know k-means algorithm.

Can you explain the algorithm, but not in academic language

Thanks.

  • 1 1 Answer
  • 0 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-24T04:55:57+00:00Added an answer on May 24, 2026 at 4:55 am

    The idea is iteratively splitting your cloud of points in 2 parts. In other words, you build a random binary tree where each splitting (a node with two children) corresponds to splitting the points of your cloud in 2.

    You begin with a cloud of points.

    • Compute its centroid (barycenter) w

    • Select a point at random cL among the points of the cloud

    • Construct the point cR as the symmetric point of cL when compared to w (the segment cL->w is the same as w->cR)

    • Separate the points of your cloud in two, the ones closest to cR belong to a subcloud R, and the ones closest to cL belongs to the subcloud L

    • Reiterate for the subclouds R and L

    Notes :

    You can discard the random points once you’ve used them. However, keep the centroids of all the subcoulds.

    Stop when your subclouds contain exactly one point.

    If you want k clusters, just take k centroids such that they contain all the points of the initial cloud. You can do much more elaborate stuff if you want (minimizing variance of the clouds, etc…) Suppose you want 4 clusters (a power of two for convenience) Then you only need to cut you cloud in two, and then cut each subclouds in two. If you want 8 clusters, then cut again these subclouds once in two. And again for 16 clusters.

    If you want K clusters with K not a power of 2 (let’s say 24) then look at the closest inferior power of two. It’s 16. You still lack 8 clusters. Each “level-16-cluster” is the centroid of a “level-16-subcloud”. What you’ll do is take 8 “level-16-clusters” (at random for example) and replace them each with the two “child” “level-32-clusters”. (These two child “level-32-clusters” correspond to two “level-32-subclouds” that add up to the parent “level-16-subcloud”)

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

Sidebar

Related Questions

Does anyone know what is required to be able to read and write to
Required is the true language version of the OS, not the user interface language
I'm currently trying to write an apt annotation processor. I can however not find
For my algorithms class we are required to write a bottoms-up minimal-change algorithm. As
I'm required to write documentation for my current project that lists all .c files
I am required to write a script that would download a file (based on
I'm required to write a JCE provider. I have learned that I need to
required( dependency-expression ) They give an example of required: #other:checked but I want my
Do Lex and Yacc provide optimized code or is it required that we write
I'm not able to determine what is causing this, I know its a long

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.