Created by Author using Diagrams.Net

Let’s dive into the Mathematics behind Neural Networks and Deep Learning

Today, with open source machine learning software libraries such as TensorFlow, Keras, or PyTorch we can create a neural network, even with high structural complexity, with just a few lines of code. Having said that, the mathematics behind neural networks is still a mystery to some of us, and having the mathematics knowledge behind neural networks and deep learning can help us understand what’s happening inside a neural network. It is also helpful in architecture selection, fine-tuning of deep learning models, hyperparameters tuning, and optimization.



Golang may very soon replace Python

Photo by Alex Kotliarskyi on Unsplash

30 years ago, Python made its first appearance. But It took 20 years to gain appreciation from the developers. Fast-forward to 2019, it became the 2nd most loved language among developers.¹

Its growth over the past has been huge, especially over the past 5 years. Python became the machine learning and data science developers’ go-to language.

Python’s dominance in these fields will certainly be huge for the next few years. But it has got some serious disadvantages when compared to newer languages. This could be a roadblock for developers of the 20s.

This is the right time to examine the…

Let’s build a simple neural network completely from scratch.

Created by Author using Diagrams.Net


What’s a Perceptron?

Hence, our single-layer perceptron consists of the following components.

  1. An input layer (x)



Genetic Algorithms are based on Charles Darwin’s theory of natural selection and are often used to solve problems in research and machine learning.

In this article, we’ll be looking at the fundamentals of Genetic Algorithms (GA) and how to solve optimization problems using them.

What are Genetic Algorithms?

It is a subset of evolutionary algorithms, and it mimics the process of natural selection in which the fittest individuals survive and are chosen for cross-over to reproduce offsprings of the next-generation.


Dasaradh K. Saravanan

Engineering Student 📚 | Interests — AI, ML 🤖 & Programming 👨‍💻 | From TN, India 🇮🇳 |

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