Email the Author

You can use this page to email Amit Gharat about Supervised Learning from First Principles.

Please include an email address so the author can respond to your query

This message will be sent to Amit Gharat

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

About the Book

Six months ago, I knew nothing about Machine Learning since I had always viewed Machine Learning as a distant, almost mystical field reserved for mathematicians and data scientists. Then one day, curiosity got the better of me. I wanted to know, how does a machine actually learn?

That simple question sent me down a rabbit hole. I read countless books, watched hours of videos, and wrestled with concepts that stretched my understanding of math, statistics, and algorithms. The journey was humbling. There were moments when I felt utterly lost, and others when a concept finally clicked and lit up my brain like a light bulb.

This book was born out of that experience: the struggle, the joy, and the sheer curiosity that kept me going. It's written with pure love for understanding how the hell machine learning actually works from the ground up. Note that I'm not an expert in Machine Learning or Artificial Intelligence and by the end of this book, you won't be one either. That's not the goal. What this book aims to do is something more fundamental: to help you see a drop from the ocean of ML knowledge through the lens of first principles, much like understanding physics through its equations. By the time you finish, you'll have the intuition, mathematical grounding, and confidence to explore more advanced algorithms and concepts on your own, but with true understanding. We'll explore the underlying mathematics, visualize concepts through graphs, derive algorithms step by step, and eventually bring them to life with Python.

The goal is not to rush to the latest buzzwords or neural networks, but to peek under the hood of machine learning to see how equations turn into intelligent behaviour.


About the Author

Amit Gharat’s avatar Amit Gharat

@codef0rmer

Amit Gharat is a seasoned technology leader and hands-on engineer with deep expertise in frontend architecture, full-stack development, and modern software systems. With over two decades of experience spanning startups and large-scale enterprises, Amit combines engineering precision with a passion for clarity and design. His work often bridges the gap between user experience and robust system design, ensuring performance, scalability, and developer delight.

When he's not building or teaching, Amit enjoys spending time with his family, including his energetic 4-year-old daughter, and tinkering with new ideas that merge creativity, AI, and engineering craftsmanship. He can be reached on https://www.linkedin.com/in/amitgharat

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Supervised-learning-from-first-principles › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • AccessibilityPro (NEW!)
    • Author Quickstart (NEW!)
    • CourseAI
    • TranslateAI
    • GlobalAuthor
    • IndexAI
    • Launch Quickstart (NEW!)
    • Marketing Packages
    • PublishWord
    • Publish on Amazon
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss