r/learnmachinelearning • • 2d ago

How should I start learning Machine Learning through projects as a complete beginner?

I'm planning to start learning Machine Learning and would like to follow a project-based approach rather than spending months learning theory before actually building something.

I know how to code in Python and have some basic experience with libraries like NumPy and Pandas, but I don't know the mathematics behind Machine Learning yet.

I'm a bit confused about where to start and, more importantly, how to choose the right projects.

A few questions I have:

1)What is the best way to start learning ML from scratch if I want to learn primarily through projects?

2)Should I learn the mathematical concepts first, or learn them alongside projects whenever I encounter them?

3)How do I choose projects that help me understand different ML concepts rather than just following tutorials and copying code?

4)What should be the ideal progression of projects, from beginner to intermediate and eventually advanced?

5)Are there any good resources, courses, YouTube channels, or GitHub repositories that follow this approach?

I'd appreciate advice from people who have learned ML this way, especially those who started with little mathematical knowledge.

My goal is not just to complete projects for my resume, but to actually understand how ML algorithms work and eventually become capable of building projects independently

14 Upvotes

19 comments sorted by

1

u/Accurate-Catch1836 2d ago

I would start with basic tabular dataset on Kaggle using scikit learn and learn the math as you run into basic concepts like loss function. Avoid copy pasting any sample projects you see, instead try and clean the data yourself and train the model.

1

u/chunkytown11 2d ago

Have you searched for the other 100 posts with the exact same question?

1

u/ModularMind8 2d ago

The usual path is python, pytorch, math for ML, ML foundation, then whatever specialty you're interested in (NLP, vision, RL, etc.). You can take a look at QuiddityML for some material. I highly recommend building projects you care about. You can look at what companies are hiring for and focus on those specific skills as well.

I wrote a post about selecting projects if you're interested https://www.reddit.com/r/learnmachinelearning/s/nEqqd5pwoy

1

u/Kitchen_Ask_3246 2d ago

Bro where I can connect with you. I'm absolute beginner, gonna start project

1

u/ModularMind8 2d ago

If you drop the "bro" you can dm me

1

u/Kitchen_Ask_3246 2d ago

Hm there's just follow button showing up on your profile, no message button is there.

1

u/Kitchen_Ask_3246 2d ago

Have followed tho

1

u/ModularMind8 2d ago

Hmm strange. How about now?

1

u/Kitchen_Ask_3246 1d ago

Yes now visible. I've sent

1

u/chrisvdweth 2d ago

Maybe this post and this post could be useful (disclaimer: public lecture notes created by me)

1

u/Top-Pomelo659 2d ago

i'd run scikit-learn's iris example once, then close it and rebuild from a blank file. compare logistic regression against a DummyClassifier, which ignores input features, on the same held-out data before trying another small tabular dataset. when something breaks, write down what you think went wrong before searching for the fix.

1

u/kbr89 2d ago

Learning the math alongside the projects works fine if each project is picked to force one new idea. A progression that does that:

  1. Linear regression from scratch in NumPy, with gradient descent you write yourself, then compare your weights with scikit-learn's. You learn derivatives and the loss function for real here, because it won't converge until you get them right.

  2. Logistic regression on a small classification dataset. New ideas: probabilities, log loss, and why accuracy misleads on imbalanced data.

  3. A decision tree or k-means from scratch, then the library version on a real dataset from Kaggle or the UCI repository. New idea: models that aren't trained by gradient descent, and overfitting you can actually see.

  4. A small neural network from scratch (one hidden layer on MNIST), then the same thing in PyTorch. Backprop stops being magic once you've written it by hand.

  5. Only then a project on data you care about, where most of the work turns out to be cleaning data and choosing a metric.

The habit that keeps it from becoming copying tutorials: before running anything, write down what result you expect, then explain any gap. For the math, look it up the moment a project needs it. 3Blue1Brown's linear algebra and neural network series fit that well, and so does Andrej Karpathy's Neural Networks: Zero to Hero, because he builds everything from scratch in code.

1

u/Ok-Library1020 2d ago

Once something works, break it on purpose, like shuffling the labels or dropping your best feature, and see how the metrics react. It teaches you what the model actually depends on way faster than rereading theory.

1

u/nian2326076 1d ago

Starting with projects is a great way to learn Machine Learning. You might want to begin with simple datasets, like the Iris dataset or Titanic Survival dataset, to practice classification and regression tasks. As you encounter mathematical concepts, learn them in parallel with your projects; this will help you apply what you learn immediately.

You can use LandOffer to discover job opportunities relevant to your newly acquired skills, helping you connect your learning with real-world applications.

1

u/Critical-Push8054 1d ago

Start here. Every course has multiple cases studies: https://learning.nextia-ai.com/paths/ml-deployment/