Aditya Chatterjee's Blog, page 4
September 26, 2024
Memory Density Limits in Computers: Theoretical Boundaries and Practical Advances
as_strided op in PyTorch
So you've now finally begun working towards building your first network in PyTorch. You're working with tensors in the dataset, you wish to alter their shape, or do some form of operations. The as_strided() function in PyTorch can be very useful for this.
Table of Contents:
What is as_strided()?CNN operations with as_strided()Cautions with as_strided()Test your knowledgeKey takeawaysThe pytorch as_strided function
Key Questions:
What does as_strided do?How do you determine the stride of...September 8, 2024
Stepwise Regression
Say you're planning to work on a regression problem with a given dataset, you know how to build a regression model that predicts your desired output variable, but you are unsure about the importance of each variable. This is where our topic of this article comes in! We will be learning about stepwise regression- a technique that will help us find the best set of variables to choose for our linear regression.
Table of contents:
Introduction- Why use Stepwise Regression?Process: How does stepwis...August 20, 2024
IPv6: Understanding its Development, Architectural Enhancements, and Current Adoption
The Internet Prot...
Guide to Deep Learning Model Training and Quantization

In this OpenGenus article, I will be guiding you through training a sample convolutional neural network (ConvNet) with 5 convolutional layers for a specific task. The twist? We'll be exploring both FP32 (32-bit floating...
INT4 Quantization (with code demonstration)

INT4 quantization is a technique used to optimize deep learning models by reducing their size and computational costs. It achieves this by using 4-bit integers instead of 32-bit floating-point numbers.
This approach makes th...
Database Indexing

Database indexing is a technique to enhance the speed of data retrieval in a database. An index is a data structure that allows quick access to rows in a table, similar to a book's index helping you find topics quickly without reading every page.
By creating an index on one or more columns, the database...
List and Dictionary Comprehension in Python
In this article, we will be discussing list and dictionary comprehension and it's relevance.
Table of Contents:
ListsDictionariesFor loopsConditional statementsList and Dictionary ComprehensionListsLists are important data structures in Python used for containing elements. These elements can be in the form of numbers, letters and alphabets. Elements can be appended, removed and inserted into these lists. Each element within the list can be accessed using the index of that element. They a...
August 11, 2024
Personality Prediction Through Machine Learning
An accurate comprehension of the world largely hinges on understanding what motivates the people living on it. A person's action or reaction to any issue is largely dependent on the answer to the question: What kind of a person he is?
In this OpenGenus article, we aim to create a Machine Learning model which can tell us exactly that.
July 14, 2024
Dynamic and Static dispatch in C++
A dispatch mechanism determines which function gets executed when called upon by an object. In this OpenGenus article, we will explore each of these mechanisms along their approach to overloading and polymorphism.
Table of contents:
OverviewVirtual functions and vtablesStatic dispatchDynamic dispatchLinking design patternsConclusionOverviewStatic dispatch, also known as early binding or compile-time binding, is a technique where the decision about which function to call is made at com...


