Icon

03_Analyze_Clustering_location_data

Analyze Data by Training a k-Means Clustering on Location Data

In this workflow, we perform a Clustering task on location data where we have longitude and latitude information. We use the k-means algorithm to cluster this data and then visualize the clustering results.






Annotations and comments
  • Read Data - The data contains various attributes about the house and the house price
  • Transform: - Filter the data - Normalize the data
  • Clustering: k-Means
  • Evaluation Apply and score Model
  • How to train Clustering Model? Step 1: Drag the k-Means node and double click to open the dialog Step 2: Select the "Number of clusters" as 3. In the "Column Selection"select the Columns "Lat" and "Long" Step 3: RIght Click on the node and select "Execute " to perform clustering
  • How to evaluate Clustering Model? Step 1: To visualize the clusters drag the Scatter Plot node and the OSM Map View. These nodes should be connected to Color Manager to viulaize clusters with colors Step 2: To evaluate the clustering task, connect the clustering output to "Silhouette Coefficient" node. Select the "Clustering Column Selection" as "Cluster" Step 3: Execute the node to get Silhouette Coefficients for each instance, each cluster and for overall clustering task
  • Color according to cluster
  • Denormalize data to original values
  • Visualize the clusters on world map
  • Standardize the data
  • In California
  • Visualize the clusters
  • Evaluate Cluster Performance (higher value is preferred)
  • Locations_data
  • Clustering k=3

Nodes

Extensions

Links