In this project, I utilized modern data from 2018, sourced from the repository. I followed the overall approach outlined in their Python 2 code. However, I decided to shake things up a bit by implementing a different projection method: instead of the Mercator projection, I opted for the AEA (Albers Equal Area) projection. I think it's a more accurate representation of the Earth's surface.
In Western Europe:
- Mean error distance: 96.89 km
- Median error distance: 19.08 km
In the United States:
- Mean error distance: 117.72 km
- Median error distance: 32.77 km
For more details, feel free to check out the results folder!
-
First, clone the repository:
git clone https://github.com/SurvivorNo1/InternetHostGeo.git
-
Next, install the required packages:
pip install -r requirements.txt
-
All of the code is contained within a Jupyter Notebook. To run the code and see the results, simply open the notebook and click "Run All."
Thanks to menonsamir for their fantastic code and invaluable insights. Your work made this project possible!
For more information on the original methodology, check out the paper: Constraint-Based Geolocation of Internet Hosts.