Comments (5)
Hi @insikk
OPQ is a straightforward extension of PQ, where a rotation matrix is applied for each vector in advance. Implementing OPQ is on my TODO list, but PR is welcome :)
LOPQ is a different technology, and cannot be combined to the current PQk-means.
The SOTA search system consists of (1) coarse quantization and (2) PQ compression for each vector. LOPQ is a strategy to train the coarse-quantizer in the per-cell manner, whereas PQk-means does not include coarse-quantization step (because maintaining such data structure is an additional cost in our setting).
from pqkmeans.
Thank you for your kind explanation. Now I understand what is the difference.
I am really looking forward OPQ implementation.
Because I don't know much about OPQ, I don't think I can send PR on this feature.
Meanwhile, I might able to plug and play with external OPQ library. Can you recommend any C++, C++ + Python binding, or Pure Python implementation of OPQ?
from pqkmeans.
OPQ is an encoding step, so it should be pure Python (pq_encoder.py). Actually I have my own C++ implementation of OPQ. I'll port it to Python (maybe next month)
from pqkmeans.
May I get your C++ implementation of OPQ encoding (just for educational purpose)? This is my email: [email protected]. I'll really appreciate it if you could send me a copy.
from pqkmeans.
Oh I had completely forgotten about this issue
from pqkmeans.
Related Issues (16)
- Missing LICENSE HOT 1
- Pickling the encoder fails HOT 5
- init PQkmeans class with cluster centers HOT 3
- Comparision to Faiss HOT 2
- Getting centroid vector HOT 2
- How to speed up the "predict" function? HOT 2
- Can't pip install HOT 2
- logging errors HOT 1
- pip build fails on mac HOT 2
- create conda pqkmeans from pypi
- create pqkmeans conda package version from pypi HOT 2
- module 'pqkmeans' has no attribute 'encoder' HOT 1
- Get Subvector to run with other algorithment HOT 3
- Update cluster HOT 4
- Sparse Vector HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pqkmeans.