Professional Documents
Culture Documents
Dataminigda2 1152
Dataminigda2 1152
DIGITAL ASSIGNMENT 2
NAME :S Pavithra
REG NO: 22MIS1152
K-MEAN CLUSTERING:
K-MEDOID CLUSTERING:
HIERARCHIAL CLUSTERING:
In this code, we first load and preprocess the dataset as needed. Then, we perform
hierarchical clustering using the hclust() function. We calculate the distance matrix
using the dist() function on the attributes of interest. The hclust() function then
performs the hierarchical clustering on the distance matrix.
The hclust() function returns an object that represents the hierarchical clustering
result. You can visualize the clustering using various methods, such as dendrograms
or heatmaps.
GITHUB LINK:
https://github.com/pavithras333/DATAMININGDA2.1152