An open API service indexing awesome lists of open source software.

https://github.com/msikorski93/wine-data-clustering

The goal of this notebook was to introduce and perform clustering algorithms on white wine dataset.
https://github.com/msikorski93/wine-data-clustering

agglomerative-algorithm clustering k-means-clustering spectral-clustering unsupervised-machine-learning

Last synced: 4 months ago
JSON representation

The goal of this notebook was to introduce and perform clustering algorithms on white wine dataset.

Awesome Lists containing this project

README

        

# Wine-Data-Clustering
The goal of this notebook was to introduce and perform clustering algorithms on white wine dataset. Clustering (or grouping) allows us to identify homogeneous groups and recognize pattens within the data without any ground truth labels.
We developed these clustering models to do the unsupervised learning:
* k-means,
* agglomerative,
* spectral.

We also have proved that dimensionality reduction is an essential tool to make sense of the data in the absence of supervision information and applying PCA method improved the clustering process. Below are listed basic scores achieved for each algorithm:

| Method | Silhouette | Caliński-
Harabasz | Davies-
Bouldin | Cluster 0 | Cluster 1 | Cluster 2 |
|-------------------|------------|-----------------------|--------------------|-----------|-----------|-----------|
| **k-Means** | 0.2116 | 1261.7120 | 1.6024 | 1075 | 1308 | 1578 |
| **Agglomerative** | 0.1812 | 1033.0347 | 1.6782 | 1886 | 1382 | 693 |
| **Spectral** | 0.2004 | 1204.9508 | 1.6378 | 1229 | 1403 | 1329 |

Based on evaluation metrics in the table, the k-means algorithm performed the best on this dataset.

Reference: https://archive.ics.uci.edu/ml/datasets/wine+quality