/Prediction-using-Unsupervised-ML

Task 2 of The Sparks Foundation Internship-Unsupervised ML

Primary LanguageJupyter Notebook

The Sparks Foundation Task-2

TASK-2 : Prediction using Unsupervised ML From the given ‘Iris’ dataset, predict the optimum number of clusters and represent it visually.

Steps-

  1. Import the required libraries
  2. Loading the iris dataset
  3. Printing shape, head and tail of data
  4. Checking for null values
  5. Data Visualization
  6. Finding the optimum number of clusters for k-means classification
  7. Plotting the results onto a line graph
  8. Applying kmeans to the dataset / Creating the kmeans classifier
  9. Visualising the clusters - On the first two columns