Switch Product Quantization VQ to mean() when n_centers = 1#2250
Switch Product Quantization VQ to mean() when n_centers = 1#2250lowener wants to merge 3 commits into
Conversation
Signed-off-by: Mickael Ide <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughIn ChangesVQ center training refactor
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Signed-off-by: Mickael Ide <[email protected]>
Signed-off-by: Mickael Ide <[email protected]>
Thanks for the PQ @lowener. Can you please provide some benchmarks here to demonstrate the difference in the perf for this change? |
When running a PQ preprocessing operation, the VQ option can be used to act as a way to mean-center the dataset.
This proposed change will enable to do that mean-centering operation faster by using a direct call to
raft::stats::meaninstead of running the expectation-maximization steps.