|
| 1 | +.. Author: Akshay Mestry <[email protected]> |
| 2 | +.. Created on: Friday, April 25 2025 |
| 3 | +.. Last updated on: Saturday, May 03 2025 |
| 4 | +
|
| 5 | +:og:title: ML101 |
| 6 | +:og:description: Understanding learning as function approximation, not magic. |
| 7 | +:og:type: article |
| 8 | + |
| 9 | +.. _ml101: |
| 10 | + |
| 11 | +=============================================================================== |
| 12 | +ML101 |
| 13 | +=============================================================================== |
| 14 | + |
| 15 | +.. author:: |
| 16 | + :name: Akshay Mestry |
| 17 | + |
| 18 | + :about: National Louis University |
| 19 | + :avatar: https://avatars.githubusercontent.com/u/90549089?v=4 |
| 20 | + :github: https://github.com/xames3 |
| 21 | + :linkedin: https://linkedin.com/in/xames3 |
| 22 | + :timestamp: May 03, 2025 |
| 23 | + |
| 24 | +.. rst-class:: lead |
| 25 | + |
| 26 | + This isn't a crash course. There's no "ultimate guide" here, no promise to |
| 27 | + make you an expert over a weekend |
| 28 | + |
| 29 | +To be fair, this doesn't really need explaining. If you're here, chances are |
| 30 | +you already have some sense of what Machine Learning is, or at least you feel |
| 31 | +you ought to. I'm not about to hand you some ground-breaking new definition. |
| 32 | +What I do hope to offer is clarity, to dispel some of the haze, the |
| 33 | +half-truths, and the misguided metaphors that surround Machine Learning. Not |
| 34 | +just in the press or on LinkedIn slides, but also in the way it's taught, |
| 35 | +explained, and even practised by fellow professionals. You see, Machine |
| 36 | +Learning is often treated like a black box that "just works", a clever |
| 37 | +contraption that learns because it's somehow intelligent. You collect some |
| 38 | +data, feed it into a model, twiddle a few parameters, and voilà, it learns. |
| 39 | +Except it doesn't, not in the way you might think. The word "learning" here is |
| 40 | +doing rather a lot of heavy lifting. |
| 41 | + |
| 42 | +.. image:: ../../assets/it-works-why.jpg |
| 43 | + :alt: It works... why meme |
| 44 | + |
| 45 | +The issue isn't that people are unaware of Machine Learning, it's that we |
| 46 | +seldom pause to understand it deeply. The explanations on offer, blog posts, |
| 47 | +conference talks, YouTube tutorials, often skip the foundations. We learn |
| 48 | +**how** long before we ever touch **why**. And without the **why**, Machine |
| 49 | +Learning becomes little more than glorified pattern recognition wrapped in |
| 50 | +prestige. |
| 51 | + |
| 52 | +.. _a-new-kind-of-programming: |
| 53 | + |
| 54 | +------------------------------------------------------------------------------- |
| 55 | +A New Kind of Programming? |
| 56 | +------------------------------------------------------------------------------- |
| 57 | + |
| 58 | +Machine Learning, at its essence, is a different philosophy of programming. |
| 59 | +Before I get ahead of myself, let's try to understand what programming is. To |
| 60 | +keep things simple, programming is an "art" of writing programs... duh! I mean |
| 61 | +there's more to that like development, testing, integration, etc. But what it |
| 62 | +boils down to is writing a code or program which is nothing but a fancy way of |
| 63 | +writing instructions which the computer (machine) will follow. So, basically |
| 64 | +a program is a set of instructions or when you say I'm a programmer, I write |
| 65 | +instructions for the computer (machine) to follow along. If you've taken any |
| 66 | +Machine Learning class before, you might've come across this definition... |
| 67 | + |
| 68 | +.. epigraph:: |
| 69 | + |
| 70 | + Machine Learning is the field of study that gives computers the ability to |
| 71 | + learn without being explicitly programmed |
| 72 | + |
| 73 | + -- Arthur Samuel, 1959 |
| 74 | + |
| 75 | +In the classical approach, we often write explicit instructions, handcrafted |
| 76 | +rules, conditional logic, or, to keep it precise, programs. The machine doesn't |
| 77 | +think. It simply obeys or follows those rules or instructions. |
| 78 | + |
| 79 | +Machine Learning flips this paradigm. |
| 80 | + |
| 81 | +Instead of coding or programming the logic ourselves, we supply the machine |
| 82 | +(computer) with examples. And I mean a lot of them. By the way, these examples |
| 83 | +are inputs and the desired outputs. We then ask the algorithm (another |
| 84 | +program) to infer the rules or instructions that connect the two. That's the |
| 85 | +entire conceit. We don't program the rules. We let the machine learn them. You |
| 86 | +don't tell the system what to do; you show it what has been done and let it |
| 87 | +infer the rest. |
| 88 | + |
| 89 | +And just because you let the "system" or "machine" learn, it |
| 90 | +doesn't mean you don't do anything. Learning is a process. It's not unlike |
| 91 | +teaching a child to ride a bicycle. You don't explain Newtonian mechanics or |
| 92 | +angular momentum. You run alongside them, steady the seat, and let them wobble. |
| 93 | +The learning comes along through doing. Like I said, its a process. The rules |
| 94 | +emerge from experience. |
0 commit comments