Information BD

  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Home
  • News
    • Hacker News
    • Google on TechRepublic
    • Articles on TechRepublic
    • Software on TechRepublic
    • Tech And Work on TechRepublic
  • Uncategorized

Wednesday, April 5, 2023

New top story on Hacker News: Show HN: Want something better than k-means? Try BanditPAM

 April 05, 2023     Hacker News     No comments   

Show HN: Want something better than k-means? Try BanditPAM
21 by motiwari | 0 comments on Hacker News.
Want something better than k-means? I'm happy to announce our SOTA k-medoids algorithm from NeurIPS 2020, BanditPAM, is now publicly available! `pip install banditpam` or `install.packages("banditpam")` and you're good to go! k-means is one of the most widely-used algorithms to cluster data. However, it has several limitations: a) it requires the use of L2 distance for efficient clustering, which also b) restricts the data you're clustering to be vectors, and c) doesn't require the means to be datapoints in the dataset. Unlike in k-means, the k-medoids problem requires cluster centers to be actual datapoints, which permits greater interpretability of your cluster centers. k-medoids also works better with arbitrary distance metrics, so your clustering can be more robust to outliers if you're using metrics like L1. Despite these advantages, most people don't use k-medoids because prior algorithms were too slow. In our NeurIPS 2020 paper, BanditPAM, we sped up the best known algorithm from O(n^2) to O(nlogn) by using techniques from multi-armed bandits. We were inspired by prior research that demonstrated many algorithms can be sped up by sampling the data intelligently, instead of performing exhaustive computations. We've released our implementation, which is pip- and CRAN-installable. It's written in C++ for speed, but callable from Python and R. It also supports parallelization and intelligent caching at no extra complexity to end users. Its interface also matches the sklearn.cluster.KMeans interface, so minimal changes are necessary to existing code. PyPI: https://ift.tt/K7VBkcb CRAN: https://ift.tt/fhoU4v1 Repo: https://ift.tt/8Aan1wy Paper: https://ift.tt/PAHV0jn If you find our work valuable, please consider starring the repo or citing our work. These help us continue development on this project. I'm Mo Tiwari (motiwari.com), a PhD student in Computer Science at Stanford University. A special thanks to my collaborators on this project, Martin Jinye Zhang, James Mayclin, Sebastian Thrun, Chris Piech, and Ilan Shomorony, as well as the author of the R package, Balasubramanian Narasimhan. (This is my first time posting on HN; I've read the FAQ before posting, but please let me know if I broke any rules)

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 comments:

Post a Comment

Ad

Popular Posts

  • DealBook Briefing: Apple’s Struggles Add to Uncertainty in Markets
    By Unknown Author from NYT Business https://nyti.ms/2CL89mG
  • Listen to the Globe
    By BY CAITLIN KELLY from NYT At Home https://ift.tt/3jJNKk3
  • Listen to Stephen Sondheim’s 20 Essential Songs
    By BY ERIC GRODE from NYT Theater https://ift.tt/32KJU7H

Recent Posts

Categories

  • AllLanguages
  • Articles on TechRepublic
  • bangla
  • Cracking Open Blog | TechRepublic
  • desktop
  • English
  • FOX NEWS
  • Google on TechRepublic
  • Hacker News
  • HowTo
  • IOS
  • Mobile
  • MobileReviews
  • News
  • NYT
  • PcTricks
  • Reviews
  • Software on TechRepublic
  • softwareupdates
  • Tech And Work on TechRepublic
  • Tech Industry on TechRepublic
  • TechNews
  • TechRepublic
  • Tools
  • Trick
  • Updates
  • Website

Unordered List

Pages

  • Home

Text Widget

Blog Archive

  • December 2025 (25)
  • November 2025 (38)
  • October 2025 (46)
  • September 2025 (51)
  • August 2025 (44)
  • July 2025 (38)
  • June 2025 (37)
  • May 2025 (47)
  • April 2025 (44)
  • March 2025 (47)
  • February 2025 (35)
  • January 2025 (41)
  • December 2024 (57)
  • November 2024 (64)
  • October 2024 (63)
  • September 2024 (57)
  • August 2024 (50)
  • July 2024 (66)
  • June 2024 (66)
  • May 2024 (71)
  • April 2024 (46)
  • March 2024 (68)
  • February 2024 (45)
  • January 2024 (63)
  • December 2023 (66)
  • November 2023 (60)
  • October 2023 (64)
  • September 2023 (103)
  • August 2023 (95)
  • July 2023 (89)
  • June 2023 (78)
  • May 2023 (172)
  • April 2023 (162)
  • March 2023 (176)
  • February 2023 (155)
  • January 2023 (185)
  • December 2022 (166)
  • November 2022 (158)
  • October 2022 (202)
  • September 2022 (198)
  • August 2022 (195)
  • July 2022 (198)
  • June 2022 (191)
  • May 2022 (183)
  • April 2022 (193)
  • March 2022 (176)
  • February 2022 (174)
  • January 2022 (247)
  • December 2021 (351)
  • November 2021 (626)
  • October 2021 (654)
  • September 2021 (608)
  • August 2021 (713)
  • July 2021 (713)
  • June 2021 (690)
  • May 2021 (712)
  • April 2021 (687)
  • March 2021 (713)
  • February 2021 (644)
  • January 2021 (713)
  • December 2020 (713)
  • November 2020 (690)
  • October 2020 (628)
  • September 2020 (689)
  • August 2020 (713)
  • July 2020 (713)
  • June 2020 (690)
  • May 2020 (713)
  • April 2020 (690)
  • March 2020 (713)
  • February 2020 (667)
  • January 2020 (713)
  • December 2019 (713)
  • November 2019 (690)
  • October 2019 (711)
  • September 2019 (688)
  • August 2019 (713)
  • July 2019 (713)
  • June 2019 (690)
  • May 2019 (3001)
  • April 2019 (2950)
  • March 2019 (3047)
  • February 2019 (2759)
  • January 2019 (3059)
  • December 2018 (3060)
  • November 2018 (2959)
  • October 2018 (3058)
  • September 2018 (2962)
  • August 2018 (2221)
  • July 2018 (3)

Search This Blog

Powered by Blogger.

Report Abuse

About Me

Inform BD Tech
View my complete profile

Sample Text

Copyright © Information BD | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates