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.
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 · ▲23k-means clustering algorithm implementation written in Go - muesli/kmeans
GitHub News, using a peak detection algorithm to detect trending repos2016 · gitlogs.com · ▲184Link 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.

Subreddit Finder - Trained on 4M Reddit Posts from 4K Subreddits2020 · valohai.com · ▲152We 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…
- PKPyTorch 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 · ▲15A script in python to organize your images by similarity. - victorqribeiro/groupImg
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 3d ago · permit.petercai.com
- IV
Life & fun · 15d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 16d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 10d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 14d ago · carrierexplode.com

Life & fun · 24d ago · space.bl2.net
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, April 2023
the whole month →
- 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



