šÆ Goal: To help you understand the difference between convex and non-convex functions ā and why they matter when training machine learning models. š§ 1ļøā£ What Is Optimisation in ML? At its core, machine learning is about optimising. You have a loss function (how wrong your model is), and you want to find the best […]
Author: anujsharma
From Battlefield to Boardroom: What Data Analysts Today Can Learn from Florence Nightingale
Long before Python, Tableau, or SQL, there was Florence Nightingale ā a nurse, a reformer, and a pioneer in data-driven decision-making. Yes, the same woman known for revolutionising nursing also changed the world with data. š” A Crisis Without Data During the Crimean War (1853ā1856), Nightingale arrived at British military hospitals and found chaos: What […]
š What Software Engineers Can Learn from Miyamoto Musashi, the Legendary Samurai š”
Miyamoto Musashi, a 17th-century Japanese swordsman, undefeated in over 60 duels, wasnāt just a master of combat ā he was a master of strategy, adaptability, and continuous improvement. His timeless work, The Book of Five Rings, holds powerful lessons that apply far beyond the battlefield ā including to modern software engineering. Hereās what we can […]
Probability & Statistics for Machine Learning ā Mastering Uncertainty
šÆ Why Itās Critical in ML Machine learning models donāt just spit out answers ā they work in a world of uncertainty. We need probability and statistics to:ā Quantify how confident a model isā Understand data behaviourā Measure errors, risks, and improvementsā Make decisions when we donāt know everything Without these tools, youāre essentially blind […]
Understanding Pointers in C
1ļøā£ What Is a Pointer? A pointer is a special type of variable that stores the memory address of another variable. š In simple words: āļø Analogy: Think of your house as a variable and its address as a pointer. You can tell someone the address (pointer), and they can find your house (the value). […]
Gradient Descent with Simple Intuition
If youāve ever peeked inside a machine learning modelāor even trained oneāyouāve probably heard the phrase āgradient descent.ā But what is it exactly? And why should engineers care? Today, letās strip away the jargon and look at gradient descent in plain English. No equations, just clear thinking ā and a link to the world of […]
Why Every Engineer Should Understand the Basics of Machine Learning
Whether you’re building back-end systems, mobile apps, or front-end features, one thing is becoming clear: machine learning (ML) is no longer just for data scientistsāit’s becoming part of a modern engineerās toolbox. But why should every engineer care? 1. Models Are Just Supercharged If-Else Statements Imagine you’re writing code to categorise emails as “spam” or […]
Why You Need Custom Exception Classes
Custom exception classes are an essential part of robust and maintainable software development. Here are several key reasons why you might need to define your own exception classes in Python: 1. Clarity and Specificity Custom exceptions can make your code more readable and easier to understand. By defining exceptions that are specific to your application, […]
User-Defined Exceptions in Python
Introduction In Python, exceptions are events that disrupt the normal flow of a program. When such an event occurs, the program crashes unless the exception is handled. Python has many built-in exceptions, such as ValueError, TypeError, and IndexError. However, there are situations where these built-in exceptions may not adequately represent the specific error conditions of […]
Understanding Python Decorators
Python decorators are a powerful tool that allows you to modify the behavior of a function or class method. Here’s a step-by-step guide to understanding them with examples. Step 1: Understand Functions as First-Class Objects In Python, functions are first-class objects, meaning they can be passed around and used as arguments, just like any other […]