r/learnmachinelearning • • Nov 07 '25

Want to share your learning journey, but don't want to spam Reddit? Join us on #share-your-progress on our Official /r/LML Discord

17 Upvotes

https://discord.gg/3qm9UCpXqz (Discord is currently closed)

Just created a new channel #share-your-journey for more casual, day-to-day update. Share what you have learned lately, what you have been working on, and just general chit-chat.


r/learnmachinelearning • • 1d ago

Question 🧠 ELI5 Wednesday

10 Upvotes

Welcome to ELI5 (Explain Like I'm 5) Wednesday! This weekly thread is dedicated to breaking down complex technical concepts into simple, understandable explanations.

You can participate in two ways:

  • Request an explanation: Ask about a technical concept you'd like to understand better
  • Provide an explanation: Share your knowledge by explaining a concept in accessible terms

When explaining concepts, try to use analogies, simple language, and avoid unnecessary jargon. The goal is clarity, not oversimplification.

When asking questions, feel free to specify your current level of understanding to get a more tailored explanation.

What would you like explained today? Post in the comments below!


r/learnmachinelearning • • 5h ago

Help IIT Bombay End Sem ML question paper.

Thumbnail
gallery
127 Upvotes

r/learnmachinelearning • • 13h ago

Project I spent 2 days building interactive ML lessons where you can watch concepts move. Would love feedback

Post image
42 Upvotes

Formulas never clicked for me until I could see what was happening, so I made Stepwise ML: 118 short lessons where every idea is a diagram you can play with. Push the learning rate up and watch training fall apart, watch k-means find clusters, see attention decide what "bank" means.

Built it with Claude and checked the numbers in every lesson with Python. Free, no sign-up. What concept confused you the most? I'll add lessons for the top answers.

https://stepwiseml.com


r/learnmachinelearning • • 4h ago

Project Dec 10 - AI, ML and Computer Vision Meetup

Post image
6 Upvotes

Join us on Dec 10 for the AI, ML and Computer Vision virtual Meetup! Register for the Zoom.

Talks will include:

  • Your mAP is fine. Your slices are not. Finding the images that actually matter - Amandeep Jiddewar at Pinterest
  • Production AI Agents: Tool Use, Evaluation, Guardrails and Observability - Akshay Talathi at Goldman Sachs
  • From Virtual Worlds to Physical AI: Building Simulation Pipelines That Survive the Real World - Arturo Morales Rangel at Binary Core
  • Prompting Video-Language Models in Production: Lessons from Enterprise Video Tagging and Evaluation - Yash Gugale at TwelveLabs
  • Giving Physical AI a Voice with Deepgram - Dana Sacco at Deepgram

r/learnmachinelearning • • 8h ago

Research Paper reccomendation

10 Upvotes

Hi Guys

I am currently doing a job which is not centered around AI/ML which is what i want to work towards.

So I want to use the extra time I have to read atleast 2-3 research paper per week.

I dont know where to start. Suggest me where to start please :)

PDF would be nice as i can print those and read on my commute.


r/learnmachinelearning • • 1d ago

Discussion I built ml coding problems thinking beginners would use them. my most active user is an AI safety researcher

Post image
209 Upvotes

This project started as a private repo for myself. I made small problems where you implement ML algorithms from scratch, like attention, optimizers, backprop by hand, like leetcode for ML.
Once other people started using it, I assumed it would mostly be students trying to break into ML.

Surprisingly, the top ranked person on the site is an AI safety researcher. he's been on it since almost day one and is close to 1,000 problems now.

He's not the only one like that either. a lot of the people who stick around already work in ml, and they keep coming back to write things from scratch that they could import in one line.

I used to think these coding problems would mostly be useful for people trying to get into ML but seeing who actually sticks around has changed my mind quite a bit.

Edit: too many comments asking the name, it's called TensorTonic


r/learnmachinelearning • • 9h ago

How am i supposed to learn machine learning

6 Upvotes

I was learning machine learning from andrew ng's course on coursera, but i could access only one week worth of material and i am currently relying on his youtube playlist of the same course. The problem is, i don't know what actually am i supposed to know. He taught about the theory and had optional labs where he has implemented them in python code. Am i supposed to be able to hard code all of it on my own? which level of knowledge should i have?


r/learnmachinelearning • • 32m ago

I've been working on sparse attention and managed to cut prefill time from 155s to 37s at Inkling-2-Mini 660K context. Would love some independent testing.

Thumbnail
reddit.com
0 Upvotes

r/learnmachinelearning • • 1h ago

Help How can I extend a food recognition system toward personalized nutrition recommendations?

1 Upvotes

Hello everyone!

I'm working on a project that uses YOLO to recognize food from images and retrieve its nutritional information (calories, protein, fat, and carbohydrates) from a structured dataset.

Now, I would like to take the project further by introducing a user medical profile containing information such as diabetes, obesity, cardiovascular conditions, dietary restrictions, and personal preferences.

My goal is to evaluate food suitability for each user and provide personalized nutritional recommendations.

I'm looking for advice on a few points:

  1. How should I design and represent the user's medical profile?
  2. How can I translate medical conditions into nutritional constraints or rules?
  3. Should I use rule-based systems, knowledge-based approaches, or machine learning?
  4. How can I integrate these constraints into a personalized recommendation system?

Are there any relevant research papers, frameworks, or existing projects I should explore?

I'd really appreciate your suggestions and experiences. Thank you!


r/learnmachinelearning • • 1h ago

[R] Marulho: Learning Hierarchical Representations and Continual Classifiers Without Backpropagation (Zenodo Preprint + Apache-2.0 Code)

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 7h ago

For the women here learning ML, there's a community of women already working in AI who'd love to meet you

Thumbnail
wiai.instalily.ai
3 Upvotes

When you're learning ML, it helps a lot to know people who are already doing the work. They can tell you what the job actually looks like, which skills matter and how they landed their first role.

We started Women in AI at InstaLILY to make those connections easier. It's a community for women at every stage, from people just getting into AI to established leaders, built around talks, expert panels and plenty of time to meet each other.

Since 2024 we've hosted 11 events across New York, San Francisco and London, and our next one is already in the works.

If you'd like to be part of it, join the Women in AI community to hear about the next event first and catch recaps from past ones.

We'd love to have you!


r/learnmachinelearning • • 8h ago

Visual intuition for SGD vs. Momentum vs. Adam: 30 noisy runs escaping the same saddle point

3 Upvotes

When you first learn optimizers, the equations for SGD, Momentum, and Adam look abstract on paper. I built this side-by-side visualization to actually *watch* how they behave on the same saddle point when every run gets identical mini-batch noise.

**Setup**

- **Surface:** `L(x, y) = (xΒ² βˆ’ 1)Β² + 3yΒ²` - a saddle point at `(0, 0)` (`L = 1.0`) flanked by two symmetric minima at `(βˆ’1, 0)` and `(+1, 0)` (`L = 0`).

- **Start:** all 30 runs begin at `(0, 1)` (`L = 4.0`), right on the unstable ridge, so symmetry breaking comes purely from gradient noise.

- **Identical conditions:** shared learning rate `Ξ· = 0.02`, identical per-step Gaussian gradient noise `Οƒ = 0.10` across all three optimizers, 90 steps.

- **Standard update rules:** Momentum uses `Ξ³ = 0.90`; Adam uses `β₁ = 0.9, Ξ²β‚‚ = 0.999, Ξ΅ = 1e-8`.

**What jumps out when you run 30 seeds at once**

  1. **SGD stalls on the saddle plateau.** The steep `y`-slope pulls every run straight down to `(0, 0)`, where `βˆ‚L/βˆ‚x β‰ˆ 0`. You can see the amber median line flatline at `L = 1.0` for ~50 steps while it waits for random noise to push it off the ridge. By step 90, only **22/30** reach `L < 0.05` (median **82** steps).
  2. **Momentum is fastest - and wildest.** Carrying vertical velocity (`Ξ³ = 0.90`) launches it straight through the saddle up the far wall (`y β‰ˆ βˆ’0.65`) and whips it into both valleys first (**30/30** solved, median **31** steps), trading speed for heavy oscillation around the minimum.
  3. **Adam moves in eerie lockstep.** Dividing each axis by its running RMS gradient turns both the steep `y`-wall and the flat `x`-ridge into roughly equal `Β±Ξ·` steps. That's why all 30 emerald runs slice diagonally into both valleys almost together (**30/30** solved, median **60** steps) with a razor-thin interquartile band.

*(Side note: I built this visualizer in Dart/Flutter as an interactive mini-lab I'm adding to Epoch Idle, an ML-themed simulation game for iOS and Android - https://epoch.loyallogic.org. Happy to answer questions about the math or implementation!)*


r/learnmachinelearning • • 2h ago

Help me collect handwritten digits for a Deep Learning project!

0 Upvotes

Hey everyone!

I'm currently working on a Deep Learning project, and I need your help with something simple: collecting handwritten digits!

I built a small web app where anyone can write digits (0–9) using their mouse, trackpad, or touchscreen and submit them to contribute to my dataset.

The goal is to collect handwritten samples from different people, with different handwriting styles, so I can train and experiment with a digit recognition model.

How to participate:

  1. Open the website: https://malak-meliani.github.io/digits-by-hand/
  2. Write a few digits (0–9).
  3. Submit your samples!

It only takes a minute or two, and every contribution helps, even if you only submit a handful of digits.

I'd really appreciate it if you could give it a try! And if you have any feedback or suggestions about the website, I'd be happy to hear them.

Thank you so much to everyone who takes the time to contribute! ❀️


r/learnmachinelearning • • 2h ago

Request Critical TeamCity flaw lets unauthenticated attackers pose as build agents, grab secrets (CVE-2026-136858)

1 Upvotes

CVE-2026-136858 in TeamCity allows unauthenticated attackers to register as build agents and pull secrets from the build server β€” no credentials required. Once registered, the rogue agent looks identical to a legitimate one at the pipeline level. It can exfiltrate environment variables, signing keys, and deployment credentials before any human is alerted. The underlying problem is not unique to TeamCity: most CI/CD systems authenticate the pipeline runner at registration time and then implicitly trust every subsequent action that runner takes. A compromised or spoofed agent inherits that trust wholesale. The blast radius is whatever secrets the legitimate agent was allowed to touch β€” which in a typical prod pipeline is everything. How are you validating the runtime identity of your build agents on an ongoing basis, not just at registration?


r/learnmachinelearning • • 11h ago

ask for machine learning books for lecture

4 Upvotes

Hi. I'm a student of year 3. And we have a lecture about machine learning which is more focus on mathematical modelling . I 'm looking for some useful book to learn by myself. It would be better if it focuses on the mathematical sides. Here are the syllabus:

Week 4 Linear Models 1 - regression

Week 5 Linear Models 2 – ANOVA1

Week 6 Linear Models 3 – ANOVA2

Week 7 Likelihood And EM 1

Week 8 Likelihood And EM 2

Week 9 Tree Based Methods

Week 10 Boost Methods

Week 11 Cluster Analysis: 1

Week 12 Cluster Analysis: 2

Week 13 Logistic Regression

Week 14 Classification, ROC and AUC

Week 15 Neural Networks: 1 Basic

Week 16 Neural Networks: 2 Advanced


r/learnmachinelearning • • 4h ago

RAG AND LLM LERANING JOURNEY

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 5h ago

Realised I was learning about AI Engineering completely the wrong way! But seems like I got a good head start now. Looking for more suggestions to make learning better.

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 6h ago

I built a side pane that rewrites jargon in Claude Code's answers when you click it

Post image
1 Upvotes
**Body:**
I'm the author. My problem: I'd read an answer from Claude Code twice because of terms I didn't know, or get a pile of generated code and not know which part did what.


HoT reads the session file of Claude Code or Codex (read-only) and shows it in a second pane:
- click a highlighted term and that sentence is rewritten in plain words, in place
- ask which code does X and it shows those lines, colored by purpose
- tags paragraphs, and lists the real tool calls behind a claim


Honest limits: you need Pi (another terminal coding agent) to run it; each action costs a model call; a rewrite can be wrong (a second call checks it, which is not proof); I've only tested on macOS.


Repo: https://github.com/tinxai/hot_terminal


What would make this useful for you, or what makes you not want to install it?

r/learnmachinelearning • • 6h ago

Discussion Try solving Advent of Code Day 3... but with PyTorch >:)

1 Upvotes

Was doing my first Advent of Code this year, and day 3 is solvable in pytorch its really fun!!! good practice run for whoever might have covered a certain portion of d2l.ai :>

try it: https://adventofcode.com/2026/

ill share my solution in comments


r/learnmachinelearning • • 1d ago

Project I rebuilt PyTorch's core to understand how it works, and wrote a series that explains each piece

Thumbnail
gallery
90 Upvotes

Hey all!

I use PyTorch almost every day, and for a long time the engine underneath was a black box to me: what actually happens when you add two tensors, and how is it so fast on so many CPUs and GPUs? Three and a half years ago, in my free time, I started trying to answer that.

How I made it. I started small, writing my own versions of the parts I thought I understood (an autograd engine in Python, then one in C++ on top of libtorch), and each one showed me how much I was still missing. In the end the only way forward was reading PyTorch's own source. It's huge, and part of the path from Python to the kernels is generated at build time, so it isn't even in the repo: it took me a long time just to find my way around. What made it click was rebuilding each piece myself, in C++ with Python bindings: the tensor and its strides, the loop behind almost every operation (TensorIterator), SIMD kernels, reductions and threads, autograd and, in the end, CUDA. Every operation is tested against PyTorch and timed next to it, so I knew when I had understood something and when I had not.

Piece by piece, that rebuild became Raxis, a library you can use much like PyTorch: it's about as fast, it's on PyPI (pip install raxis), and it trains real models like CNNs, Vision Transformers and nanoGPT. At some point it stopped being just for me, and I wanted it to be the code I would have liked to find when I started: it keeps the techniques that make PyTorch fast and little else, with no generated code and far fewer layers, so you can follow a call from Python to the kernel in your editor. It doesn't try to replace PyTorch: there's no distributed training, no torch.compile, no float16/bfloat16, and only NVIDIA GPUs. Much of what makes PyTorch's source hard to read exists because of exactly those features.

Code: https://github.com/pgmesa/raxis

I also wrote "Rebuilding PyTorch", a series that explains what I learned, in the order I learned it, for anyone as curious as I was who opened PyTorch's codebase and didn't know where to start:

  • What a tensor really is, and why slicing it costs nothing
  • How PyTorch walks a tensor of any shape
  • TensorIterator, the loop behind almost every operation
  • SIMD kernels for every CPU
  • Reductions and threads
  • The autograd engine
  • The same operations on a GPU

Each article starts from a question and walks through PyTorch's code step by step, with Raxis and measurements side by side: https://blog.pgmesa.com/series/rebuilding-pytorch/

It's dense material, more to study than to read in one sitting: it took me years to understand all of it and to let it sink in, and I hope it takes you much less. To start you only need to have written some PyTorch (some C/C++ helps), and the rest is curiosity and going one piece at a time. Feedback and questions are more than welcome, and I hope it helps you learn as much as it helped me!


r/learnmachinelearning • • 11h ago

Project Neural Network built from scratch with NumPy

Post image
2 Upvotes

This πŸ‘‰interactive 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐑 demo visualizes 1,000 training steps of a neural network learning to solve the XOR problem. Watch how the weights evolve as the network learns.

Use the "Step Into" button to explore the implementation in neural_net.py and see the details of the forward and back-propagation. Follow the mathematics behind the implementation in πŸ“‘this PDF.

No PyTorch or TensorFlow β€” just Python, NumPy and mathematics.

Explore πŸ‘‰other 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐑 visualizations.


r/learnmachinelearning • • 11h ago

Discussion Chunk Size in RAG: Too Big vs Too Small

0 Upvotes

A support assistant gets asked: β€œCan I still get a refund?” It answers, β€œYes β€” within fourteen days.” Confident, polite, and incomplete: refunds only apply if no projects have been exported.

The model is not the only suspect. In RAG, documents are split into chunks before retrieval, and the split decides what the retriever can even find:

β€’ Chunks too big β€” the refund rule sits in one chunk with billing, cancellations and FAQs. Similar is not the same as correct; retrieval drags in noise.

β€’ Chunks too small β€” the deadline lands in one chunk, the export condition lands in another. All the pieces are there; the meaning is not.

What helps in practice: keep related information together (rule + condition + short explanation), use overlap at boundaries as a tool rather than a fix, and test like an engineer β€” collect real questions, run retrieval with different strategies, inspect what comes back, check whether answers are supported, refine.

Two clarifications that come up often: chunking is not the model's tokenizer (it is a separate splitting decision made during preparation), and there is no universal chunk size β€” it depends on your documents, your questions and your embedding model.