Aditya Chatterjee's Blog, page 138

December 9, 2021

SSD Model Architecture

SSD Model Architecture

SSD has been defined as “a method for detecting objects in images using a single deep neural network”. But before we get into that let us first understand what object detection means. Object detection is a computer vision technique for locating and identifying objects in an image or video. For example, if an image contains a dog, a cat and a car, object detection helps us to classify the types of things in the image and also to locate them within the image.

Table of contents:

How Is SSD Differe...
 •  0 comments  •  flag
Share on Twitter
Published on December 09, 2021 08:14

December 8, 2021

Exponential Linear Unit (ELU)

Exponential Linear Unit (ELU) is an activation function which is an improved to ReLU. We have explored ELU in depth along with pseudocode.

Table of contents:

IntroductionMathematical Definition of ELULearning Using the Derivative of ELUPseudocode of ELU

Prerequisite: Types of activation functions

Introduction

Convolutional neural networks work by establishing layers of nodes, which are basically centers of data processing that communicate or work together towards learning. So, nodes get inp...

 •  0 comments  •  flag
Share on Twitter
Published on December 08, 2021 21:35

Im2row Convolution

In this article, we will understand about Im2row Convolution which is an approach to perform Convolution by modifying the layout of image and filter. It is a better alternative to Im2col.

Table of Contents:

IntroductionIm2col Convolution.
2.1 Drawbacks of Im2col Convolution.Im2row Convolution.
3.1 Traditional Im2row Algorithm.
3.2 Improvised Im2row Algorithm.

Prerequisite: Im2col Convolution

Before discussing Im2row Convolution, we will also look at im2col and it's drawbacks.

Introduction: ...
 •  0 comments  •  flag
Share on Twitter
Published on December 08, 2021 07:39

December 7, 2021

Longest Substring with at Least K repeating characters

In this article, we have presented two algorithms to find the Longest Substring with at Least K repeating characters.

Table of contents:

Problem StatementApproach 1Approach 2Problem Statement

Before we dive into the problem, lets understand the problem statement more clearly:

Given a string s and an integer k, find the length of the longest substring such that the frequency of each character in this substring is greater than or equal to k

That sounds easy enough right? Lets look at a few ex...

 •  0 comments  •  flag
Share on Twitter
Published on December 07, 2021 13:46

Find smallest of 3 integers without comparison

Find smallest of 3 integers without comparison

You must be mindful of what you're writing in your code while building any program. That way, even if you are given a simple problem, you may add your answer to make it appear more inventive. This not only improves your problem-solving abilities, but it also boosts your creativity as a coder. It may seem challenging at first, but as you continue to answer different problems, you'll soon be able to add your own unique response that distinguishes you from others.

As a result, we're going to do the...

 •  0 comments  •  flag
Share on Twitter
Published on December 07, 2021 13:26

Legendre's conjecture

In this article, we have explained Legendre's conjecture, presented an implementation of an Algorithm to verify Legendre's conjecture till a given limit and have provided output which you can analyze.

Table of contents:

Legendre's conjectureExample of Legendre's conjectureImplementation of Legendre's conjecture in C Time and Space Complexity analysisOutput from 1 to 10404Legendre's conjecture

Legendre's conjecture founded and proposed by Adrien-Marie Legendre states that there always exi...

 •  0 comments  •  flag
Share on Twitter
Published on December 07, 2021 13:02

Different ways to initialize List in C++ STL

In this article, we have explained Different ways to initialize List in C++ STL including Initializing list with elements of another list, using a vector or array and much more.

Table of contents:

Introduction to List in C++ STLInitializing an empty listInitializing list with specified valuesInitializing list with elements of another listInitializing list with an array or a vectorInitializing list of specified size with specified variable

Prerequisite: List in C++ STL

Introduction to List...
 •  0 comments  •  flag
Share on Twitter
Published on December 07, 2021 09:55

Different ways to terminate a program in Python

In this article, we are going to explore different ways in which we can terminate and exit a python program.

Table of contents:

Using the quit functionUsing the sys.exit methodUsing the exit() functionUsing the os._exit(0) functionUsing KeyBoard Interrupt and raise systemexit

Let us get started with Different ways to terminate a program in Python.

Using the quit function

Using the python quit function is a simple and effective way to exit a python program. No external imports are required ...

 •  0 comments  •  flag
Share on Twitter
Published on December 07, 2021 05:40

Capturing and Bubbling in JavaScript (Event Listeners)

In this article, we will discuss about the concept of capturing and bubbling in JavaScript (Event Listeners) in depth with code demonstration.

Table of contents:

Event Bubbling vs Event CapturingBubblingCapturingDemonstration of Capturing and BubblingEvent Bubbling vs Event Capturing

There are two ways of event propagation in the HTML DOM:

BubblingCapturingBubbling

In bubbling the inner most element's event is handled first and then the outer most element.

Capturing

In capturing the ou...

 •  0 comments  •  flag
Share on Twitter
Published on December 07, 2021 02:17

Shortest distance between a Line and Point in 3D plane

In this article, we have presented two algorithms to find the Shortest distance between a Line and Point in 3D plane. This involves idea of Projection and Parallelogram.

Table of contents:

Introduction to Geometric AlgorithmsShortest distance between a Line and Point in 3D planeFirst Approach (With Projection)Second Approach (With Parallelogram)

Let's learn something new. I hope here we all know something about three-dimensional geometry. So let's start practicing Geometric Algorithms.

Intr...
 •  0 comments  •  flag
Share on Twitter
Published on December 07, 2021 00:46