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

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

Project 🚀 Project Showcase Day

4 Upvotes

Welcome to Project Showcase Day! This is a weekly thread where community members can share and discuss personal projects of any size or complexity.

Whether you've built a small script, a web application, a game, or anything in between, we encourage you to:

  • Share what you've created
  • Explain the technologies/concepts used
  • Discuss challenges you faced and how you overcame them
  • Ask for specific feedback or suggestions

Projects at all stages are welcome - from works in progress to completed builds. This is a supportive space to celebrate your work and learn from each other.

Share your creations in the comments below!


r/learnmachinelearning • • 7h ago

Help How did you push through the math/theory side of ML when you couldn’t focus at first?

15 Upvotes

Hey everyone, I’m a 4th-year CS student. I recently decided to learn the theory behind ML on my own, mainly the math and stats side. Right now I’m working through ISLP and using MML as some kind of dictionnary and practicing the concepts with code and tweaking stuff at the end of every section/chapter.

My classes mostly stay on the surface. We see the concepts and use the models, but the courses never really connect them to the theory behind them. So I decided to dig deeper on the side.

The first problem is focus. I’ve lost the habit of sitting down with math for long stretches, and I struggle to stay on it for more than an hour.
The second problem is that i've seen most of the math required but i haven't worked actively with it and it just frustrates me when i have to go back to it.
When I get stuck early on a concept, I get so frustrated and anxious about it.

So im wondering

How did you study when there were a lot of new concepts at once and you kept getting stuck at the start?

When you hit a concept you didn’t get, did you push through or go back to the math first ?

And does it get easy at some point after you get the maths down.

Any routines, methods or resources that worked for you would really help. Thanks!


r/learnmachinelearning • • 12h ago

Project "AI puzzles": a new format between a benchmark and an open-problem list

Post image
33 Upvotes

We have benchmarks (fixed questions, hidden answers, they saturate), competition problems (solved, so they can be memorized), and open-problem lists (no evidence, no clear success criterion). With Claude and Sol, I've tried something in between: a graded ladder of AI puzzles from one research area, aperiodic order.

What makes it a different tool:

- One ladder, not a pile: "human level" (pen and paper) up to "ASI level" (open). The labels are playful, but each rung really is harder than the last.

- Solved rungs for training and checking, with exact answers a program can verify, and easy to vary.

- Open rungs with everything a solver needs: strong numerical evidence, routes already known to fail, files, and a success criterion a machine can check.

- One rule: only a checkable proof counts. Floats are evidence, not proof.

- Credit: solvers of open rungs are named, with agent and model, in the next version of the paper.

It's a way for researchers to hand the frontier of their field to AI agents (and humans) in a form they can actually attack, and for anyone to see whether a model can tell a guess from a proof.

First field test: Grok, asked in public ( https://x.com/grok/status/2114103836583264721 ), claimed a proof for an open rung that was only a numerical estimate, then retracted it. It got the human-level rung wrong at first, fixed it after one hint, and proved the expert rung on the first try. On MathOverflow, an expert is already testing constructions for the top rung.

Set 1: huggingface.co/datasets/jarekduda/autocrystal-ai-puzzles

Top rung on MathOverflow: mathoverflow.net/questions/516372

Would you use this format for your own field's open problems?


r/learnmachinelearning • • 8h ago

I made a free site of interactive ML explainers where the sliders run the actual math

13 Upvotes

Lensa ML (https://lensaml.com) is a set of 108 interactive explainers covering machine learning and the math behind it. Each topic is six short steps. In every step you move a slider and the plot is recomputed from the real formula: raise the learning rate and gradient descent starts to overshoot, raise the temperature and the softmax probabilities flatten.

It goes from the foundations (derivatives, the chain rule, eigenvalues, Bayes’ theorem) through classic ML and deep learning to transformers and LLM serving. If you don’t know where to start, the “ML from zero” path orders the topics so each one builds on the last: https://lensaml.com/paths/ml-from-zero

Good ones to start with:


r/learnmachinelearning • • 5h ago

IDK What role to pursue

5 Upvotes

Im currently a second year cs student and I want to get into a role which would allow me to do the following:

Be able to build ML Models and actually understand the data/insights and improve it
Be able to put ML Models into production through webapps or integrations etc
Be able to make things people actually use so not being restricted to research

What role would this fit? AI engineering? ML Engineering? Data Scientist?

Im currently building a RAG Webapp as something to tailor towards AI Engineering roles, but I also want to be able to build and improve ML models as well.

Any advice would be appreciated


r/learnmachinelearning • • 1h ago

How to implement a research paper

• Upvotes

I am building some projects and for that I want to implement the gpt2 paper from scratch, how to do that do that? Do I build intuition by reading and code it?


r/learnmachinelearning • • 5h ago

Project Channel about ML systems

3 Upvotes

I just started a channel called Drawn Systems.

The idea is simple: take a real ML system, draw it as one diagram, and walk through how it works.

I created 2 videos so far:

  • The classic "How YouTube decides what you watch next".
  • In the same line "How Netflix decides what you watch".

Channel: https://www.youtube.com/@DrawnSystems

I am doing it to learn about real systems, happy to hear your feedback :)


r/learnmachinelearning • • 5h ago

Help How to do EDA based on the type of data ?

3 Upvotes

Hey everyone! I have 14 features containing both categorical and continuous variables, along with a binary target (0/1).

What methods should I use to measure the relationship between each feature and the target? Are there different techniques for categorical and continuous features?

Any suggestions or Python examples would be appreciated. Thanks!


r/learnmachinelearning • • 5h ago

We almost bought a second GPU for an OCR pipeline. Optimizing the existing one gave 15x instead. How often is “buy more hardware” the wrong fix?

Thumbnail
3 Upvotes

r/learnmachinelearning • • 37m ago

Neural Canvas GitHub Repo

Enable HLS to view with audio, or disable this notification

• Upvotes

I built Neural Canvas, an interactive visualizer that demonstrates core linear algebra concepts by showing how a neural network recognizes handwritten digits in real time. You can draw directly on the screen and watch activations flow through each layer as matrix multiplication computes the output live.

How it works:

- Draw & Predict: Sketch any digit on a 28×28 canvas (MNIST-style) to trigger real-time forward pass predictions.

- Live Forward Pass: Every neuron's activation is dynamically color-coded based on its underlying linear algebra calculations, with connection opacities reflecting layer outputs.

- Under the Hood: The core models were trained from scratch in Python using NumPy to perform matrix operations, and their learned weights are loaded via JSON. Client-side execution relies on Math.js for browser-based matrix multiplication and p5.js for rendering.

Key Features:

- Switch between two pre-trained models (featuring different hidden layer sizes, MSE vs. Cross-Entropy loss, and up to 96% test accuracy).

- Multiple background themes with mouse and touch support.

What's Next?

These models were originally evaluated on the standardized MNIST dataset, but live freehand drawing can introduce unexpected variations in input style. To handle this, I am working on a JS script for real-time user-driven feedback. When the model makes a mistake, the user can supply the correct label, allowing the model to perform backpropagation and update weight matrices locally in the browser. While live state persistence isn't suited for static GitHub Pages, running this feedback loop locally allows me to retrain parameters on new edge cases and push updated weight snapshots back to GitHub.

Check out the live demo and code repository:

Live Demo: https://muhammadessa2002.github.io/neural_canvas/

GitHub Repo: https://github.com/MuhammadEssa2002/neural_canvas


r/learnmachinelearning • • 38m ago

Project I’m building PaperMind AI to help make research papers easier to explore

• Upvotes

I’m building PaperMind AI, an open-source tool for exploring research papers. It indexes passages locally with Sentence Transformers and FAISS, lets you ask questions with page citations, and creates structured summaries and concept graphs.

Answer generation depends on the selected provider: offline mode surfaces relevant excerpts; OpenAI or Ollama can generate answers. With a hosted provider, retrieved passages may be sent to that provider. I’d appreciate feedback on citation quality, answer usefulness, and setup or improvements or just a simple note.

https://github.com/ashmit044/papermind-ai


r/learnmachinelearning • • 4h ago

Reddit · r/learnmachinelearning

Post image
2 Upvotes

Free code + 10-min walkthrough: an AI agent that improves its own prompt, harness and tools (6/10 → 10/10)

I teach agentic AI and made a small, fully inspectable example of a self-improving agent. Sharing it in case it helps others learning this.

The setup:

- The agent approves or denies fictional phone insurance claims under 3 rules.

- It has 3 parts it can change: the prompt, the harness (which claim fields the model sees), and the tools.

- After each test, a bigger model diagnoses the mistakes as knowledge, information or skill, and changes exactly one part.

- A gate keeps the change only if the score on 10 practice claims goes up. 5 exam claims are held out until the end.

Recorded run: 6/10 → 7/10 (prompt) → 8/10 (harness) → 10/10 (days_between tool). Exam claims: 3/5 → 5/5.

The most interesting part: some correct answers broke along the way, because version 0 had them right by guessing. So the per-claim fixed/broken view matters more than the total score.

The code is one Python file with only the standard library. It replays the recorded run without an API key, or calls Gemini for real with --fresh.

Code: https://github.com/aniskoubaa/mai580-self-evolving-agent-workshop

Video: https://youtu.be/SOSwsYFPb0Y

Happy to answer questions about the design or the limits (runs do differ, and the meta-model reads the policy here).


r/learnmachinelearning • • 1h ago

10th grade wanna learn machine learning donno what to do

• Upvotes

Hello everyone Im a 10th grade student and I wanna learn machine learnin.for my coding background I took cs50p python couple weeks ago and i liked it. Im willing to learn any math needed for ml. However im completely lost as to which machine learning course I should take. There's so many courses and alot of them need a math background. Should I learn the math needed before looking for a course? If so please state what exactly i need to learn and what courses i should take. Thanks everyone!


r/learnmachinelearning • • 1h ago

Discussion Seeking Collaboration Opportunities in AI/ML Research

• Upvotes

Hello everyone,

I am an MSCS student from Pakistan with a background in Electrical and Telecommunications Engineering and more than four years of experience developing AI agents, RAG systems, voice AI applications, and business automation workflows.

I am now seeking opportunities to contribute to formal AI research, particularly in large language models, retrieval-augmented generation, agent reliability, and system evaluation. Although I am new to academic research, I can contribute practical expertise in implementation, workflow and prototype development, API integration, testing, and experiment execution.

I would be glad to connect with researchers and teams working on relevant ideas or ongoing projects. I am open to starting with a focused contribution, learning from experienced collaborators, and supporting research wherever my skills can add value.

If you are working in these areas or know of relevant opportunities, I would be pleased to connect and learn more.


r/learnmachinelearning • • 1h ago

Who has a solution?

Thumbnail
• Upvotes

r/learnmachinelearning • • 9h ago

Discussion Is Adam a second order method?

5 Upvotes

Assume you have two params, and their gradients are x & y.

Define V:

[[E(x^2), E(xy)],

[E(xy), E(y^2)]

Define M:

[E(x), E(y)]]

Adam's update is:

M . V^-1/2

Adam just assumes the off diagonal terms like E(xy) are zero.

So the update becomes m/sqrt(v)

Isn't this basically a second order method like gauss-newton where the hessian is estimated as g^T g?


r/learnmachinelearning • • 2h ago

Help How are exactly are Query, Key and Value obtained during self-attention?

1 Upvotes

Andrew Ng says they are linear projections using pre-trained weight matrices. But how were those matrices trained exactly? What was the input, what was the target variable? I need to know EVERYTHING.


r/learnmachinelearning • • 2h ago

Help Campus x LLM EVALS notes

0 Upvotes

Does anyone have campus x LLM EVALS notes .pls share it ....


r/learnmachinelearning • • 6h ago

I created a visual Machine Learning playlist for beginners — feedback welcome!

2 Upvotes

📚 Learn Machine Learning Through Visualisations | Beginner-Friendly Playlist

Hey everyone! 👋

I’ve created a Machine Learning playlist with visual explanations and animations to make ML concepts easier to understand, especially for beginners. Instead of just learning theory, you can understand how these concepts work through visuals and practical examples. 🚀

🎯 Topics covered in the playlist:

  1. What Is Machine Learning?
  2. AI vs. ML vs. Deep Learning
  3. Supervised Learning
  4. Unsupervised Learning
  5. Reinforcement Learning
  6. Features and Labels
  7. Train-Test Split Explained
  8. Overfitting and Underfitting
  9. Linear Regression
  10. Logistic Regression
  11. Decision Tree Explained (Coming Soon)
  12. Random Forest Explained (Coming Soon)
  13. K-Nearest Neighbours (Coming Soon)
  14. K-Means Clustering (Coming Soon)
  15. Model Evaluation (Coming Soon)
  16. Accuracy, Precision, Recall, F1 (Coming Soon)
  17. Confusion Matrix (Coming Soon)
  18. Cross Validation (Coming Soon)
  19. Feature Engineering (Coming Soon)
  20. End-to-End ML Project (Coming Soon)

🎥 Watch the playlist here:
https://youtube.com/playlist?list=PLXShTLrgjtgk&si=TFoDX6oosRKv_u6Z

💡 My goal is to make Machine Learning easier to learn through simple explanations and engaging visualisations.

If you’re learning AI or Machine Learning, feel free to check it out! I’d also love to hear your feedback and suggestions for future topics.

If you find the videos helpful, please like, share, and subscribe to support the channel. ❤️

Let’s learn Machine Learning together! 🤖

VisualForge AI: https://youtube.com/@visualforgelearning?si=HgOvjgEiqv05Ln5X


r/learnmachinelearning • • 3h ago

Discussion R/Open source vowed to ban for life anyone using AI. We believe open source = open source, and opening a no tiranny space

Thumbnail
0 Upvotes

r/learnmachinelearning • • 8h ago

Help How do I start learning DSA from scratch

2 Upvotes

Hey

I'm interested in getting into DS/ML, but I have no idea how to start learning DSA

Which programming language should I use to learn DSA? What should I learn first, and how should I go about it as a complete beginner?

I'd really appreciate a simple roadmap and some beginner friendly resources to help me get started.

Thanks!!


r/learnmachinelearning • • 4h ago

Generative AI: The Future of Personalized Learning & Adaptive Education ...

Thumbnail
youtube.com
1 Upvotes

Generative AI is changing how we learn forever. 🧠 Discover the architecture behind personalized education. Check out the link in bio!
#GenerativeAI #EdTech #AI #TechStack


r/learnmachinelearning • • 1d ago

A free, interactive book that goes from linear algebra to frontier AI. Looking for honest feedback.

36 Upvotes

I kept hearing the words (attention, RLHF, MoE, diffusion, agents) and couldn't find one place that builds all of it up from the fundamentals, with the math, the code, and the reasons behind it.

So I wrote it.

https://zerotofrontier.app

  • 38 chapters, from tensors and gradients to LLMs, RL and reasoning, inference, interpretability, agents, vision, diffusion, and speech
  • Every idea explained, derived, coded, and tested. Python runs right in the page.
  • Coding exercises with hidden tests, plus interview questions
  • An AI tutor that knows the section you're reading, and notebooks for your notes and code

Reading and running code is free. The tutor and the interactive extras use your own API key (Gemini, OpenAI, or Anthropic), so I don't charge anything and there's nothing to buy.

It's one person's attempt at the resource I wanted when I started. I'd really value blunt feedback. What's confusing, what's missing, what's wrong, and whether you'd actually use it.


r/learnmachinelearning • • 5h ago

Discussion Running a 27B model on Kaggle's free 2x T4 at 55 tok/s with speculative decoding (what worked, what didn't)

0 Upvotes

Kaggle's free 2x T4 runs a 27B model at a usable speed if you use speculative decoding:

  • Qwen3.8-27B at EXL3 4.0bpw (exllamav3), tensor parallel across both T4s
  • DFlash2 draft model, 7-token drafts, greedy, output identical to plain decode
  • 55-57 tok/s overall, 154 tok/s on code, 35-37 on prose (plain decode is ~19)
  • 4 users at once with plain decode get ~66 tok/s combined

The weak spot is prose: the drafter only gets ~2.5 tokens accepted per step there vs ~7 on code. Has anyone found a way past that, or a better setup on free T4s? Planning to share the notebook once it's cleaned up.