Icon

Clustering_​Exercise

Clustering

- Filter rows
- Train a k-Means model
- Visualize clustered entries on Scatter plot and OSM Map
- Calculate Silhouette Coefficients

URL: Guide to Intelligent Data Science https://www.datascienceguide.org/

Exercise: Clustering

In this exercise we will use the k-Means algorithm to cluster location data.

  1. Read the dataset location_data.table

  2. Filter to entries from California (region_code = CA)

  3. Train a k-means model with k=3. Use only position data for clustering (latitude and longitude)

  4. Calculate the Silhoutte Coefficients using the Silhouette Coefficient node

  5. Plot latitude and longitude in a view (OSM Map or Scatter Plot) and use that to help you visually optimize k

Nodes

  • No nodes found

Extensions

  • No modules found

Links