Skip to content

sanyasachdeva1/Prediction-using-Unsupervised-ML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published