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

15 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 • • 20h ago

Question 🧠 ELI5 Wednesday

1 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 • • 7h ago

Discussion Mentoring a few experienced engineers in Python, ML from first principles, until August 2027.

20 Upvotes

I've a research background from MIT and ICL. I'm not a full-time mentor. I teach because I love it, and because teaching keeps teaching me back. Explaining a topic makes me see it from angles I'd missed, and mentees often ask questions I'd never thought to ask myself. Teaching is also how I sharpen my own ideas. I like pushing the people I work with right up to the edge of what they can do, because that's where real understanding happens.

Why now

I'm writing two papers right now, one in mathematics and one in computer science. I'm also working with scientists and researchers in oncology while I learn that field properly. Around August 2027 I plan to move on to building my own startup, and that's when I expect to stop mentoring. Until then I have some time, and I'd like to spend part of it mentoring.

Who this is for

There's no shortage of ML or Python material online. If anything there's too much. It's easy to spend months jumping between courses, threads and videos without ever seeing what actually matters or how the pieces fit together. If that sounds familiar, this is for you.

I mainly work with people who have industry experience, for two reasons. The first is discipline: working professionals tend to show up and do the work. The second is that you've seen enough to tell real value from noise. You'll know quickly whether this is worth your time, and you're free to stay or walk away.

What we'd work on

Mostly Python in depth, the maths behind ML (linear algebra, probability, calculus) and ML itself. The focus is always on why things work, not just how to use them. The path depends on where you are now and where you want to go.

On the "mentor" label

Over roughly two years of mentoring, people have kindly called me an outstanding, even rare, mentor. But I feel I am kinda bad at it, though I try to improve every now and then. I'm not saying that to sell anything. It's simply the standard I try to meet every session. You can judge for yourself:

If you're interested

Comment or DM me with a short note: your background, what you're working toward and where you feel stuck. I can only take a few people because the research comes first, so I'll reply to everyone but may not be able to take everyone on.

Thanks for reading, and good luck with whatever you're learning.


r/learnmachinelearning • • 6h ago

Question Starting out with AI/ML tbh have no idea where to start from

4 Upvotes

I feel so overwhelmed seeing everyone making crazy projects meanwhile i don't even know where to even start from, i know python but idk the exact flow of topics or learn or follow so like can anyone tell me what all should I follow to make cool projects like everyone out here. 😭


r/learnmachinelearning • • 9m ago

Free beta: read my book on designing and operating production AI systems

1 Upvotes

I'm opening a private beta for my book on designing and operating production AI systems, and I'm looking for engineers to read it before it ships.

It covers what sits around the model: how state, latency, cost and failure modes connect once a system runs in production.

What's inside:

  • Reliability, latency and cost as one architecture problem
  • Long-running agents with durable state, observable decisions and clear human authority
  • How retrieval, memory, context and fine-tuning fit together
  • Evaluation, security, tools and multi-agent coordination
  • Failure analysis and reference blueprints that connect the parts

It's written for senior engineers, architects and technical leaders who build and operate these systems.

The beta is selective: I'm choosing readers by role and by what they build. Readers who join can open all 20 chapters, read as much as suits them, and give feedback privately.

If that's your work and you'd like to read it, comment "beta" and I'll send you the details.


r/learnmachinelearning • • 1h ago

Designing an enterprise ML training platform, then mapping it to real tools

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 1h ago

Project I've developed an experimental self-learning LLM called LuLu, built around LFM3-1.7B.

Post image
0 Upvotes

I've developed an experimental self-learning LLM called LuLu, built around LFM3-1.7B.

Architecture

LuLu uses an architecture inspired by Side-Tuning. The base model's weights remain frozen.

During conversations, the model determines whether an interaction contains information worth learning. If it decides to learn, it updates a small auxiliary output layer.

During subsequent inference, when the current input is relevant to previously learned information, the auxiliary layer is combined with the original output layer to adjust the next-token logits.

This allows the model to incorporate information from previous interactions without directly modifying the base model's weights.

Why I built it

I wanted to experiment with a way for a relatively small language model to adapt through conversations without continuously fine-tuning the entire base model.

Technical details

I've written a more detailed explanation of the architecture and implementation on Qiita. The article is in Japanese:

Qiita

LuLu is still experimental. I'm particularly interested in the stability of this kind of self-directed learning and how auxiliary output layers can affect the base model's behavior.

I'd appreciate technical feedback and discussion!


r/learnmachinelearning • • 8h ago

AI Engineering Roadmap

2 Upvotes

r/learnmachinelearning • • 4h ago

How recommendation systems learn user preferences: from collaborative filtering to multi-interest models

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 8h ago

Project I made a free, no-signup set of 48 short lessons for learning RAG by building one

2 Upvotes

I kept seeing people learn RAG from long docs and videos, then get stuck the moment they tried to build something. So I made LearnGenAI, which is closer to Duolingo than a lecture.

You go through short cards, one idea at a time, with instant feedback. There are 48 lessons, and most are only 2 to 4 cards. Across them you actually build a handbook search bot: chunking, embeddings, hybrid search (BM25 + RRF), reranking, citations, query rewrite, and evals (context precision, recall, and when the bot should say it doesnt know).

The exercises run on real retrieval code, so tuning top-K changes the scores you see. Interview-style questions come back after 1, 3, 7, 14 and 30 days so they stick. You can also earn XP and keep a streak.

Its free and you dont need an account: https://www.learngenai.space/

If you try a lesson, tell me what felt confusing. Thats what I want to fix next.


r/learnmachinelearning • • 6h ago

Project I’m teaching myself language models by building a tiny character model

1 Upvotes

I’m a beginner learning how text models work, and I’ve been building a small Python project alongside the lessons. So far it goes from character IDs and next-character examples to a count-based model that uses a short context to generate text.

It’s very small and the generated text is rough, but seeing how changing the context changes the predictions has helped the ideas click for me. I’m planning the next lessons now and would appreciate advice from people who learned this material: what concept would make the best next step after a simple n-gram/counting model?

Repo: https://github.com/Sasen12/before-lecture-one-tiny-character-model

I’m documenting the learning process here too: https://www.youtube.com/channel/UCWMERaecgKZmrqPUHLqWuow


r/learnmachinelearning • • 1d ago

Help Completed Andrew Ng's ML Course 1, but I don't feel confident about implementing anything independently. Need some guidance.

28 Upvotes

Hey everyone!

I'm currently pursuing an Integrated MSc in Mathematics, and my long-term goal is to become a Machine Learning Engineer.

I've been learning ML for a while now, and I wanted to get some advice from people who are more experienced in this field.

Here's where I currently stand.

What I've learned so far:

I've covered the basics of Python for Data Science, including:

  • NumPy
  • Pandas
  • Matplotlib
  • Seaborn

I learned these through the Udemy course Python for Machine Learning & Data Science Masterclass by Jose Portilla.

After that, I started Andrew Ng's Machine Learning Specialization on Coursera. I've successfully completed Course 1 out of 3 (Supervised Machine Learning: Regression and Classification).

The topics I've covered include Linear Regression, Multiple Linear Regression, Gradient Descent, Vectorization, Feature Scaling, Feature Engineering, Polynomial Regression, Logistic Regression, Cost Functions, Regularization and Overfitting.

I really enjoyed Andrew Ng's explanations. The mathematical intuition and theory were interesting, and I feel like I have a reasonable understanding of the concepts.

But here's where I'm struggling.

Despite completing Course 1, I don't feel confident about implementing these algorithms independently.

The course has programming assignments and optional labs where we're expected to go through the provided Jupyter notebooks, understand the existing code, fill in missing sections and execute everything.

I find this somewhat difficult because the way I learned Python and NumPy is quite different from the coding style used in those notebooks.

Sometimes I understand what the algorithm is doing mathematically, but translating that understanding into actual code is where I get stuck.

I haven't really tried implementing an entire ML algorithm from scratch independently yet.

And honestly, I don't want to keep completing courses without being able to implement what I've learned.

Here's the approach I'm planning to follow.

After discussing this with a few AI tools and considering different suggestions, I've decided to postpone Course 2 temporarily and properly revisit Course 1.

My current plan is:

  1. Rewatch the lectures and understand the theory, mathematics and intuition behind each topic.
  2. Understand how and why each algorithm works, rather than memorising formulas.
  3. Try implementing the algorithms independently using NumPy, writing the code myself instead of copying existing implementations.
  4. Once I've implemented them using NumPy, learn the corresponding scikit-learn implementation.
  5. Compare the results from my NumPy implementation with scikit-learn and investigate any differences.

For example, I'll implement Linear Regression, including its cost function and gradient descent, using NumPy first. Then I'll perform the same task using scikit-learn and compare the results.

My thinking is that if I can independently implement an algorithm and understand why both implementations produce their respective results, I'll have a much better understanding of what I've learned.

My December plan (December 1–21):

I have these three weeks available, and I want to use them to:

  • Revise all the topics from Andrew Ng's Course 1.
  • Strengthen my understanding of the mathematics and theory.
  • Implement the algorithms independently using NumPy.
  • Learn scikit-learn and compare implementations.
  • Revise NumPy, Pandas, Matplotlib and Seaborn.
  • Build 1–2 small projects to apply what I've learned.

I haven't learned scikit-learn yet. The Udemy course I mentioned earlier has dedicated lectures on scikit-learn and ML implementations.

For those familiar with that course, are its scikit-learn lectures sufficient for a beginner? If not, please suggest some good FREE, preferably YouTube-based resources to learn scikit-learn.

A few questions I'd really appreciate your opinions on:

  1. Is my NumPy → scikit-learn → comparison approach actually a good way to learn ML?
  2. Is implementing algorithms from scratch really necessary for someone aiming to become an ML Engineer?
  3. How do you approach learning a new ML algorithm? Do you first understand the theory and then code, or follow an implementation alongside a tutorial?
  4. How much mathematics should I understand before moving towards practical implementation?
  5. What are some good free resources (preferably video-based) to understand ML implementations in depth?
  6. What should I learn after completing Andrew Ng's Machine Learning Specialization?
  7. When should I start building projects, and what kind of projects would genuinely demonstrate my understanding?
  8. How important are GitHub projects, internships, open-source contributions and Kaggle competitions when applying for ML Engineer roles?
  9. What skills, apart from ML algorithms, should I gradually develop to become a good ML Engineer?
  10. What does an actual day-to-day job of a Machine Learning Engineer involve? How different is it from what we learn in courses?
  11. What mistakes should beginners avoid when learning ML?
  12. If you were starting your ML journey again today, what would your learning roadmap look like?

I'd especially love to hear from people currently working as Machine Learning Engineers. I want to understand what skills actually matter in the industry and how I should prepare myself from the beginning.

I'm not looking for shortcuts or a quick roadmap to get a job. I genuinely want to develop a strong foundation and become good at implementing, understanding and eventually building ML systems.

Any honest feedback, criticism, resource recommendations or personal experiences would be really helpful.

Thanks!


r/learnmachinelearning • • 10h ago

Discussion Why a real-time multimodal assistant should not sample every signal at the same rate

2 Upvotes

In the LingSante-Live architecture thread, Ant Ling separates three observation rhythms: movement needs frequent updates, video-based physiological estimates need stable windows, and device readings can arrive as events. That is a useful systems distinction. Sending every frame through the same reasoning path can waste compute, while sparse sampling can miss a change in activity.

I would evaluate an adaptive sampler by task rather than with one global interval: missed movement events, stability of a physiological estimate as the window changes, and the time from a device event to updated guidance. The thread explains the design choice; it does not publish those measurements or validate the physiological estimates. Which signal would you let trigger a new foreground response, and which would you leave for the background?


r/learnmachinelearning • • 7h ago

Tutorial 17 million lines of Lean proved Riemann. Here's why everyone expected it

Thumbnail
youtu.be
1 Upvotes

The Alpöge–Claude proof of RH (17M lines of Lean, machine-checked, not yet peer reviewed) surprised almost no one. I made a video on why: the primes behave like coin flips, the zeta zeros repel like eigenvalues of random matrices, and the same spacing law even shows up in a neural network's Hessian.


r/learnmachinelearning • • 8h ago

Campusx

1 Upvotes

Can anyone send me the telegram link for dsamp 1.0 course

-- I need to revise some topics from him, so i can't buy the course again


r/learnmachinelearning • • 8h ago

8 evaluation metrics on one page: the scikit-learn call for each, and when each one misleads you

1 Upvotes

r/learnmachinelearning • • 10h ago

Hey there! I want to start learning Machine Learning from begineer, How about following Stanford CS229: Machine Learning by Anand Avati?

Thumbnail
youtube.com
0 Upvotes

r/learnmachinelearning • • 10h ago

Request Drupal Flaw Found by Anthropic Scanner Exploited in Attacks

1 Upvotes

An Anthropic-built scanner identified a vulnerability in Drupal. Then that vulnerability was exploited in live attacks anyway.

The discovery-to-exploitation gap is a known problem. What gets less attention is what AI scanning agents actually do while they run. These tools need broad access to find what they're looking for. Some need to touch production systems to confirm exploitability. The scanner that found this flaw had enough access to identify it — which means it had enough access to interact with the affected surface in ways the organization may not have fully inventoried.

Security teams are deploying AI agents faster than they're defining what those agents are permitted to do. Credentials scope the account. Nothing scopes the agent's actions within that account. When a scan runs, there is often no durable, independent record of exactly what the agent touched, in what order, and what it attempted beyond its logged output.

The flaw was found. The flaw was later exploited. Everything in between — what the agent did, what it accessed, what it left behind — is the part of this story that isn't in the headline.

How are you handling this in practice? Do your AI security tooling operate under any defined per-action scope, or is access control handled entirely at the credential layer — and has that been enough?


r/learnmachinelearning • • 2h ago

Most ML/DS portfolios get ignored because they look like textbook exercises. (Math + MBA + MS in DS/ML looking for 5 serious people)

0 Upvotes

Math grad, MBA, currently doing my MS in DS/ML, so I see both sides of hiring. The real reason most candidates aren't getting hired right now is that anyone (or any AI) can run scikit-learn or XGBoost, so companies filter ruthlessly for what can't be faked: solid fundamentals and business sense. Most get cut by the tech team when asked why a model actually behaves a certain way, and fail the final round because they pitch model metrics instead of how it moves revenue.

I’m taking on 5 serious people actively applying or interviewing for DS/ML roles right now to overhaul their resumes, frame projects around actual business value, and prep for both technical and business interviews.

Once the 5 spots are full, I'm closing this.


r/learnmachinelearning • • 1d ago

Why do attention weights get multiplied by the value matrix in Transformers?

14 Upvotes

Hi, I’ve decided to finally learn how the attention mechanism works by building a very simple Transformer in NumPy.

I have a question that may come from gaps in my linear algebra understanding. I understand that softmax(Q @ K.T / sqrt(d_k)) produces attention weights, but I do not understand why we then multiply those weights by V.

More specifically, I understand what the softmax output represents, but I cannot build an intuition for the meaning of the resulting matrix after multiplying it by the value matrix. Could someone help me understand this?


r/learnmachinelearning • • 16h ago

Question Beginner project idea and thoughts

2 Upvotes

I am a beginner machine learning student, and I have an idea for a project that could take a long time to build.

Many software engineers hate AI generated code, calling it slop and spaghetti. Which is true, sometimes it's really hard to understand or you start realizing it can be done much better and cleaner. Other people say that it doesn't matter, because at the end of the day AI will have to read that sloppy code, not humans.

But if it's harder for human to read, then It also harder for an AI agent. My goal/idea is to measure how much "effort" LLM spends on understanding spaghetti code generated by another LLM before. For computational cost I plan to use metrics such as: reasoning/thinking tokens, agent tool calls, may be actual API price.

Looking at the scope, I can tell this will take a lot of work: building a dataset, testing different models, designing a benchmark. I am still a beginner, thus I want to treat this idea as "goal project" that I won't be shy to show it to someone.

I would be glad if you give me honest feedback:

  • Is this a worthwhile experiment to run, or has someone already proved/measured this exact thing?
  • Isn't it already obvious that LLM spends more effort on messy code, making the exact numbers unimportant.
  • If this is a decent idea, what mistakes should I watch out for?

r/learnmachinelearning • • 1d ago

Completed CampusX ML course but still confused about how to actually build projects

8 Upvotes

Hey guys,

I'm a 3rd-year CSE (AI/ML) student. I've completed CampusX's 100 Days of ML course and learned quite a few things like Pandas, NumPy, EDA, preprocessing, feature engineering and ML algorithms.

But honestly, I still feel confused when it comes to building a project on my own.

When I follow a tutorial, I understand what's happening, but if someone gives me a real problem and asks me to build an ML solution, I don't know where to start or what steps to follow.

For example, how do you decide which features to use, what analysis to perform, which model to try, and what to do next? Basically, how do you approach a project without depending on tutorials at every step?

I also tried building a project earlier but got overwhelmed and couldn't figure out how to proceed independently.

I'm currently at my village for vacation and don't have access to my laptop. I'll be back in my hostel in 3 days, so I want to make a proper plan before starting again.

People who have already crossed this stage, how did you learn to build projects independently? Did you start with small projects, follow tutorials, or just pick a problem and figure things out along the way?

I don't want to just add projects to my resume. I actually want to develop the thinking and problem-solving skills required to work as an ML engineer.

Any genuine advice would be really helpful. Thanks!


r/learnmachinelearning • • 14h ago

Discussion examples of tricky, verifiable kernel-method problems that stump frontier LLMs?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 14h ago

Request Hackers Exploited CVSS 10.0 Hex.pm RCE Flaw to Compromise 6 Package Registry Servers

1 Upvotes

A CVSS 10.0 RCE flaw in Hex.pm was exploited to compromise 6 package registry servers. The build pipelines themselves were not the entry point. The attack moved through dependencies that executed at runtime — after the artifact was already signed, scanned, and deployed.

This is the part static analysis does not reach. The build is clean. The signature checks pass. The malicious behavior shows up later, in what the running process actually calls and touches. Six servers is the confirmed count from this incident. The exploited surface was not in the code that shipped — it was in what that code pulled in and ran.

Security teams are getting better at hardening the build side. The runtime side — what actually executes, what it calls, what it writes, what it reaches out to — is where the gap keeps showing up.

For those working on this: what does your current approach look like for controlling what executes at runtime versus what was verified at build time? Are you treating them as the same problem or separate ones?