nowfound

Life & fun · April 4, 2023

Want something better than k-means? Try BanditPAM

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…

Want something better than k-means? Try BanditPAM launched on April 4, 2023 with 281 votes, #74 of 4,853 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 3 years on.

Visit github.com ↗Alternativestop 2% of April 2023

In plain words

BanditPAM is a k-medoids clustering algorithm available for Python and R that improves upon traditional k-means clustering. Unlike k-means, it works with any distance metric and requires cluster centers to be actual data points, offering better interpretability and robustness to outliers. It is designed for researchers and data scientists who need flexible clustering across various data types beyond vectors.

written from the facts on this page · September 2026

From the sources

BanditPAM C++ implementation and Python package. Contribute to motiwari/BanditPAM development by creating an account on GitHub.

In the maker’s words, at launch

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…

Does a similar job

all alternatives →
  • A k-means clustering algorithm implementation written in Go2018 · github.com · ▲23

    k-means clustering algorithm implementation written in Go - muesli/kmeans

  • GitHub News, using a peak detection algorithm to detect trending repos2016 · gitlogs.com · ▲184

    Link RATUKILAT77 menghadirkan panduan lengkap dengan strategi simpel agar peluang menang semakin besar setiap hari. Nikmati pengalaman bermain game slot online dengan sistem modern, akses cepat, dan potensi kemenangan fantastis dari platform gaming terpercaya yang siap bikin cuan makin maksimal.

  • K-Means-TS2021 · github.com · ▲3

    Python? R? Nah... Here's a TypeScript KMeans implementation!

  • Subreddit Finder - Trained on 4M Reddit Posts from 4K Subreddits2020 · valohai.com · ▲152

    We built Valohai LLM for tracking and comparing LLM evaluation results. Whether your evals live in notebooks and spreadsheets, or you're using an observability tool that wasn't built for comparison, this gives you a purpose-built eval comparison dashboard. Run evals with a Python library (pip install valohai-llm), results stream in, and you can compare up to 6 configurations side by side. Group by any dimension (model, category, difficulty) to see where each model excels. It doesn't do tracing or production observability, for now just eval tracking and comparison. What's cool is that you can…

  • PK
    PyTorch K-Means GPU-friendly, single-file, hierarchical and resampling2025 · ▲10

    I built a small, self-contained K-Means implementation in pure PyTorch: https://gitlab.com/hassonofer/pt_kmeans I was working on dataset sampling and approximate nearest neighbor search, and tried several existing libraries for large-scale K-Means. I couldn't find something that was fast, simple, and would run comfortably on my own workstation without hitting memory limits. Maybe I missed an existing solution, but I ended up writing one that fit my needs. The core insight: Keep your data on CPU (where you have more RAM) and intelligently move only the necessary chunks to…

  • GroupImg update accelerate k-means with multiprocessing to group images2018 · github.com · ▲15

    A script in python to organize your images by similarity. - victorqribeiro/groupImg

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, April 2023

the whole month →
  • Guidde AI▲1,476

    Create video documentation instantly with the magic of AI

    AI · 2023 · guidde.com

  • G4

    Hi HN, Today we’re launching GPT-4 answers on Phind.com, a developer-focused search engine that uses generative AI to browse the web and answer technical questions, complete with code examples and detailed explanations. Unlike vanilla GPT-4, Phind feeds in relevant websites and technical documentation, reducing the model’s hallucination and keeping it up-to-date. To use it, simply enable the “Expert” toggle before doing a search. GPT-4 is making a night-and-day difference in terms of answer quality. For a question like “How can I RLHF a LLaMa model”, Phind in Expert mode delivers a…

    AI · 2023 · phind.com

  • Lago▲1,013

    Open-source alternative to Stripe Billing and Chargebee

    Dev tools · 2023 · getlago.com

  • Chatscout▲691

    Shopping assistant powered by ChatGPT for e-commerce brands

    AI · 2023

  • Fabric▲690

    Make notes, tasks, and search, directly from the terminal.

    AI · 2023 · fabric.so

  • Rask AI▲683

    Say it in any language, AI based, sounds as good as a human

    AI · 2023 · rask.ai