Preprint Article Version 1 This version is not peer-reviewed

Optimizing Euclidean Distance Computation

Version 1 : Received: 11 October 2024 / Approved: 11 October 2024 / Online: 11 October 2024 (12:07:12 CEST)

How to cite: Mussabayev, R. Optimizing Euclidean Distance Computation. Preprints 2024, 2024100922. https://doi.org/10.20944/preprints202410.0922.v1 Mussabayev, R. Optimizing Euclidean Distance Computation. Preprints 2024, 2024100922. https://doi.org/10.20944/preprints202410.0922.v1

Abstract

In this paper, we present a comparative analysis of seventeen different approaches to optimizing Euclidean distance computations, a core mathematical operation that plays a critical role in a wide range of algorithms, particularly in machine learning and data analysis. The Euclidean distance, being a computational bottleneck in large-scale optimization problems, requires efficient computation techniques to improve the performance of various distance-dependent algorithms. To address this, several optimization strategies can be employed to accelerate distance computations. From spatial data structures and approximate nearest neighbor algorithms to dimensionality reduction, vectorization, and parallel computing, various approaches exist to accelerate Euclidean distance computation in different contexts. Such approaches are particularly important for speeding up key machine learning algorithms like K-means and K-nearest neighbors (KNN). By understanding the trade-offs and assessing the effectiveness, complexity, and scalability of various optimization techniques, our findings help practitioners choose the most appropriate methods for improving Euclidean distance computations in specific contexts. These optimizations enable scalable and efficient processing for modern data-driven tasks, directly leading to reduced energy consumption and a minimized environmental impact.

Keywords

Euclidean distance; optimization strategies; K-means clustering; K-nearest neighbors (KNN); vectorization; parallelization; triangle inequality; spatial data structures; block vector approximations; approximate methods

Subject

Computer Science and Mathematics, Computational Mathematics

Comments (0)

We encourage comments and feedback from a broad range of readers. See criteria for comments and our Diversity statement.

Leave a public comment
Send a private comment to the author(s)
* All users must log in before leaving a comment
Views 0
Downloads 0
Comments 0


×
Alerts
Notify me about updates to this article or when a peer-reviewed version is published.
We use cookies on our website to ensure you get the best experience.
Read more about our cookies here.