Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
karxxm
2y ago
0 comments
Share
You wrote „out of the box“, did you find a way to improve this?
0 comments
default
newest
oldest
teaearlgraycold
2y ago
You can do PCA or some other dimensionality reduction technique. That’ll reduce computation and improve signal/noise ratio when comparing vectors.
karxxm
OP
2y ago
Unfortunately this is not feasible with a large amount of words due to the quadratic scaling. But thanks for the response!
minimaxir
2y ago
Not sure what you mean by large amount of words. You can fit a PCA on millions of vectors relatively performantly, then inference from it is just a matmul.
1 more reply
j
/
k
navigate · click thread line to collapse