Project 2
Implement Clustering and then predict the class of car from “Car dataset”?
Importing Libraries:
Reading the data and separating the target variables:

Performing Standardization and One hot encoding and combining the data:

Checking the converted data:

Clustering using Kmeans:
Tuning the model:

Defining the best clusters:

Visualizing the best clusters:


1. Price:

2. MPG:

Clustering using Agglomerative:

Defining the clusters:

Visualizing the clusters:


1. Price:

2. MPG:
