Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Geospatial Data Science Quick Start Guide

You're reading from   Geospatial Data Science Quick Start Guide Effective techniques for performing smarter geospatial analysis using location intelligence

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781789809411
Length 170 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Abdishakur Hassan Abdishakur Hassan
Author Profile Icon Abdishakur Hassan
Abdishakur Hassan
Jayakrishnan Vijayaraghavan Jayakrishnan Vijayaraghavan
Author Profile Icon Jayakrishnan Vijayaraghavan
Jayakrishnan Vijayaraghavan
Arrow right icon
View More author details
Toc

K-means clustering

K-means clustering is one of the most widely used unsupervised machine learning techniques and is used mainly for data mining purposes. K-means is not particularly; exclusive to location data but is also used in diverse applications to partition observations into clusters (k). In a classic k-means clustering, the full weights are on attribute similarity, while location-based k-means specifically targets geographic coordinates to derive spatial or location similarity. We will use the latter as we are interested in location data analysis.

The k-means algorithm is based on randomly selecting k (where k is the number of clusters specified) number of objects that represent initially a cluster mean or center. Then, the algorithm assigns other objects to the cluster, which is closely based on the Euclidean distance between the object and cluster mean. The k-means...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime