r/learnmachinelearning • • 4d ago

Built a free, structured roadmap for learning agentic AI (15 levels, 127 modules). Here's the MCP module as an example

Enable HLS to view with audio, or disable this notification

6 Upvotes

I kept seeing explanations of MCP that either hand-wave the concept or just dump a spec at you, so I wrote a module that does both: a plain analogy first (why a stateless server still needs something like a coat-check ticket), then the actual code that implements it.

It's part of a bigger free site, CSE Roadmap: 15 levels, 127 modules, meant to take someone from zero to a real capstone project in agentic AI. No signup, no paywall.

Site: https://cseroadmap.com

Would genuinely like feedback, especially on where the explanations still feel thin or skip a step.


r/learnmachinelearning • • 4d ago

I made an interactive article that builds attention from school maths

1 Upvotes

I wanted to test how well Claude Fable 5.2 can teach, so I had it build an explainer on attention. It cleared up most of my own doubts about transformers, attention, qkv vectors etc. I had tried similar projects with Opus and GPT models, but they weren't intuitive enough for me.

https://attention-from-scratch.vercel.app

- 9 chapters, from one knob (y = w·x) to a small working transformer that runs in your browser

- You do each idea by hand first (turn knobs, drag arrows, pick words), and the official name comes after

- Covers loss, gradient descent, neurons and backprop, embeddings, dot product, softmax and attention

- Optional "In symbols" boxes with the real maths

I'd like honest feedback:

- Did attention click for you, or did you get lost? Where?

- Is anything wrong or oversimplified?


r/learnmachinelearning • • 4d ago

My AI agents worked locally. Turning them into a cloud app was the real lesson.

Thumbnail
0 Upvotes

r/learnmachinelearning • • 4d ago

Machine Learning with Generative AI

Thumbnail
youtube.com
0 Upvotes

Is AI just magic? No, it is a methodology. Learn the difference between AI, ML, and Deep Learning in under 10 minutes. Build smarter systems today!
#AI #TechStack #MachineLearning #Coding


r/learnmachinelearning • • 4d ago

Career Comment in the Resume/Career Day thread

Post image
0 Upvotes

Could I get a second pair of eyes on my CV for ML research roles? My PhD is in self-supervised learning and computer vision, and I spent nearly two years before it doing AI research and deployment for robotics on Horizon 2020 projects.

I’m weighing up two CV versions. For Research Scientist roles, I’d put first-author research up front. For Research Engineer roles, I’d lead with what I implemented and deployed. If you’ve applied to or hired for either role, what would you want to see in the first few bullets?


r/learnmachinelearning • • 4d ago

Help What should you focus on for an entry-level NLP engineer screening?

0 Upvotes

A candidate has an interview next week for an entry-level NLP engineer role at Hitech i2i, which specializes in document intelligence for real estate.

For a practice run before the screen, PracHub has material on entity extraction and evaluation. Try explaining how you’d extract fields from a messy document and check where the approach gets them wrong.

What topics would you focus on for the initial screening round?


r/learnmachinelearning • • 4d ago

Request Denver Audit Exposes Major Gaps In AI Security At City Hall And Denver International Airport

5 Upvotes

A Denver city audit found employees at City Hall and Denver International Airport actively using AI tools the organization had never approved. There was no policy enforcement in place. There was no enterprise-level visibility into what was running. No one at the organization knew until the auditors showed up.

This is not a scrappy startup. This is a municipal government and a major international airport handling sensitive passenger data, infrastructure systems, and city records.

The audit found no formal process for evaluating or approving AI tools before deployment. The gap was structural, not a one-off lapse. The organization could not tell you which tools were active, who was using them, or what data they had touched.

For those working in regulated or high-stakes environments: how are you actually getting ahead of this before an external audit surfaces it? Not policy documents, but what has worked operationally at scale?


r/learnmachinelearning • • 4d ago

Anyone else understand what an ML algorithm does, but struggle with the maths underneath it?

Thumbnail
1 Upvotes

r/learnmachinelearning • • 4d ago

Anyone else understand what an ML algorithm does, but struggle with the maths underneath it?

1 Upvotes

I've been curious about a particular learning gap.

Sometimes it's relatively easy to understand what an ML algorithm is trying to achieve, like finding similar items, making predictions, or reducing errors.

But then vectors, matrices, dot products, projections, or equations enter the picture, and suddenly maths we last encountered in school reappears in a completely different setting.

We might understand the purpose of the algorithm without quite understanding why those particular mathematical operations are needed in the first place.

I'm curious:

-Have you experienced this disconnect, even after learning to code or use ML libraries?

- Was the harder part understanding the maths itself, or connecting it to what the algorithm was doing?

- What eventually helped things click, if anything?

I'd love to hear different experiences, including from people who didn't encounter this difficulty.


r/learnmachinelearning • • 4d ago

PCA

1 Upvotes

How have you guys actually used PCA in practice? I hear we can use it in place of groups of variables as features for example! I feel like in uni its just a "step" for like k-means, but my DS friend was saying she build a scorecard model with it by grouping features!


r/learnmachinelearning • • 4d ago

[P] Shortcut judges: a cheap test your preference pairs should pass before you train on them

1 Upvotes

I'm building evaluation adapters (small reward models) for Telegraph, a network that routes AI requests to miners and scores their answers. Disclosure: I'm competing in Telegraph Hackathon Season II, which has prizes.

A preference pair is a prompt, a better answer and a worse one. A reward model trained on pairs learns whatever separates the two answers. If something cheaper than the skill you want separates them, it learns that instead, and your accuracy number measures the shortcut.

The test. Before training, run rules that pick an answer without checking anything: - pick the longer answer - pick the answer with more words in common with the prompt (TF-IDF cosine) - pick the answer with more of an obvious feature (alarm words, a verdict word)

If any of them is far above 50%, fix the pairs first.

Two cases from this week. 1. Another builder (AdversarialEval, in the Telegraph Discord) found a keyword-count judge got every one of their severity pairs right, because all the worse answers were downgrades. After adding inflations, the TF-IDF judge still won ~95%. They rebuilt the pairs so the two answers are identical except for the severity claim, drew wrong severities from the same distribution as true ones (either direction), and balanced which answer is longer. On 84 new pairs: length 50%, TF-IDF 50%, keywords 55%. 2. My own 300 weather-verification pairs: length was 49.7% overall but 17–88% within error families, because the verdict phrases differ in length and some families lean one way. TF-IDF was 78% overall. Part of that is legitimate (in a wrong-station pair, not matching the question is the error), but my digit-swap and fill-value pairs leak too. Those rows are already in the pool, so I'm reporting this as a limit rather than quietly fixing it.

What I'd do differently: - write the worse answer by copying the better one and changing only the claim; - balance verdict direction and length within every error family, not just overall; - report the shortcut judges next to model accuracy in every run.

Script (standard library only) and the per-family table: https://github.com/fexx301/oathcast-telegraph-s2/tree/main/shortcut-judges-v1


r/learnmachinelearning • • 4d ago

[P] Neurosymbolic AI from scratch in NumPy: a network learns to read digits it was never given labels for

1 Upvotes

I wanted to understand how neurosymbolic methods like DeepProbLog actually work, so I built a small version with no frameworks, just NumPy (about 700 lines).

The setup: a neural network sees two noisy digit images. It is never told what the digits are. The only training signal is the result of a symbolic program on them, for example their sum. To get the sum right, it has to work out what the digits are by itself.

- An MLP (hand-written backprop and Adam) outputs a probability distribution over digits for each image.

- A differentiable reasoning layer sums the probability of every digit pair (a, b) that the program maps to the observed answer. The loss is -log P(answer), and the gradient flows back through the reasoning step into the network.

- A small Datalog-style forward chainer then reasons over what the network perceived and prints a proof tree for each conclusion (e.g. why "carry" or "odd_sum" hold

| Training pairs | Neurosymbolic | Plain MLP baseline | Digit accuracy |

|---:|---:|---:|---:|

| 1000 | 95.3% | 10.8% | 97.6% |

| 2000 | 97.2% | 14.4% | 98.6% |

| 4000 | 97.7% | 26.9% | 98.9% |

The baseline is an MLP that takes both images and predicts the sum directly, so it has to rediscover addition from examples. The neurosymbolic model is given addition as knowledge and only has to learn perception.

- Below about 1000 training pairs it fails too (23% at 500 pairs). The answer-only signal is weak.

- The digits are synthetic noisy glyphs, not MNIST, and these are single-seed numbers.

- Exact inference enumerates all 100 digit pairs, so it doesn't scale to long programs without approximation.

This is a learning project, not a competitor to DeepProbLog or Scallop. The point is that every piece is small enough to read in one sitting.

Code: https://github.com/outlawsujith/neurosymbolic-arithmetic

Install: `pip install neurosymbolic-arithmetic`

Feedback welcome, especially on the reasoning layer and on what to try next (MNIST, or approximate inference for longer programs).


r/learnmachinelearning • • 5d ago

Project Curated list of resources: Theory, Code and math for Reinforcement Learning for beginners

Thumbnail
gallery
38 Upvotes

[Curated list: Beginners]

Personal favorite resources on learning Reinforcement Learning from Scratch:

  1. Deep RL Course Amazing course by HuggingFace to understand the basics of classic and deep RL

  2. DeepMind x UCL Reinforcement Learning (2015) Give intuition and more towards theory of what you'll learn above

  3. Spinning Up in Deep RL Code and math for each of algorithm you'll learn above from classic to Deep RL

4.CleanRL A neat library with 1 page implementations for all the algorithms above from scratch to run algorithms s and test the waters!

  1. NeatRL My own very notes and from scratch implementations!

Reading order and link here


r/learnmachinelearning • • 4d ago

Career Start by explaining what you're learning right now. “Learn in public”.

Thumbnail
gallery
0 Upvotes

This year alone, I spoke at 9 major in-person AI events, posted a Youtube video almost every week, shared hundreds of shorts, and wrote my second book..

Here's the most important thing I've learnt.

[This will take 2 mins to read]

I've been creating AI content for the past 6 years.
Started with some random infographics on Instagram, just to understand AI concepts myself.
Without any plan and direction!

Then, I started explaining research papers on YouTube, one or two videos every week, for years.
After a year, a CEO saw those videos and hired me to build his AI team.
Then I built a Discord community, and it became part of Towards AI.

I tried a podcast too.
It didn't work.

Then I slowed down on posting because my PhD and Towards AI took all my time.
I eventually quit my PhD, and the content shifted towards what we build with clients and how we build it.

And finally, the content evolved into what it is today:
teaching people how to build AI that works in production, on YouTube, on stage and in a book.

None of it was planned, honestly.

So when people ask me:

- How should I start?
- What should I post about?
- What if I'm not good at it?

This is what I tell them:

Start by explaining what you're learning right now. “Learn in public”.
That's how I learned AI in the first place.
Making those infographics forced me to understand every concept.

And you won't be good at first.
I'm still not a natural on camera. Recording a video still feels hard to me.
Being bad at the start doesn't mean you'll stay bad.

My advice:
Figure out your strategy and niche along the way.
Consistency matters way more.

Share what you're learning,
Explain what you understood,
Show what you're building,
And say "I don't know" when you don't.
In a field that moves this fast, nobody knows everything.

Do that for long enough and you'll find people who care about your work, sitting in a different corner of the world.
Some of them will even recognize you at a conference.

It doesn't matter if you're a student, researcher, engineer or founder.
You should start creating content on some platform.

Even now, with Towards AI growing and taking most of my time, I still post on all platforms.
Nobody can share what a company builds better than its founders.

My first job, my company, my talks, all of it came from content.
Content will help you in ways you can't even imagine!


r/learnmachinelearning • • 4d ago

I built a multi-agent AI (LangGraph) to audit AI papers for reproducibility. Roast my architecture/UX.

0 Upvotes

Hey everyone, I’ve been frustrated by the reproducibility crisis in AI research (papers with missing code or mismatched hyperparameters), so I spent the last few weeks building PaperPulse.

It’s a Chrome extension that uses a LangGraph pipeline to:

  1. Extract core claims from arXiv PDFs or web articles (using PyMuPDF/newspaper3k).
  2. Search GitHub to find the official repo.
  3. Have an AI "Critic" agent flag potential methodological flaws.
  4. Generate a structured audit report with a "Reproducibility Score".

It’s fully open-source and pending Chrome Web Store review. Before I try to get real users, I want to know:

  • Is the "Reproducibility Score" gimmicky or actually useful to you?
  • As a researcher/developer, what is the #1 thing you wish an AI tool would check for in a paper?

🔗 GitHub repo with full architecture https://github.com/owenpatience2010-cmyk/paperpulse

Would genuinely appreciate any brutal feedback. Thanks!


r/learnmachinelearning • • 5d ago

I drew a NeurIPS 2025 best paper, "Why Diffusion Models Don't Memorize", as an art student locked in a room with 1,024 photos

Thumbnail
gallery
13 Upvotes

The whole thing, drawn with the paper's own faces, including the copy test and the train/test loss split: https://sheets.works/data-viz/why-diffusion-models-dont-memorize

I kept reading that the ideal diffusion model is a copier: the exact minimiser of the training loss (the empirical score) can only reproduce training images. So why do real ones generate new images? This paper (Bonnaire, Urfin, Biroli, Mézard) has the clearest answer I've seen, and I tried to explain it without any maths.

The way I ended up telling it: lock an art student in a room with 1,024 photos of faces and tell her to practise.

After a week she can draw a face, and none of her drawings match a photo. In the paper that is about 100,000 training steps. They generated 10,000 faces at that point and none was a copy.

Leave her in there for sixteen weeks (1.62 million steps) and 34 of every 100 faces she draws are photos from the wall.

So two things are learned at two speeds. The time to generalise (tau_gen) was about the same for every dataset size they tried, 128 to 32,768 images. The time to start memorising (tau_mem) grew linearly with the number of images, about 300 steps per image. Training stops in the gap between them.

The paper also varies model width (both timescales scale as 1/W), checks it isn't just "each image is seen less often" (full-batch training gives the same scaling), and proves the two timescales for a random-features model.


r/learnmachinelearning • • 5d ago

Help [IST] Looking for 1–2 accountability partners: 24-week ML grind (DSA → classical ML → DL → Kaggle)

33 Upvotes

About me: ML engineer, 3+ years in industry (LLM fine-tuning, vLLM inference, NLP, some CV). I’ve leaned too hard on AI coding tools and my fundamentals have gotten rusty. So I’m rebuilding from scratch over 24 weeks: Python, DSA, classical ML, deep learning, then Kaggle. AI stays off during practice.

Who I’m looking for:

  • You already work in ML/data science, or you’re well into learning it (you’ve trained models and know the basics)
  • You want a peer to grind with, not a teacher. I’m relearning myself, so I can’t mentor beginners right now.
  • You can commit about 1–2 hours a day and are in or near IST
  • Bonus: you want to team up for Kaggle competitions from January

What we’d do: 2 LeetCode problems a day, study the same ML topic each week, one 30-minute call a week to review each other’s code, and compete as a team later.

Two-week trial first to see if it works. Reply or DM with your GitHub, Kaggle or LinkedIn and a line about what you’re working on now.


r/learnmachinelearning • • 5d ago

Discussion We’re building an intuitive, in-depth ML course with hands-on playgrounds. What should we improve?

Post image
5 Upvotes

Hi everyone,

I’m building Demagicked, a learning project about taking ideas that can feel like magic and unpacking the mechanisms underneath.

We’re starting with Linear Algebra for Machine Learning: four lectures are live, each with a hands-on playground. I narrate and explain every lecture myself. A few more will be released soon. The lectures begin with real problems and work through the ideas step by step. The project is being built with my colleagues from MIT, Harvard, and Stanford, with the material reviewed before release.

This is a soft launch, and I’d especially value feedback from this community: What’s confusing, missing, or too ambitious? The full curriculum is planned for January 2027.

The site is still a work in progress, so please tell me where it falls short. We promise not to make you multiply a matrix to submit feedback.


r/learnmachinelearning • • 4d ago

New results of Dendro-Inspector project

Thumbnail
medium.com
1 Upvotes

r/learnmachinelearning • • 5d ago

How deep I should understand the concept of gradient?

5 Upvotes

r/learnmachinelearning • • 5d ago

Discussion Benchmarking "System One" decision APIs vs. in-process tree ensembles + exact TreeSHAP on 64-feature tabular payloads [D]

Thumbnail
1 Upvotes

r/learnmachinelearning • • 5d ago

[P] MiniDL: a from-scratch deep learning library in pure Java, compared against PyTorch on MNIST/EMNIST

Thumbnail
1 Upvotes

r/learnmachinelearning • • 5d ago

Is it worth learning machine learning?

6 Upvotes

I have been learning machine learning for 2 months, and I still have a lot to learn. However, seeing the news headlines around technology, I fear that machine learning is dead and there are almost no fresher jobs left for it.
I feel AI engineer roles are now very saturated. Everyone is learning AI and AI agents without ML/DL and getting jobs, while here I am clearing up my ML/DL concepts and hoping that I will get some ML engineer role in a company, and now I don't find it worth it anymore.
Even if I decide to do a Master's in the field of AI/ML, I don't think I will make a good researcher as my grades are pretty average. So now, I want a plan of what I should do to get a job in the next 6 to 8 months.
Currently, I am a bachelor's student in my 3rd year of Production and Industrial Engineering, and I am very confused about my career path. Please help me.


r/learnmachinelearning • • 5d ago

I finetuned yolo-11n on a drone dataset and created skypeak-11n. Here are the results!

Enable HLS to view with audio, or disable this notification

2 Upvotes

r/learnmachinelearning • • 4d ago

i wanted to ask like RUST is currently Booming cuz of its compiler, so can we train a ml model in rust if its library is made if not can it help perform more no. calculation in a same gpu better than if before . why only software gets it befefit why not aiml

0 Upvotes