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 3693478
In Process

The Archive Base Latest Questions

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

The k-means++ algorithm helps in two following points of the original k-means algorithm: The

  • 0

The k-means++ algorithm helps in two following points of the original k-means algorithm:

  1. The original k-means algorithm has the worst case running time of super-polynomial in input size, while k-means++ has claimed to be O(log k).
  2. The approximation found can yield a not so satisfactory result with respect to objective function compared to the optimal clustering.

But are there any drawbacks of k-means++? Should we always used it instead of k-means from now on?

  • 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-19T04:22:56+00:00Added an answer on May 19, 2026 at 4:22 am

    Nobody claims k-means++ runs in O(lg k) time; it’s solution quality is O(lg k)-competitive with the optimal solution. Both k-means++ and the common method, called Lloyd’s algorithm, are approximations to an NP-hard optimization problem.

    I’m not sure what the worst case running time of k-means++ is; note that in Arthur & Vassilvitskii’s original description, steps 2-4 of the algorithm refer to Lloyd’s algorithm. They do claim that it works both better and faster in practice because it starts from a better position.

    The drawbacks of k-means++ are thus:

    1. It too can find a suboptimal solution (it’s still an approximation).
    2. It’s not consistently faster than Lloyd’s algorithm (see Arthur & Vassilvitskii’s tables).
    3. It’s more complicated than Lloyd’s algo.
    4. It’s relatively new, while Lloyd’s has proven it’s worth for over 50 years.
    5. Better algorithms may exist for specific metric spaces.

    That said, if your k-means library supports k-means++, then by all means try it out.

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

Sidebar

Related Questions

I use the following call to openCV function to perform K-means algorithm: cvKMeans2(points, count,
This is a question about k-means clustering algorithm. I have the following points and
What does the following means ? find myDirectory -name myFile -exec ls \-ln {}
In my free time I like polishing my algorithm / programming skills (well, my
I am trying to implement a simple decimation algorithm in c++. I have two
I am having trouble fully understanding the K-Means++ algorithm . I am interested exactly
I want to multiply two matrices but the triple loop has O(n 3 )
I have a following requirement for a very complex UI. (Complex here means there
I'm am writing a code to find the shortest distance between two points. My
I have to write an algorithm based on current random generation standards. I mean,

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.