understanding machine learning: my experience
November 2024
I was always curious about how large language models work. I used to wonder how something built on binary logic could seem so human. It amazed me how systems like ChatGPT could understand context, generate text, or even mimic a person's thought process. That curiosity sometimes turned into frustration because I could not see how those parts fit together. I wanted to know how machines recognize patterns, learn from data, and make decisions that look intelligent.
I found a book called Machine Learning (Pocket Reference): Working with Structured Data in Python by Matt Harrison. I picked it up out of curiosity, not expecting much since I only knew basic Python and had used pandas a little. I thought I would understand very little, but the first two chapters made sense right away.
The book focused on practical steps. It showed how to clean data, engineer features, and train models so they actually work. One example that stuck with me was the Titanic dataset. The book explained how to take raw columns like age, sex, and ticket class, fix missing values, turn text into numbers, and train a classifier to predict survival. Seeing that pipeline in a few lines of code made the whole idea click. I could finally see how data becomes decisions.
The chapters on regression and classification helped me understand what different models do. The parts on preprocessing made me realize why cleaning data matters more than complex algorithms. The sections that used scikit-learn showed the actual workflow of building and evaluating models. I learned about splitting data into training and testing sets, and why metrics like accuracy and precision matter for understanding model performance.
It wasn't about heavy math or complex theory, it was about a mindset. The book taught me that machines aren't magical; they simply learn patterns and structure in data. That idea inspired me deeply. It gave me project ideas and a sense of direction. After finishing the pocket reference in two weeks, I started experimenting with small projects, training classifiers on public datasets, and building simple automation tools that use structured data to solve problems.
Finding that book felt random, but it changed how I see AI. It turned curiosity into understanding and gave me the confidence to explore machine learning on my own. And funnily enough, even this blog was formatted with a little help from AI itself.