Distance Decay

Proximity and Distance Decay, chapter in GIS&T Body of Knowledge

Distance decay is an essential concept in geography. At its core, distance decay describes how the relationship between two entities generally gets weaker as the separation between them increases. Inspired by long-standing ideas in physics, the …

Modelling Urban Flows, Spatial Effects in Origin-Destination data

This paper is an introduction of preliminary research for Ph.D. thesis 'Machine Learning methods for Urban Flows, spatial effects in Origin-Destinations'. It examines the biggest challenges in the theory of Gravity models and Spatial Interaction …

Application of XGBoost regression for Spatial Interaction of Urban flow

Introduction This notebook provides a simple example of the application of XGBoost Spatial Interaction model in python. For the purposes of this tutorial I will expect you to have some knowledge of Spatial Interaction Models and their purpose as well as some python skills. Yet, if you want to refresh a little or wish to learn, here is a list of relevant sources. Watch Maarten Vanhoof talking about what are the spatial Interaction Models and how they can be used here (6 min) Have a look at a list of some relevant literature in different fields here Look at the example of Spatial Interaction Model application in R from Adam Dennett Part1 and Part2 Look at how you can apply the the same method in python with SpInt package So what is the XGBoost?

Comparing the graph structures of the patients flow

# we will first import all necessary libraries import pandas as pd import os import numpy as np import glob from datetime import datetime import geopandas as gpd import matplotlib.pyplot as plt import seaborn as sns import plotly.express as px from shapely.geometry import Point, LineString #from mpl_toolkits.basemap import Basemap import osmnx as ox import networkx as nx import matplotlib as mpl from networkx.algorithms import bipartite as bi import statsmodels.api as sm from scipy import stats from statsmodels.

Inter-National Migration; Part 2 - Calculating Distances

Do you have an Origin-Destination data, you want to crack on with Spatial Interaction Models, but you dont know the distances between Origins and destinations? This post will show you how to calculate them. You're welcomed.