Better HN
topnewbestaskshowjobs
Log inSign up

lmcinnes

115 karma · joined Dec 3, 2015 (10y ago) · 58 submissions

Submissions

1.

A new UMAP release brings major performance, quality, and scaling improvements(umap-learn.readthedocs.io ↗)

4 points · by lmcinnes · 1w ago · discuss

comment 11mo ago · link · parent

> alignment tooling is fascinating, as we increasingly want to re-fit->embed over time as our envs change and compare, eg, day-over-day analysis. This area is not well-defined yet common for anyone operational so seems ripe for innovation

It is probably not all the things you want, but AlignedUMAP can do some of this right now: https://umap-learn.readthedocs.io/en/latest/aligned_umap_bas...

If you want to do better than that, I would suggest that the quite new landmarked parametric UMAP options are actually very good this: https://umap-learn.readthedocs.io/en/latest/transform_landma...

Training the parametric UMAP is a little more expensive, but the new landmarked based updating really does allow you to steadily update with new data and have new clusters appear as required. Happy to chat as always, so reach out if you haven't already looked at this and it seems interesting.

3.

Visualizing a topic model of NeurIPS 2025 Papers(newsletter.languagemodels.co ↗)

2 points · by lmcinnes · 1y ago · discuss

4.

SoarXiv: Soar through ArXiv paper space(soarxiv.org ↗)

3 points · by lmcinnes · 1y ago · 1 comment

comment 1y ago · link · parent

> And algorithms can only predict content that you've seen before. It'll never surprise you with something different. It keeps you in a little bubble.

This is not true at all, algorithms can predict things you haven't seen before, and can take you well outside your bubble. A lot of the existing recommendation algorithms on social media etc. do keep you in a bubble, but that's a very specific choice 'cause apparently that's where the money is at. There's enough work in multi-armed-bandit explore/exploit systems that we definitely could have excellent algorithms that do exactly the kind of curation the author would like. The issue is not algorithms, but rather incentives on media recommendation and consumption. People say they would like something new, but they keep going back to the places that feed them more of the comfortable same.

comment 2y ago · link · parent

Assuming you have a dimension-reduction or manifold learning tool of choice (UMAP,PacMAP,t-SNE,PyMDE,etc.) then DataMapPlot (https://datamapplot.readthedocs.io/en/latest/) is a library specifically designed to make visualizations of the outputs of your dimension reduction.

comment 2y ago · link · parent

If you just want in-memory then PyNNDescent (https://github.com/lmcinnes/pynndescent) can work pretty well. It should install easily with pip, works well at the scales you mention, and supports a large number of metrics, including cosine.

8.

Show HN: Exploring five million Hacker News posts(lmcinnes.github.io ↗)

3 points · by lmcinnes · 2y ago · discuss

9.

Show HN: An interactive explorable map of 5M Hacker News stories(lmcinnes.github.io ↗)

3 points · by lmcinnes · 2y ago · discuss

10.

The Landscape of Machine Learning on ArXiv(lmcinnes.github.io ↗)

31 points · by lmcinnes · 2y ago · 10 comments

11.

Show HN: An Interactive Map of Machine Learning Papers on ArXiv(lmcinnes.github.io ↗)

1 points · by lmcinnes · 2y ago · discuss

12.

Show HN: DataMapPlot for visualizing large corpora of documents(github.com ↗)

3 points · by lmcinnes · 2y ago · discuss

13.

Show HN: DataMapPlot for beautiful plots of data maps(datamapplot.readthedocs.io ↗)

2 points · by lmcinnes · 2y ago · discuss

comment 3y ago · link · parent

For suitable specialized cases thins can be quite efficient. For persistent H_0 of VR-complexes in low-dimensional space there is an O(N log(N)) algorithm for N data points; that's decently fast. If you want H_1 I believe (but cannot prove) that there exists an O(N^2 log(N)) algorithm. Beyond H_1 things get painful. Since most PH software is written for general cases they don't tend to avail themselves of these special case shortcuts. Given that H_0 and H_1 of VR-complexes of low dimensional data covers a vast amount of the use cases I think specialized code for this would be worthwhile.

comment 5y ago · link · parent

It is really not that much slower for training (see the paper), and if you are interested in pipelines the difference is not so great considering you are looking at a one off training time vs. lots of inference.

comment 5y ago · link · parent

If this is a thing you want to be able to do efficiently then ParametricUMAP (see [docs](https://umap-learn.readthedocs.io/en/latest/parametric_umap....) and [the paper](https://arxiv.org/abs/2009.12981)) will be very effective. It uses a neural network to learn a mapping directly from data to embedding space using a UMAP loss. Pushing new data through is only slightly more expensive than PCA, so being part of an inference pipeline is fine.

comment 5y ago · link · parent

Density based clustering with high dimensional data will tend to struggle. This is because, in high enough dimensions, you need a lot of samples to see any density. Also distances start to look very similar (from the curse of dimensionality). To get any traction on such things you need some form of dimension reduction. For something like this non-linear techniques are going to be better. If you want a pipeline of standard parts then something like:

Pretrained-CNN --> UMAP --> HDBSCAN

can turn out relatively reasonable results, especially if the UMAP you use for the clustering is to more than 2 or 3 dimensions (often 5 to 20 is good, depending on the data). You can, of course, still use a 2D UMAP to visualize the results. If you want such a pipeline packaged up then consider the PixPlot package, designed for exactly this use case, from the Yale Digital Humanities Lab: https://github.com/YaleDHLab/pix-plot

* Disclaimer: I am highly biased, as an author of both HDBSCAN and UMAP implementations.

18.

An Approx Nearest Neighbor Algorithm: How PyNNDescent Works(pynndescent.readthedocs.io ↗)

2 points · by lmcinnes · 5y ago · discuss

19.

Approx Nearest Neighbor Search: How PyNNDescent Works(pynndescent.readthedocs.io ↗)

2 points · by lmcinnes · 5y ago · discuss

20.

Comparing Deep Neural Networks with UMAP Tour(tiga1231.github.io ↗)

1 points · by lmcinnes · 6y ago · discuss

comment 6y ago · link · parent

I suspect that this is because GPT-2 doesn't have any overarching narrative that it is piecing together. Ultimately it is like a super-powerful Markov based text generator -- predicting what comes next from what has come before. It has longer "memory" than a Markov model, and a lot more complexity, but where a person often formulates a plan for the next few sentences and the direction they should go, GPT-2 doesn't really work that way. And hence it sounds like dream logic because in dreams your brain is just throwing together "what comes next" without an overall plan. Of course your brain is also back-patching and retconning all sorts of stuff in dreams too, but that's a different matter.

22.

Understanding Hdbscan and Density-Based Clustering(towardsdatascience.com ↗)

3 points · by lmcinnes · 6y ago · discuss

23.

Embed All the Things! Embedding Beers, Breweries, and Beer Styles (among others)(youtube.com ↗)

2 points · by lmcinnes · 6y ago · discuss

24.

Understanding the UMAP dimension reduction algorithm(pair-code.github.io ↗)

1 points · by lmcinnes · 6y ago · discuss

25.

Understanding the UMAP dimension reduction algorithm(pair-code.github.io ↗)

2 points · by lmcinnes · 7y ago · discuss

26.

Topological methods for unsupervised learning problems [video](slideslive.com ↗)

57 points · by lmcinnes · 7y ago · 11 comments

27.

A Bluffer's Guide to Dimension Reduction(youtube.com ↗)

2 points · by lmcinnes · 7y ago · discuss

28.

Analysing Audio with Wavenet, MFCCs, UMAP, T-SNE and PCA(medium.com ↗)

2 points · by lmcinnes · 9y ago · discuss

29.

Show HN: Mapping and Analysing Subreddits(lmcinnes.github.io ↗)

21 points · by lmcinnes · 9y ago · discuss

30.

Mapping Subreddits with T-SNE Variant LargeVis(lmcinnes.github.io ↗)

3 points · by lmcinnes · 9y ago · discuss

12