Lab Assignment 8: Nishiv Singh (B20MT029) Google Colab Notebooks Link: Task 1
Lab Assignment 8: Nishiv Singh (B20MT029) Google Colab Notebooks Link: Task 1
Lab Assignment 8
Nishiv Singh (B20MT029)
Task 1 :
https://colab.research.google.com/drive/1YknZ7WZxuPGaUt9Yuk7K2X
uOm_FKMRP6?usp=sharing
Task 2
:https://colab.research.google.com/drive/1M7oXOz4s5M8awpX8P6KP
df2L7h3Ge667?usp=sharing
Task 1 :-
> Loaded the dataset , the dataset consists of different animals and their
respective biological details , the feature data has shape of (25*5).
> Here we have to categorize the data into different groups which was achieved
by KMeans clustering
> Implemented KMeans Clustering with different number of cluster groups which
are shown below.
Result :
Here we can see that 4 clusters are best grouping among the three graphs.So
we can conclude that the whole data can be divided into 4 groups and can be
studied further.
Task 2:-
> The data is the same as task 1 , so loaded the data and extracted feature data.
> Written code for scratch model of KMeans Clustering, the steps are :
> So applied scratch model on the given dataset with n_clusters= 4 and got a
clustered graph which is shown below:
Result :
After applying KMeans Clustering we can see that as this is a unsupervised
learning method , it provides a quick information about data where grouping is
required like Malls,Colleges etc,