Image for post
Image for post

Table of Contents

  • Introduction
  • Business Problem
  • Machine Learning Problem
  • Data Explaination
  • Exploratory Data Analysis
  • Feature Engineering
  • Machine Learning Models
  • References


Instacart is an American company that operates a grocery delivery and pick-up service in the United States and Canada. The company offers its services via a website and mobile app. The service allows customers to order groceries from participating retailers with the shopping being done by a personal shopper.

Their service model is like a personal shopper would pick, pack, and deliver the order within the customer’s designated time frame within one hour or up to five days in advance. …

Hey Folks, recently I came to problem where I have to make some classification with almost 400k data in which there were almost 400 unique classes ( target variable), the target variable were obviously highly imbalanced.

There are some methods to handle these imbalanced data, I am mentioning the methods which I tried for my work:

  1. Using class_weight=`balanced` parameter if the classifier supports
  2. Using imblearn’s SMOTE.

There were some disadvantages of both the approaches, as I had lots of data and highly imbalanced target values, Approach 1 took hell lot of the time, the reason I think is that as…

Jigar Parmar

ML / AI enthusiast

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