A Python Script for making groups inside partys using K-means clustering!
You will need sklearn
and mathplotlib
for running this code.
Everything that you need is in main.py
:
- You need to change
file_path
to refer to your CSV file - Change
group_size
to the number of people on the groups that you want. - Run
main.py
using the following command:python3 main.py