4 ms·
This will get you very basic recommendations, which is a nice start. But will be quite limited. But you could, and have been able do this just as easily with c
by rsingel 2y ago
This will get you very basic recommendations, which is a nice start. But will be quite limited.
But you could, and have been able do this just as easily with compression.
Compress A. Measure the file size.
Compress B. Measure the file size
Compress C. Measure the file size
Compress A + B. Measure the file size. Compare it to (the size of A + the size of B). If A and B are similar the compressed file size will be much smaller than the combined file size of A compressed + B compressed.
Compress A + C. Measure the size. If A and C are similar the compressed file size will be much smaller than the combined file size of A compressed + C compressed.
Compress B + C. Measure the size.
Also see Simon Willison work on using embeddings for similarities: https://simonwillison.net/2023/Oct/23/embeddings/#related-content-using-embeddings https://simonwillison.net/2023/Oct/23/embeddings/#related-co...
- isoprophlex 2y agoNice complexity you got there. Would be a shame if something... quadratic were to happen to it.
- jstanley 2y agoThat won't measure semantic similarity, at least with typical compression algorithms.