What will you learn here?
This article is adapted and inspired from Reinforcement Learning: An Introduction by Richard S. Sutton and Andrew G. Barto.
What is the difference between Supervised Learning, Unsupervised Learning, and Reinforcement Learning?
Supervised Learning algorithms learn from a labeled dataset. The labels in the dataset provide the answer to the input data.
The Supervised algorithm's objective is to find the function(f)…
Here you will learn to create a CNN model with similar architecture using Keras and PyTorch on MNIST dataset
You will learn about Focal loss, how it is used in Object detection to detect hard negative examples, and then implement Focal loss for an imbalanced dataset.
Focal loss is based on the premise where the training focuses on a sparse set of hard examples and prevents the vast number of easy negatives from overwhelming the object detector during training.
One-stage detectors are a straightforward, efficient, and elegant architecture; hence they are faster and simpler. The outputs of the object detection network are classification probabilities and box offsets at each spatial position.
Example: YOLO, SSD, RetinaNet, CenterNet, CenterNet, etc.
Here we will explore
Regularization is a strategy implemented in a deep neural network that will reduce the generalization error but not the training error to perform well on not just the training data but also on new unseen inputs.
An eﬀective regularizer reduces the variance significantly while not overly increasing the bias, thus preventing overfitting.
We use regularization techniques like L1 and L2…
Learn about the Genetic Algorithm, what role it plays in artificial intelligence, how it works, and finally, look at an implementation.
The Genetic Algorithm(GA) is an evolutionary algorithm(EA) inspired by Charles Darwin’s theory of natural selection which espouses Survival of the fittest.
As per the natural selection theory, the fittest individuals are selected to produce offsprings. The fittest parents' characteristics are then passed on to their offsprings using cross-over and mutation to ensure better chances of survival.
Genetic algorithms are randomized search algorithms that generate high-quality optimization solutions by imitating the biologically inspired natural selection process such as selection, cross-over…
Understand popular activation functions used in deep neural networks: Sigmoid, Softmax, tanh, ReLU, Softplus, PReLU, ReLU6, ELU, SELU, Swish, and Mish
A deep neural network performs a linear transformation(z) using the node's input value(x), weight(w), and bias(b).
Object detection, which includes two sub-tasks: object classification and object localization.
Object Localization relies on a bounding box regression (BBR) module to localize objects.
Bounding-box regression is a popular technique in object detection algorithm used to predict target objects' location using rectangular bounding boxes. It aims to refine the location of a predicted bounding box.
Bounding box regression uses overlap area between the predicted bounding box and the ground truth bounding box referred to as Intersection over Union (IOU) based losses.
IoU loss only works when the predicted bounding boxes overlap with the ground truth box. …
In this article, you will learn.
Large deep neural networks or an ensemble of deep neural networks built for better accuracy are computationally expensive, resulting in longer inference times which may not be ideal for near-real-time inference required at the Edge.
The training requirements for a model are different from requirements at the inference. …
You are in a grocery store and scan the QR code on your favorite coffee. You can view the details of where the coffee beans grew, cleaned, triaged, processed, and then roasted. what-if you can trace the supply and distribution to know the means of transport and how long it took to arrive at the store and so forth
Is there a technology that can help record information at each step and make that information available to everyone transparently?
Welcome to the world of Blockchain
Blockchain is an immutable, distributed, decentralized; peer-to-peer ledger replicated across multiple nodes connected in a…
Particle Swarm Optimization(PSO) is inspired by nature. Flocks of bird and fish schools adjust their physical movement to avoid predators, seek food or mates, or optimize environmental parameters such as temperature.
Birds and fishes use swarm intelligence, social behavior, and movement dynamics to share information among their group for a greater survival advantage.
The PSO optimization objective is to find the optimum function that either maximizes the accuracy or precision or minimizes the loss.
The objective of PSO is to find a global optimum over a search space. A swarm in the algorithm is represented by a set of particles…
Loves learning, sharing, and discovering myself. Passionate about Machine Learning and Deep Learning