Learn practical skills, build real-world projects, and advance your career
Created 3 years ago
The Sparks Foundation
Name - Akshat Sahu
Prediction using Unsupervised ML
● From the given ‘Iris’ dataset, predict the optimum number of clusters and represent it visually.
● Dataset : https://bit.ly/3kXTdox
#Load the necessary python libraries
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
plt.style.use('ggplot')
df = pd.read_csv("iris.csv")
df