x_squared_norms is not used in _labels_inertia_precompute_dense
See original GitHub issueThe function _labels_inertia_precompute_dense
recieves x_squared_norms
as argument but it is not used.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Be aware that we have #11950 which will be a more optimal implementation and should come soon. But we might want to solve the other problems in the meanwhile.
precompute_distances
is a misnomer. It’s doing some batch computation, but there is nothing “precomputed”. Also, I found it to only ever hurt performance, not help: 19 seconds vs. 11 seconds.