This repository contains a UMAP-based product clustering script.
UMAP.py: Performs UMAP dimensionality reduction and KMeans clustering on product cooccurrence data.product_cooccurrence.csv: Product cooccurrence matrix.products.csv: Product metadata.
Install requirements:
pip install numpy pandas scikit-learn umap-learn matplotlibRun:
python UMAP.py