Understanding sns.heatmap()

We use heatmap for many tasks like correlation matrix, confusion matrix, similarity matrix, distance matrix, etc.

Let’s see an example of plotting a heatmap of the confusion matrix…

source: Created by author

You can see in the above picture that heatmap is not printing the actual number but instead in scientific notation.

See the below img to understand it better.

Photo by Marc Szeglat on Unsplash

Might be getting this issue when training deep learning models in PyTorch

I started learning PyTorch today, I first ran my jupyter notebook to train a simple CNN model in PyTorch, but you know what happened?

Kernel appears to have died and will restart automatically

Then, I write the whole code in a .py file and run using the command prompt. But, this time I get the below error.

Illegal instruction core dumped

I spent a lot of time on google and I didn’t find any solution for my CPU latptop.

NOTE: I don’t have a GPU. I have 10 years old intel Pentium laptop.

Solution:

I used batch_size=1, and It worked.

I hope it will help you.

Binary Classification Modeling part using Machine Learning and Deep Learning

Say NO to sexual harassment

This is the second part of all 4 blogs in this series.

  1. Introduction and EDA(Exploratory Data Analysis)
  2. Binary Classification Modeling using traditional Machine Learning(ML) and Deep Learning(DL).
  3. Multi-label Classification Modeling using traditional Machine Learning and Deep Learning(DL).
  4. Creating Web-App using…

Using the power of NLP to classify Sexual Harassment Stories.

Say NO to Sexual Harassment.

NOTE :

This Blog is divided into four parts.

  1. Introduction and EDA(Exploratory Data Analysis).
  2. Binary Classification Modeling using traditional Machine Learning(ML) and Deep Learning(DL).
  3. Multi-label Classification Modeling using traditional Machine Learning and Deep Learning.
  4. Creating Web-App using Streamlit

1. Introduction and EDA(Exploratory Data Analysis)

Table of Contents:

  • Description

Muhammad Iqbal bazmi

A self-taught programmer, Data Scientist and Machine Learning Engineer

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