You are here:
- Home
- >
- Resource Hub
- >
- Thought Leadership
- >
- How to Approach Sentiment Analysis of User Reviews.
View navigation
14 May 2020
In this article, we discuss how to develop a mathematical model to analyse sentiment, using a hypothetical scenario of a client wishing to classify a large volume of user comments as having a positive or negative sentiment.
The data in this case consists of online comments on a product. The comments do not have a specific structure but are received as free text.
To carry out this analysis, we require a mathematical model to classify the input data. In this case though, the number of parameters is not finite and the result would be too complicated and never accurate enough.
Therefore, we choose to train a model using machine-learning techniques. More specifically, we will train a neural network model using data that we have manually classified as positive or negative.
The decision to follow this route is based on:
This supervised solution includes many steps that can be split across organisations or handled by a single organisation. Previously, Oxford Computer Consultants has worked on complete solutions or partly on them, depending on the client’s needs. The steps are:
Parts of this solution can be automated so that the data flow is uninterrupted during consumption.
The challenge lies in the handling of raw data. This may need either to be given a specific structure or have other automated techniques applied during standardisation. Typical examples are anonymisation and data mining.
We recommend that to further optimise the accuracy of the solution, future data are considered and embodied in the training data set.
A simple solution like this leverages assets including collected data and the client’s classification expertise. Combining these, we can achieve mid and long-term resource savings or even exploitation of data on a scale that was not possible before.
Artificial Intelligence is already offering some beneficial solutions for businesses. Take advantage of them and stay ahead of the competition.
Athanasios Liapis is a Software Engineer at Oxford Computer Consultants working on client projects involving AI, modelling and machine learning.