Photo by Kevin Ku on Unsplash

This article aims to serve as a good starting point for someone who wants to solve a real world problem using classical machine learning.



Any company in existence today, thrives to make a profit. Insurance companies are profitable when the expenses that they disburse to their clients are lesser than the premiums they receive.

This is the real world problem we are going to tackle today. If there is any way that the insurance company can predict a person’s medical expenses, they would be…

The most important step to work on a machine learning problem is to understand the input data.

Photo by Luke Chesser on Unsplash

EDA helps in identifying any outlier data points, understanding the relationships between the various attributes and structure of the data, recognizing the important variables. It helps in framing questions and visualizing the results, paving the way to make an informed choice of the machine learning algorithm for the problem in hand.

While working on performing EDA, it is important that we keep our objective in mind. Plotting fancy graphs is not the aim but deriving useful insights is.

Keeping that in mind, in this article we would look into an example of EDA performed on the Haberman’s survival dataset which…

Everybody I know, dreams of going on a vacation with their friends just like Imraan, Kabir and Arjun did in Zindagi Na Milegi Dobara. Despite popular opinion, I loved Gully Boy and Murad, so much so that I ended up singing apna time aayega at a dumb charades event, the irony! Dil Dhadakne Do made us realize that we all have somewhat dysfunctional families and it is completely normal.

The best part about Zoya’s movies is that they have an appeal to the masses, along with having an inherent deeper message which you can take or leave.

Recently I watched…

Beginner friendly guide to using linear regression model to predict car prices, calculate the error percentage and improve on it using feature selection.

Photo by Matt Alaniz on Unsplash

The input dataset contains information about used cars listed on, which we found through a dataset available on Kaggle.

A quick glance at the data, gives us an idea of the columns and their datatypes. The data contains no null values and ranges from years 1992 to 2020.

<class 'pandas.core.frame.DataFrame'>
RangeIndex: 4340 entries, 0 to 4339
Data columns (total 8 columns):
# Column Non-Null Count Dtype
--- ------ -------------- -----
0 name…

The aim of the project was to conduct an analysis of the client’s transaction dataset and identify customer purchasing behaviors to generate insights and provide commercial recommendations. To present a strategic recommendation that is supported by data we need to analyze the data to understand the current purchasing trends and behaviors.

The input includes two datasets i.e transaction data and the purchasing behavior for a span of a year.

Photo by NeONBRAND on Unsplash

We begin by performing high level data checks such as:


Life is not an equal playing field, don’t we all have our privileges. I was privileged to have a happy childhood. I did not qualify or work for it but I was lucky that it was handed out to me. Honestly, having a privilege is not a problem but not considering it as one is.

Deciding whether a person is superior than the other merely by where and who they are born as, has always puzzled me. I have still not been able to wrap by head around divides based on race, caste, economic backgrounds, gender. Why do we still…

Exploring the H1-B visa dataset

As part of my course Data Analysis with Python: Zero to Pandas, I analyzed the H1-B visa dataset from Kaggle. The end goal of the assignment was to find an underlying pattern in the data and to represent insights graphically.

What is the H1-B visa type?

The H-1B is a visa in the United States that allows U.S. employers to temporarily employ foreign workers in specialty occupations. If a citizen of any nation(other than the United States) wants to work in the United States, they need to have a H1-B visa permit.

Photo by Elias Castillo on Unsplash

We start with…

Nearly 264 million people of all ages are affected by depression worldwide. There is a need to address the disease but for that let’s take a step back and understand what it means.

Symptoms of depression may include :

This makes it clear that the disease has physical effects on our body. Remember Kabir Singh(from the controversial movie), how when he went through a heartbreak he lost interest in his life, got addicted…

Two of my (inanimate) best friends have received so much of flak over the years, with the help of this article I will try to defend them, like a true friend should.

Photo by Kinga Cichewicz on Unsplash

I love my sleep so much that I have a ritual set aside for it. On most days my friends won’t be able to reach me post 10:30 pm, because I would have dozed off by then and I get up in the morning by around 7 am, everyday. I have seen so many YouTube videos where success gurus go like sleep less, live more. …

“Nothing in life is to be feared, it is only to be understood. Now is the time to understand more, so that we may fear less.”

Image source :

This was said by the first woman to receive the noble prize, Marie Curie. Not only that, Marie Curie is one out of the two people to have bagged the Nobel prize in two different fields. We have all at some point, fantasized the idea of literally living and dying for our passions, well Marie actually did that. Her work in the discovery of radium and polonium, research in the field of radioactivity and…

Alifia Ghantiwala

Using writing to liberate my thoughts!

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