Skip to content

πŸ›οΈ An interactive Streamlit app to explore, cluster, and generate smart recommendations on Amazon products. Includes preprocessing, KMeans clustering, visualizations (boxplots, t-SNE), and a data-driven suggestion system for sellers.

Notifications You must be signed in to change notification settings

DanteTrb/Amazon-Recommendation-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›οΈ Amazon Insights App

An interactive Streamlit app to explore, cluster, and generate smart recommendations on Amazon products.
Includes preprocessing, KMeans clustering, visualizations (boxplots, t-SNE), and a data-driven suggestion system for sellers.


πŸš€ Demo Online

πŸ“ Project Structure

amazon_insights_app/ β”œβ”€β”€ dataset/ β”‚ β”œβ”€β”€ amazon.csv # Original raw dataset β”‚ β”œβ”€β”€ amazon_clean.csv # Cleaned dataset β”‚ └── amazon_clustered.csv # Clustered dataset β”œβ”€β”€ models/ β”‚ └── kmeans_model.pkl # Trained KMeans model β”œβ”€β”€ notebooks/ β”‚ β”œβ”€β”€ preprocessing.ipynb # Data cleaning and transformation β”‚ └── cluster.ipynb # Clustering analysis and t-SNE β”œβ”€β”€ pages/ β”‚ β”œβ”€β”€ 1_Descrizione.py # Data overview and stats β”‚ β”œβ”€β”€ 2_Clustering.py # Cluster visualizations β”‚ └── 3_Raccomandazioni.py # Interactive recommendation system β”œβ”€β”€ app.py # Main Streamlit app entry point └── requirements.txt


πŸ“¦ Dataset Info

The dataset contains real Amazon product information:

  • Product name, price (actual/discounted), discount percentage
  • Ratings and number of reviews
  • Product category and description
  • Image and purchase links

πŸ“Š Features

  • 🧾 Data Overview: Preview data, inspect basic stats, plot price distributions.
  • πŸ€– Clustering: Group products by pricing, rating and discount using KMeans.
  • πŸ“‰ Visualizations: Boxplots, category counts, t-SNE plots for dimensionality reduction.
  • πŸ“¦ Recommendation Engine: Suggest the best category and product example based on user input.

βš™οΈ Setup Instructions

  1. Clone the repo:
    git clone https://github.com/your_username/amazon_insights_app.git
    cd amazon_insights_app
    

Install dependencies: pip install -r requirements.txt

Run the app: streamlit run app.py

🧠 Built With Python 🐍 Streamlit – for building the interactive UI Pandas & NumPy – for data wrangling Scikit-Learn – for clustering and preprocessing Matplotlib & Seaborn – for beautiful charts

πŸ‘€ Author Developed with ❀️ by Dante Trabassi Feel free to open an issue or contribute via pull request!


License MIT

About

πŸ›οΈ An interactive Streamlit app to explore, cluster, and generate smart recommendations on Amazon products. Includes preprocessing, KMeans clustering, visualizations (boxplots, t-SNE), and a data-driven suggestion system for sellers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published