You will not be forking this time, please take some time to read this instructions:
Once you are finished creating your clustering project, make sure to commit your changes, push to your repository and go to 4Geeks.com to upload the repository link.
We will create 6 housing clusters based only on their 'latitude','longitude' and their 'medincome' column.
Install and import the necessary libraries: pandas, sklearn and seaborn.
Load the housing dataset and take a look at the first rows. Then create a new dataframe with only the 'latitude','longitude' and 'medincome' column to create our clusters.
Instantiate the kmeans algorithm. Then, create a new 'cluster' feature in your dataset and predict the cluster by fitting the 3 columns you have. You can view the k-means documentation to implement it: https://scikit-learn.org/stable/modules/generated/sklearn.cluster.KMeans.html.
Convert your new 'cluster' column to 'category' type.
Use seaborn's replot to visualize your new clusters.
As always, use your notebook to experiment and make sure you are getting the results you want.
Use you app.py file to save your defined steps, pipelines or functions in the right order.
In your README file write a brief summary.