Create a K-means clustering algorithm to group customers of a retail store based on their purchase history. All the steps that are required for the experiment such as data preparation, model building, training, evaluation and saving are provided in the IPython notebook: PRODIGY_ML_02.ipynb
. The model inference was done on app.py
- Clone this repository.
git clone https://github.com/surajkarki66/PRODIGY_ML_02
- Create a Python virtual environment and activate the environment based on your machine(Linux, MacOS, and Windows)
- Install the requirements
pip install -r requirements.txt
- Run the following command
python app.py
Happy coding!