Building a sentiment analysis model to accurately classify Amazon reviews using the free version of ChatGPT
We will utilize ChatGPT’s free version to build the baseline model.
Feature 1: Data preprocessing and feature engineering
Let’s craft our initial prompt for our baseline model.
[Prompt]
I want to create a simple classification model for sentiment analysis of Amazon Review Dataset (TAG 1.1) which consists of following fields (PIC 2.3)
marketplace
(string
): Location of the product.customer_id
(string
): Unique identifier for customers.review_id
(string
): Unique identifier for reviews.product_id
(string
): Unique identifier for products.product_parent
(string
): Parent product identifier.product_title
(string
): Title of the reviewed product.product_category
(string
): Category of the product.star_rating
(int
): Rating of the product on a scale of 1 to 5.helpful_votes
(int
): Number...