Many people, especially those new to the field, often show great interest in the field of machine learning, but shy away from the mathematics that govern it. I hope to demystify it for you by explaining, in simple terms, the math behind machine learning. Linear regression is one the most fundamental mathematical algorithms used in supervised learning.

You may ask,“What is linear regression?”

Regression, in English, means a return to a less developed state. The technical definition doesn’t stray far. Regression is a method of analysis used to understand the relationship between two or more variables. …

Ever since my childhood, I’ve been fascinated by money. When I was introduced to the stock market by my father, an occasional fundamental trader, I was intrigued beyond words. So, this year, when a community on Reddit famously manipulated GameStop shares, I was happier than I’d ever been to see a fresh form of volatility in the markets.

For those of you who are somehow oblivious to this incident, this article is for you. And those of you who’d like a deeper analysis into this incident, although you’ve heard of it, this article is for you too.

You may be…

In parts 1 and 2 of this series, we created a working bot that analysed post titles, searched them for keywords, and matched region names with their current COVID-19 stats. However, we didn’t handle two final problems:

- Our bot does not keep track of which posts it has replied to. So if we run our program in a loop, it’ll end up replying to the same posts multiple times.
- The bot does not remain active all the time. It only replies when it’s run by us.

One foolproof way to make sure a post is only replied to once is…

In part one of this series, I showed you how to get our bot up and running. We understood how the bot accesses Reddit, and how it sees posts. However, we never got to the interactive part of the bot, which is unarguably its most important feature. So in this article, that’s what we’ll cover.

If you haven’t read Part 1 yet, I highly suggest you do so:

This is honestly a breeze, since PRAW gives us all the tools we need. All we have to do is import PRAW, call our bot, add it to a subreddit (of our…

The golden ratio, phi, has always had a mystic aura around it. It is found naturally occurring in many forms, be it in the biological structure of flowers and shellfish, or even the spiral of our galaxy. So what is the golden ratio?

In simple terms, any two numbers are said to be in the golden ratio if their ratio is equal to the ratio of their sum to the greater of the two numbers. Mathematically, two numbers *a *and *b *are in golden ratio if *(a+b)/a = a/b, *for *a>b>0.*

More interesting is the relation between the Fibonacci series…

Quantum computing is the process of computation based on quantum phenomena, such as superposition or entanglement. Quantum computers are well known for being able to factor large numbers, which is a task classical computers find almost impossible. Furthermore, results obtained from quantum calculations are probabilistic rather than deterministic, i.e., the output can vary even if all other factors remain unaltered. Hence, quantum computers are used for tasks such as advanced cryptography, simulation of quantum systems and their behaviour, and even a new branch of machine learning — quantum machine learning.

However, most people are unaware of the potential applications of…

For a coding competition I recently took part in, I was asked to create a product or concept that would benefit society, while still being innovative and accessible. After some consideration, I ended up with the idea of creating a Reddit bot that tells people COVID-19 statistics for a particular region the original poster intends to travel to. The catch is, I didn’t want the bot to be invoked consciously, rather, I wanted the bot to automatically detect the user’s destination, retrieve well-maintained data, and post it as a comment in an unobtrusive manner.

While I was doing research on…