Summary
In this chapter, we studied different ways to summarize, interpret, and make sense of location data by using machine learning algorithms and spatial statistical methods. We first covered the k-means clustering algorithm, where we created spatial clusters using the scikit-learn library. We then moved on to explore the DBSCAN algorithm to detect outliers as well as clusters. Finally, we studied the two methods of spatial autocorrelation using the PySAL library. Here, we interpreted, plotted, and tested global patterns of the crime dataset. Furthermore, we studied how to derive meaningful and intuitive clusters from the dataset using local spatial autocorrelation.
In the next chapter, we will learn geofencing. Geofences is a popular ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access