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 • • 23h 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 • • 3h ago

FREE: Combined 6 free university courses on LLMs into one study path for software engineers

68 Upvotes

Berkeley's agent MOOCs, CMU's ML in Production, MIT's efficient DL course and Stanford CS336 are all free and great, but scattered. I put them into one path for devs with no ML background: 101 chapters, guides to all 77 lectures, 5 capstones, and Python examples that run without an API key.

Every chapter links back to the original lecture.

Site: https://acailic.github.io/ai-engineer-path/

Repo: https://github.com/acailic/ai-engineer-path

A free, self-contained course distilled from six open university courses:

  1. UC Berkeley — LLM Agents MOOC (Fall 2024)
  2. UC Berkeley — Advanced LLM Agents MOOC (Spring 2025)
  3. UC Berkeley — Agentic AI MOOC (Fall 2025)
  4. Carnegie Mellon — Machine Learning in Production (Christian Kästner's course 17-645 and book)
  5. MIT — 6.5940 TinyML and Efficient Deep Learning Computing (Fall 2024)
  6. Stanford — CS336 Language Modeling from Scratch (Spring 2026)

If something's wrong, tell me or open issue.


r/learnmachinelearning • • 11h ago

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

22 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 • • 27m ago

ML challenges in credit scoring, collections, and fraud detection?

2 Upvotes

I’m preparing for an ML Engineer interview at a Moroccan consumer finance company. For people who’ve worked on credit scoring, collections, or fraud detection, what were the toughest real-world problems you faced with data, model performance, or deployment? Short practical lessons would be really helpful.


r/learnmachinelearning • • 29m ago

3Blue1Brown made linear algebra intuitive for me — but geometric intuition alone wasn't enough

2 Upvotes

Learning linear algebra is a “nightmare” for many students in STEM, computer science, economics, and even humanities students transitioning into data science. The pain point is often not how hard the calculations are, but the disconnect in ways of thinking and the pile-up of abstract concepts.

Middle school math is used to solving equations and computing numerical values, so students develop an arithmetic intuition of “given numbers, find the result.” Linear algebra, however, starts right away with concepts like “vector spaces,” “linear maps,” and “linear dependence,” and the object of study shifts from concrete numbers to geometry and structure. Without a transition, this leap leaves students with no choice but to memorize definitions to get through exams.

The absence of geometric intuition is the core of the problem. Linear algebra is essentially a geometric subject: vector spaces, linear transformations, kernels, and images all have clear geometric pictures. But if teaching only derives formulas without explaining the pictures, formulas degenerate into rote memorization. A typical consequence: many people can compute the determinant of a matrix but cannot explain “why a determinant of 0 means the matrix is not invertible”; they can recite the definition of rank but cannot intuitively understand “rank is the dimension of the column space.”

In the English-speaking world, the most highly recommended resource for learning linear algebra is 3Blue1Brown’s Essence of Linear Algebra. It is currently recognized as the best intuition-building resource, created by Grant Sanderson. Through beautiful animations, the series treats matrices as “linear transformations,” determinants as “area scaling factors,” and eigenvectors as “vectors whose direction stays unchanged under the transformation.” It builds a strong geometric picture in your mind and makes dry formulas suddenly meaningful. The IEEE Robotics and Automation Society also recommends it for quickly building conceptual understanding. However, the shortcomings of 3Blue1Brown’s videos are obvious: the depth is seriously insufficient. It can only serve as a “side dish” and cannot replace systematic course learning.

In my view, it is not that 3Blue1Brown doesn’t want to expand the depth of the content, but rather a fundamental limitation of the “geometric intuition” angle he adopts. I believe geometric intuition and deductive proof are two directions in learning linear algebra, like two sides of the same coin—neither can be missing. For example, the eigenvectors of a symmetric matrix are mutually orthogonal. Even if this conclusion is demonstrated geometrically, people still don’t quite understand: why does the numerical symmetry of the matrix cause the eigenvectors to be orthogonal? They simply cannot grasp the internal connection between the numbers and orthogonality. In fact, the conclusion that the eigenvectors of a symmetric matrix are mutually orthogonal is derived through deductive proof. People should understand its reasoning process and build this kind of “symbolic reasoning” intuition; only then can they truly master this knowledge point. So what I want to say is: geometric intuition is not omnipotent—it needs to be combined with deductive proof.

Many people learn linear algebra in order to study machine learning or large-model technology, so I’d like to give these people a reminder: 3Blue1Brown’s Essence of Linear Algebra is very satisfying to watch, but don’t forget that you also need to learn some deductive proofs. Don’t skip them just to take the easy way out.


r/learnmachinelearning • • 3h ago

I made a tiny neuron that runs in 12 instructions on RISC-V chips. - paper discussion

2 Upvotes

I've been messing around with a way to let small chips make quick decisions without waking everything up. It's a leaky integrate-and-fire neuron: it watches a signal and only fires when something has really changed.

The fun part is that it's the same maths as CUSUM, so you can predict the false-alarm rate and delay instead of guessing a threshold. On RISC-V it takes 12 instructions and 34 bytes using one mulhsu. On chips with no multiplier, a shift-based version takes the same 12.

Heads up: all of this is from simulation and an emulator. I haven't measured power on real chips yet, so I'm not claiming anything about energy.

Code and paper: https://github.com/irfanmuhammedharis/leaky-integrate-and-fire

Paper prepared with help of claude


r/learnmachinelearning • • 14m ago

Check for RAG

Thumbnail
substack.com
1 Upvotes

r/learnmachinelearning • • 31m ago

Help CNN Architecture and Hyperparameter Recommendations for Google Quick, Draw! (20 Classes)

1 Upvotes

I'm training a CNN on the Google Quick, Draw! dataset with 20 classes, approximately 2,000 samples per class (40,000 images total), resized to 28×28 grayscale images.

I'm aiming for around 90–93% test accuracy, but I'm struggling to find a suitable architecture. I've tried different numbers of convolutional layers, filters, fully connected layers, and neurons, but training takes quite a long time on my laptop, and the accuracy sometimes plateaus or even decreases after a few epochs.

I'd appreciate some practical recommendations regarding:

What is the minimum reasonable number of convolutional layers?

How many filters should I use in each convolutional layer (e.g., 16, 32, 64)?

How many fully connected layers should I have, and how many neurons in each?

Would max pooling after each convolutional layer be beneficial?

What optimizer, learning rate, batch size, and number of epochs would you recommend?

Any tips to achieve 90–93% accuracy without making the model unnecessarily large or computationally expensive?

I'm training on a laptop without a dedicated GPU, so computational efficiency is important.

If anyone has experience training CNNs on Quick, Draw!, I'd really appreciate suggestions for a good starting architecture and hyperparameters.

Thanks!


r/learnmachinelearning • • 49m ago

Suggest some courses for ds and ml

1 Upvotes

I'm looking for some high-quality, affordable or free courses that can not only strengthen my resume but also help me develop a deeper understanding of the subject.

I'm a first-year CSE student with a basic foundation in Python. I'm familiar with libraries such as NumPy, Pandas, Matplotlib, Seaborn, and Scikit-learn.

I also have a basic understanding of Data Science (I've studied from Data Science from Scratch by Joel Grus) and various Machine Learning algorithms, including Decision Trees, Random Forests, Gradient Descent, XGBoost, HistGradientBoosting, AdaBoost, CatBoost, and SVM.

I'm particularly interested in Data Science and Machine Learning and would love recommendations for courses that focus on building strong fundamentals, developing practical skills, and gaining a deeper understanding of the underlying concepts.

Book recommendations, useful learning resources, project ideas, or any other suggestions are also very welcome!

Thanks in advance!


r/learnmachinelearning • • 51m ago

Notes on a 42M mini-LLM implementation in pure PyTorch (pretraining + ChatML SFT on Kaggle T4)

1 Upvotes

Came across a clean implementation of a 42M parameter decoder-only transformer and wanted to share a few architecture choices and notes from it:

Key details from the implementation:

  • Custom 8k Byte-Level BPE: Instead of using standard 50k tokenizers (which waste ~50% of the parameter budget on embedding tables for small models), it uses an 8,192 vocab so ~90% of the 42M parameters remain in the transformer layers.
  • Full two-stage training:

    1. Pre-training on TinyStories (160M tokens) for next-token prediction.
    2. SFT on filtered Alpaca instructions using ChatML formatting and -100 prompt loss masking so the model learns assistant turn-taking and stop tokens (<|im_end|>).
  • Zero framework wrappers: Uses raw PyTorch (FlashAttention/SDPA, Pre-LayerNorm, weight tying) with straightforward training loops rather than high-level trainer abstractions.
  • Compute: Trains on a free Kaggle T4 GPU.

https://github.com/vkshdev/build-mini-LLM


r/learnmachinelearning • • 1h ago

Help Mathematics MSc graduate looking to transition into ML/AI research and pursue a PhD abroad. Need genuine advice

1 Upvotes

Hi everyone,

I recently completed my MSc in Mathematics, and I'm considering transitioning from pure mathematics towards Machine Learning/AI, particularly the mathematical side of ML. I'm interested in areas like mathematical ML, deep learning, optimization, and statistical learning.

My long-term goal is to pursue a fully funded PhD abroad, but I also want to keep both academia and industry open as career options afterward.

I'm confused about how to approach this transition efficiently. Should I focus on learning ML fundamentals, Python and building projects first, or try to get involved in research as early as possible? Would taking a research assistant/project position in India before applying for PhDs abroad be a good idea?

I'd really appreciate advice from people who have actually made a similar transition from mathematics to ML/AI research, especially those who went on to pursue a PhD or work in industry. What did your journey look like, what skills did you prioritize, and what would you do differently if you were starting again?

I'm looking for honest, practical advice rather than a list of courses. Thanks!


r/learnmachinelearning • • 1h ago

Silent failure modes in multi-step AI agents

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 9h 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 • • 2h ago

Where can I find high-quality research papers on Machine Learning, AI, and Computer Vision as an undergraduate student?

1 Upvotes

Hi everyone!

I'm currently a third-year Computer Science Engineering student, and I'm interested in exploring research in Machine Learning, Artificial Intelligence, and Computer Vision.

I'd like to start reading actual research papers published by reputable researchers and institutions, rather than just tutorials, blogs, or beginner-friendly articles.

I'm looking for recommendations on:

  1. Websites or databases where I can find high-quality, peer-reviewed research papers.
  2. Good conferences and journals to follow in ML, AI, and Computer Vision.
  3. Recommendations for interesting or influential papers that would be a good starting point for an undergraduate student.
  4. Communities or platforms where I can connect with researchers and learn about ongoing research.

My long-term goal is to develop a deeper understanding of the field and eventually explore doing research myself.

I'd really appreciate recommendations from PhD students, researchers, professors, or anyone working in these areas.

Thank you!


r/learnmachinelearning • • 2h ago

Building a parasite dataset from scratch: Instagram hashtags, dancing memes, and ditching CVAT for a Flash 5-inspired tool [Build in Public #2]

Thumbnail gallery
0 Upvotes

r/learnmachinelearning • • 3h ago

PINN for Aircraft Performance Prediction and System Identification

1 Upvotes

Hello guys, I am developing a hybrid method (PINN & Output Error Method) for aircraft (UAV) TakeOff Performance Prediction and Physics Discovery. More specific for the ground roll.

I don't model the roll of the aircraft, but I assume that the Lift Off happens at the time the Lift is equal to the Weight.

At the moment, PINN works on synthetic data with gaussian noice, real data from real flight takeoffs is the next step.

Whoever has the time to comment on my work will be appreciated. Thanks!

I uploaded my GitHub repo.

https://github.com/xristosr2002-hue/PINN--Vakoulis


r/learnmachinelearning • • 3h 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 • • 4h ago

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

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 5h 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 • • 11h ago

AI Engineering Roadmap

2 Upvotes

r/learnmachinelearning • • 8h ago

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

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 14h ago

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

3 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 • • 11h 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.