You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data = pd.read_csv('/home/shimonfrancis/Documents/Data/Ml/housing.csv')
data.head()
x = data.loc[:, ["median_income", "latitude", "longitude"]]
x.head()
#Since k-means clustering is sensitive to scale, it can be a good idea rescale or normalize data with extreme values. Our features are already roughly on the same scale, so we'll leave them as-is.