Posts

Showing posts from March, 2026

Unit No. 3 Unsupervised Machine Learning

  In Unit 2, we explored Supervised Learning—a world where every piece of data comes with a neat little label, like a teacher guiding a student. But what happens when the teacher leaves the room? What if we have mountains of data, but absolutely zero labels? Welcome to the fascinating realm of   Unsupervised Machine Learning . The Core Philosophy: Learning Without a Teacher Imagine you are handed a giant box of mixed, unlabeled Lego bricks. No instruction manual, no pictures on the box. What do you naturally do? You start grouping them by color, size, or shape. This is exactly how Unsupervised Learning works. The algorithm is fed raw, unclassified data (only input features, no target outputs) and is tasked with finding hidden structures, patterns, or relationships on its own. It's not trying to predict a specific answer; it's trying to  understand the underlying nature  of the data. HOW IT WORKS Raw Data Algorithm Clustered Patterns The Four Pillars of Unsupervised L...

Unit No. 2 Supervised Machine Learning

  1. The Core Concept: What is Supervised Learning? Supervised Learning  is a sub-branch of artificial intelligence where algorithms are trained using  labeled datasets . Think of it like a teacher supervising a student. The teacher provides the student with example problems along with the correct answers. Over time, the student learns the underlying pattern and can solve new, unseen problems. In technical terms, the algorithm receives input features (often denoted as  X ) paired with their corresponding target outputs (denoted as  Y ). The goal of the model is to learn a mapping function from the input to the output, allowing it to accurately predict the targets for entirely new, unlabeled data points. Labeled Data (X, Y) Training Algorithm Trained Model New Data Regression Regression algorithms are used when the target variable is  continuous  or numerical. The goal is to predict a specific value based on historical trends. Examples include predictin...