/Amazon--AlexaDecisonTree

Amazon customer reviews, star ratings, date of review, variant and feedback of various amazon Alexa products like Alexa Echo, Echo dots

Primary LanguageJupyter NotebookMIT LicenseMIT

Machine Learning - Decision Trees

Amazon--AlexaDecisonTree

fb

Background

Dataset consists of 3000 Amazon customer reviews, star ratings, date of review, variant and feedback of various amazon Alexa products like Alexa Echo, Echo dots.

Goals

  • Discover insights into consumer reviews and perfrom sentiment analysis on the data.
  • Split the data in Train and Test
  • Train and Test the model in the data set
  • Visualize data
  • Get best accuracy

How to run

Open Google Colab https://colab.research.google.com/

  • File
  • Upload Notebook
  • Run the Cells

Proccess

Import the data set and visualize the data

  • Data set

fb

  • Visualizing data points

fb

  • Histogram (bins=5)

fb

Transforming the data

  • Drop collumns
  • Apply Dumies at Variation Collumn
  • Add the encoded column again
  • Concatenate them together

fb Training Train and Test

fb Evaluating the model

fb

Improve the model

  • Droping the variations and add review length as a feature
  • Apply randomforest_classifier

fb

Final Model represented by Confunsion Matrix

fb