Perform an eda on the dataset

Assignment Help Python Programming
Reference no: EM132534745

AI Capstone Project

E-commerce

DESCRIPTION

Problem Statement
• Amazon is an online shopping website that now caters to millions of people everywhere. Over 34,000 consumer reviews for Amazon brand products like Kindle, Fire TV Stick and more are provided.
• The dataset has attributes like brand, categories, primary categories, reviews.title, reviews.text, and the sentiment. Sentiment is a categorical variable with three levels "Positive", "Negative", and "Neutral". For a given unseen data, the sentiment needs to be predicted.
• You are required to predict Sentiment or Satisfaction of a purchase based on multiple features and review text.

Project Task: Part 1
Class Imbalance Problem:
1. Perform an EDA on the dataset.
a) See what a positive, negative, and neutral review looks like
b) Check the class count for each class. It's a class imbalance problem.
2. Convert the reviews in Tf-Idf score.
3. Run multinomial Naive Bayes classifier. Everything will be classified as positive because of the class imbalance.

Project Task: Part 2
Tackling Class Imbalance Problem:
1. Oversampling or undersampling can be used to tackle the class imbalance problem.
2. In case of class imbalance criteria, use the following metrices for evaluating model performance: precision, recall, F1-score, AUC-ROC curve. Use F1-Score as the evaluation criteria for this project.
3. Use Tree-based classifiers like Random Forest and XGBoost.
Note: Tree-based classifiers work on two ideologies namely, Bagging or Boosting and have fine-tuning parameter which takes care of the imbalanced class.

Project Task: Part 3
Model Selection:
1. Apply multi-class SVM's and neural nets.
2. Use possible ensemble techniques like: XGboost + oversampled_multinomial_NB.
3. Assign a score to the sentence sentiment (engineer a feature called sentiment score). Use this engineered feature in the model and check for improvements. Draw insights on the same.

Project Task: Part 4
Applying LSTM:
1. Use LSTM for the previous problem (use parameters of LSTM like top-word, embedding-length, Dropout, epochs, number of layers, etc.)
Hint: Another variation of LSTM, GRU (Gated Recurrent Units) can be tried as well.
2. Compare the accuracy of neural nets with traditional ML based algorithms.
3. Find the best setting of LSTM (Neural Net) and GRU that can best classify the reviews as positive, negative, and neutral.
Hint: Use techniques like Grid Search, Cross-Validation and Random Search

Optional Tasks: Part 4
Topic Modeling:
1. Cluster similar reviews.
Note: Some reviews may talk about the device as a gift-option. Other reviews may be about product looks and some may
highlight about its battery and performance. Try naming the clusters.
2. Perform Topic Modeling
Hint: Use scikit-learn provided Latent Dirchlette Allocation (LDA) and Non-Negative Matrix Factorization (NMF).

Attachment:- AI Capstone Project.rar

Reference no: EM132534745

Questions Cloud

Civil liberties and equal rights : We've studied Civil Liberties and Equal Rights, and I'm sure you have lots of thoughts about the status of liberties and rights in America today.
What is the firm coefficient of variation of return : Scenario Modeler's prospective stock has a 15% chance of producing a 65% return, What is the firm's coefficient of variation of return?
Determine if revenue should be recognized over time : Recognize revenue when (or as) the entity satisfies a performance obligation. Please just define the decision making process used to determine
What return expect from portfolio based on individual stock : What return should expect from portfolio based on individual stock expected return? What return should require from portfolio, based on individual stock's beta?
Perform an eda on the dataset : Perform an EDA on the dataset - Assign a score to the sentence sentiment (engineer a feature called sentiment score). Use this engineered feature in the model
Research the emerging trend of homegrown terrorism : Research the emerging trend of homegrown terrorism. Discuss the psychological and economic effects of the emerging trend of homegrown terrorism.
Why is cost of capital important to square inc : Why is cost of capital important to Square Inc., and what does it measure? And how does the company calculate various costs?
What is the bond nominal yield to call : The bond has a 6.75% nominal yield to maturity, but it can be called in 5 years at a price of $1,085. What is the bond's nominal yield to call?
Find what is maximum price should be willing to pay : If you require a 5.75% nominal yield to maturity on this investment, what is the maximum price you should be willing to pay for this bond?

Reviews

Write a Review

Python Programming Questions & Answers

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd