Problem Statement: Download the data set about the batting figures of batsmen in ODI matches from here. Analyse the data.
Choose strike rate and average as the two factors on which you will cluster the data. You don’t need to clean the data. Just scale the data using the scale command and create the clusters.
Pointers before you proceed:
- standardise all parameters using standard_scaler.fit_transform() and save the output to a variable before you proceed. (check the K-Means code)
- Choose random_state=100 for running K-Means in Python with SKLearn.