Sign in

4M Views. Bridging the gap between Data Science and Intuition. MLE@FB, Ex-WalmartLabs, Citi. Connect on Twitter @mlwhiz
Accessible Learning, Image by silviarita from Pixabay

An action plan from a Data Scientist

I am a Mechanical engineer by education. And I started my career with a core job in the steel industry.

With those heavy steel enforced gumboots and that plastic helmet, venturing around big blast furnaces and rolling mills. Artificial safety measures, to say the least, as I knew that nothing…


Photo by ThisisEngineering RAEng on Unsplash

Parallelism and concurrency aren’t the same things. In some cases, concurrency is much more powerful. Here is a guide to help you make the most of concurrency with Asyncio.

Python is an easy language to pick up, but mastering it requires understanding a lot of concepts.

In my last post, I talked about using a multiprocessing module to do parallel processing. Python also offers users the power to work with concurrency using the Asyncio module from version 3.4 forward.


Photo by Marc-Olivier Jodoin on Unsplash

Parallel processing in Python using Multiprocessing and Joblib

Finally, my program is running! Should I go and get a coffee?

We data scientists have got powerful laptops. Laptops which have quad-core or octa-core processors and Turbo Boost technology. We routinely work with servers with even more cores and computing power. …


Image by Please Don’t sell My Artwork AS IS from Pixabay

Using BERT and Huggingface to create a Question Answer Model

In my last post on BERT, I talked in quite a detail about BERT transformers and how they work on a basic level. I went through the BERT Architecture, training data and training tasks.

But, as I like to say, we don’t really understand something before we implement it ourselves…


Binary Search: Image by Author

Algorithms Interviews

With this Simple Trick

Algorithms are an integral part of data science. While most of us data scientists don’t take a proper algorithms course while studying, they are important all the same. Many companies ask data structures and algorithms as part of their interview process for hiring data scientists.

Now the question that many…


Image by Cedric Yong from Pixabay

BERT introduced by Google in 2018 was one of the most influential papers for NLP. But it is still hard to understand.

In my last series of posts on Transformers, I talked about how a transformer works and how to implement one yourself for a translation task.

In this post, I will go a step further and try to explain BERT, one of the most popular NLP models that utilize a Transformer…


Image by Joshua Woroniecki from Pixabay

Also called Magic Methods, Dunder Methods are necessary to understand Python

In my last post, I talked about Object-Oriented Programming(OOP). And I specifically talked about a single magic method __init__ which is also called as a constructor method in the OOP terminology.

The magic part of __init__ is that it gets called whenever an object is created automatically. But it is…


Image by Gerd Altmann from Pixabay

ROC curves are one of the most common evaluation metrics for checking a classification model’s performance. This guide will help you to truly understand how ROC curves and AUC work together

ROC curves, or receiver operating characteristic curves, are one of the most common evaluation metrics for checking a classification model’s performance. …


Photo by Aaron Burden on Unsplash

TLDR; Do let me know in the comments or to my mail ID: rahul@mlwhiz.com, if you want to contribute articles on ML or Data Science. I would add you as an author.

Full Disclosure here: As part of the editing, I would try to provide you with comments and editing…

Rahul Agarwal

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