Decision Making with Aspect-Based Sentiment Analysis using Transformers.

In the last article, I trained a model on the ABSA task from the SemEval-2014 dataset and analyzed its performance, speed, and behaviors. This article details how I use this model to choose a restaurant to dine at from the Yelp dataset. Without further delay, let’s get started!

Yelp Dataset

We can download the Yelp dataset in one of two ways:

The first requires signing an agreement with Yelp, after which the dataset can be downloaded as a zip file. The Kaggle method requires an account with a username and API key setup locally at ~/.kaggle/kaggle.json. …


Decision Making with Aspect-Based Sentiment Analysis Using Transformers.

We’ve all been in this situation before: looking up reviews for some new product we are interested in or some restaurant we’ve wanted to try. We glean information from one review to the next, each one rendering a more precise representation of the product. We keep scrolling and scrolling when suddenly an hour has passed, and we are no closer to an answer than we were before. We realize this a futile endeavor and that we’ll be searching endlessly for the decisive factor in determining how we spend our hard-earned money. Well, in this tutorial, I’m going to put this Sisyphean task to rest using Aspect-Based Sentiment Analysis (ABSA). Spend less time sifting through reviews and more time enjoying the product or service. …


In this tutorial, I’m going to show how to use Ray with TensorTrade (TT) in order to create a profitable algorithm on a predictable sine curve. You may be asking yourself, why use something so simple when the real world is much more difficult to predict? This is a very good question, and there is a simple answer.

“The man who moves a mountain begins by carrying away small stones.”
-
Confucius

Before trying to jump into the world of complex trading environments, a simple sine curve can be used to perform a sanity check on your trading algorithm. The reward and action scheme used should be able to make money on a predictable pattern. …

About

Matthew Brulhardt

MS in Applied Mathematics and Statistics @ Stony Brook University | I’m a simple person who likes four things: design, mathematics, computer science, and data.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store