AI engineering glossary · Feature engineering data prep
What is haversine distance?
Haversine distance: The great-circle distance between two points on a sphere given their latitude and longitude, calculated with a formula using sines of half-angle differences. It approximates real-world distance between places on Earth.
Haversine distance: an example
The haversine distance from Bengaluru to Chennai is roughly 290 km, while the road distance is longer.
Related terms
More Feature engineering data prep terms
- High-cardinality feature
- Hot-deck imputation
- Information value
- Interaction feature
- Interpolation
- IQR method
- Iterative imputation
- K-fold target encoding
Where you learn it
Haversine distance is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.