Data Science and Machine Learning Cheat Sheets

5 mins read Click on the links to get the high-resolution cheat sheets. Algebra Linear Algebra Calculus Probability Statistics Python R Machine Learning […]

Understanding Contiguous vs Non-Contiguous Tensors in PyTorch

13 mins read Tensor and View View uses the same data chunk from the original tensor, just a different way to ‘view’ its […]

A review of Deep learning based recommendation systems

20 mins read INTRODUCTION The number of research publications on deep learning-based recommendation systems has increased exponentially in the past recent years. In […]

Steps to setup PyTorch with GPU for NVIDIA GTX 960m (Asus VivoBook n552vw) in Ubuntu

3 mins read In this post, I’m gonna describe the steps I used to utilize GPU for the PyTorch Deep Learning framework on […]

Basics of Convolutional Neural Networks (CNN) from Deep Learning specialization

8 mins read These notes are taken from the first two weeks of the Convolutional Neural Networks course (part of Deep Learning specialization) by Andrew Ng […]

Restricted Boltzmann Machines (RBMs) Simply Explained

16 mins read Table of Content: Definition & Structure Reconstructions Probability Distributions Code Sample: Stacked RBMS Parameters & k Continuous RBMs Next Steps […]

Image classification example with Gradio and Keras

12 mins read Image classification is a subset of machine learning that categorizes a group of images into labeled classes. We train an […]

What is the Bias-Variance Trade-off?

9 mins read Whenever you are using a Statistical, Econometrical, or Machine Learning model, no matter how simple the model is, you should […]

Common loss functions for training deep neural networks in PyTorch

17 mins read Neural networks can do a lot of different tasks. Whether it’s classifying data, like grouping pictures of animals into cats […]

Illustrated calculation of cross-entropy for binary, multi-class, and multi-label classification

8 mins read Cross-entropy is a commonly used loss function for classification tasks. Let’s see why and where to use it. We’ll start with […]

Guidelines to use Transfer Learning in Convolutional Neural Networks

9 mins read Transfer Learning How to adapt an expert’s CNN architecture that has already learned so much about how to find the […]

Dealing with imbalanced data in machine learning

8 mins read Imbalanced classes are a common problem in machine learning classification where there is a disproportionate ratio of observations in each […]

Understanding Gated Recurrent Unit (GRU) with PyTorch code

21 mins read The Gated Recurrent Unit (GRU) is the younger sibling of the more popular Long Short-Term Memory (LSTM) network, and also a […]

Understanding Long Short-Term Memory Networks (LSTM) with PyTorch codes

24 mins read LSTMs are a particular variant of RNNs, therefore having a grasp of the concepts surrounding RNNs will significantly aid your […]

Recurrent Neural Networks (RNN) with PyTorch

22 mins read Recurrent Neural Networks(RNNs) have been the answer to most problems dealing with sequential data and Natural Language Processing(NLP) problems for […]

Common regression loss functions with Python code

14 mins read All the algorithms in machine learning rely on minimizing or maximizing a function, which we call “objective function”. The group […]

Understanding Object Detection using YOLO with Python implementation

21 mins read Introduction How easy would our life be if we simply took an already designed framework, executed it, and got the […]

Understanding the fundamentals of Deep Learning and Convolution Neural Networks with Keras codes

55 mins read Introduction Did you know the first neural network was discovered in the early 1950s? Deep Learning (DL) and Neural Network […]

RCNN, Fast RCNN, and faster RCNN algorithms for Object Detection Explained

23 mins read Table of Contents A Simple Way of Solving an Object Detection Task (using Deep Learning) Understanding Region-Based Convolutional Neural Networks […]

Learn PyTorch basics step by step

29 mins read Introduction PyTorch is the fastest-growing Deep Learning framework and it is also used by Fast.ai in its MOOC, Deep Learning for Coders, and its library. PyTorch is also […]