Image for post
Image for post

One of the biggest failures of a human brain is the inability to understand that correlation doesn’t always mean causation. This incapacity to differentiate between the two makes it easier for our brain to assume things which may or may not be true. One such case is when we form a bad habit just to ignore the anxious state of our mind. We associate that habit as the reason for relief from our anxiety, while in reality it is just another distraction.

Habit formation is a basic function that our brain performs in order to reduce the energy consumption. When we want to do a task, which is a part of our habits, our brain doesn’t need to look for alternate ways to complete it. It has already figured out an efficient path which would complete the task and would also provide satisfaction (dopamine). …

Image for post
Image for post

There are moments in life when we feel like a failure. Our brains have been conditioned in such a way that we see every obstacle as a failure even if they present themselves in the form of a learning opportunity. We are not trained to face challenges hence we see them as problems rather than projects. We are so obsessed with success that we spend most of our life in pursuit of it while completely ignoring all the small achievements.

One of the metric people use to measure their success is how much they have achieved in life relative to others. While this could be a metric, but it is not the most accurate. The correct way to measure success is to compare yourself with your past self and measure how much you have grown and changed. Change can play a major role in deciding how you see yourself and how much you respect yourself. …

This week I gave an interview for the profile of Machine Learning Intern. The company is a startup working in the field of NLP. Below is the list of all the questions that I was asked and how I tackled them.

  1. Tell me a bit about yourself. Classic.
  2. What is F1 Score?
    F1 Score is the harmonic mean between Precision and Recall. It is calculated as 2*(Precision*Recall)/(Precision + Recall).
  3. Which is more important, Precision and Recall?
    I knew the answer to it but wasn’t sure in what context was the interviewer asking. The answer I gave was, it depends on the dataset. If there is imbalance in the data, we can not rely on precision as recall becomes more important in such case. In any general case, we can choose Precision as more important metric.
    But in any data, we should try to achieve the best of both. …

Recently, I built a Word Prediction model and used that model to generate lyrics. The data on which I trained my model contained lyrics from Taylor Swift’s songs. My AI looks depressed or maybe it is just a heartbreak. This is what the results were like:

Image for post
Image for post

In the following post, we will talk about how one can create an NLP classifier to detect whether the news is real or fake.

Nowadays, fake news has become a common trend. Even trusted media houses are known to spread fake news and are losing their credibility. So, how can we trust any news to be real or fake?

Image for post
Image for post

In this project, I have built a classifier model that can identify news as real or fake. For this purpose, I have used data from Kaggle, but you can use any data to build this model following the same methods.


Kaggle Data
train.csv: A full training dataset with the following…

Natural Language Processing, commonly known as NLP is a branch of Artificial Intelligence that enables machines to understand human languages.

The goal of NLP is to be able to design algorithms to allow computers to understand natural language in order to perform a task. The task could be something as easy like Spell Checking or something as hard as Semantic Analysis.

Image for post
Image for post

How to represent words?

One of the most important and common denominator among all NLP tasks is how we represent words. …


Ishant Juyal

Crework | Machine Learning | Deep Learning

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