No Code Sentiment Analysis on Yelp reviews dataset — Introducing aasaan.ai

Aasaan.ai
4 min readMar 5, 2020

Introduction

Natural Language Processing. Machine Learning. Deep Learning. Transformers. LSTMs. All these seem jargon to you or never got around the thousands of lines of code and ‘tricks’ to use them? Then this post is for you.

The field of Machine Learning and Natural Language Understanding has seen rapid development in the past couple of years, thanks in no part to Deep Learning. Current AI has shown amazing leaps in performance on tasks with limited data with the help of Transfer Learning. For those who don’t know what that is… It is basically a magical tool that allows anyone to take existing AI models and train them for their own data, however, small the dataset maybe. Sounds good, right?

The harsh truth is that getting these models to work requires substantial knowledge of coding, machine learning, and deep learning. And even if you have the prerequisite knowledge, it can still be a very daunting task. Extremely daunting.

Introducing aasaan.ai — A no-code platform that allows anyone, with no experience in machine learning and coding, to build, train and deploy data classifiers.

Based on the awesome Huggingface Transformers Library.

So How does Aasaan work?

We will be using the Yelp Sentiment Classification data. However, we will not be using the labels that come with the dataset. The idea is that in real life, you will not be having labeled dataset and you may want to have custom labels. So let us begin!

First step: Go to Aasaan.ai

Upload your dataset to aasaan.

The first step is, obviously, uploading the dataset to aasaan. At the moment, the platform only supports CSV files but we plan to add many more formats in the future.

For this example, you can download Yelp Reviews Dataset. But wait! You are in luck. This dataset is included as a sample dataset.

Once you upload the CSV, aasaan shows you an overview of the dataset.

Now, select the column with the text that you wish to classify.

At this point, you have the option to use the labels in your dataset (if you have those). If you have selected the labels, proceed to the section where we train the networks. Otherwise, follow the tutorial.

Add Labels for your dataset.

As I mentioned before, in a real-world scenario, you will most probably not have access to labeled data. Or maybe, you want to have custom labels. (We do support for scenarios where your data is labeled)

At this stage, aasaan asks for all the labels/categories/classes that you wish to classify your data into. For instance, in this example, we will be using the standard sentiment labels — Positive and Negative.

For the Yelp Sentiment Classification dataset, we will be adding the Positive and Negative labels.

Labeling the dataset.

To train the model, you need to label the data. Fret not! Just label 50 examples to start with.

Once, you have labeled 50 examples using the added labels, we can move forward to the exciting bit!

After a few minutes of labeling. . . .

Train the model.

Now relax. Wait for a few minutes while aasaan trains for you.

Evaluate the model.

For the Yelp dataset, the text from the test set is already preloaded. Just press predict or on the right arrow for the next text.

For using the API or CSV prediction tab, you need to join our waiting list. It is free and we would love to have your feedback.

Not too shabby for something made in a few minutes. Such is the power of deep learning and transfer learning now you can leverage it too. Without breaking a sweat.

Interested?

We have successfully built, trained and deployed a data classifier without -

  1. Writing a single line of code
  2. Configuring any GPU
  3. Looking at daunting documentations
  4. Reading and understanding of machine learning papers.

Visit us at aasaanai to try for yourself and be an early beta tester and join our waiting list!

--

--

Aasaan.ai

No Code platform for building, training and deploying data classifiers.