ICP6 - sandy777deep/PYTHON_WITH_DEEPLEARNING GitHub Wiki

Sandeep Meesala

Class ID:30 , Group ID=11

1.

Apply K means clustering in this data set provided below: https://umkc.box.com/s/a9lzu9qoqfkbhjwk5nz9m6dyybhl1wqy Remove any null values by the mean. Use the elbow method to find a good number of clusters with the KMeans algorithm 2.Calculate the silhouette score for the above clustering 3.Try feature scaling to see if it will improve the Silhouette score 4.Apply PCA on the same dataset

Code

Kmean clustering,elbow method , Removing Null values and calculating silhouette score

https://github.com/sandy777deep/PYTHON_WITH_DEEPLEARNING/blob/master/Python_ICP6/kMean.py

Output

PCA

https://github.com/sandy777deep/PYTHON_WITH_DEEPLEARNING/blob/master/Python_ICP6/PCA.py

Output