r/learnmachinelearning • u/grandidieri • 28d ago
Tutorial Pretty good didactic article explaining LLMs
mooremetrics.comStarts from the super-basics
r/learnmachinelearning • u/grandidieri • 28d ago
Starts from the super-basics
r/learnmachinelearning • u/Sea-Ad7805 • 29d ago
An exercise to help build the right mental model for Python data.
The “Solution” link uses 𝐦𝐞𝐦𝐨𝐫𝐲_𝐠𝐫𝐚𝐩𝐡 to visualize execution and reveals what’s actually happening.
r/learnmachinelearning • u/AutoModerator • 28d ago
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:
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 • u/Icy_Original_9512 • 28d ago
Hi everyone!
I’m currently working on my Bachelor’s thesis about AI-based process automation and human–AI collaboration in the workplace.
As part of my research, I’m conducting a short survey focusing on people who have experience working with AI-based automation, RPA, Intelligent Process Automation, Intelligent Document Processing, or similar automation technologies.
The survey explores topics such as:
⏱️ It takes approximately 5–7 minutes to complete.
If you have experience working with these technologies, I would really appreciate your participation. Your responses will be used solely for academic research as part of my Bachelor’s thesis.
Thank you very much for your help! Feel free to share the survey with colleagues or others who work with AI-based process automation.
r/learnmachinelearning • u/Pale-Training-6944 • 28d ago
After reading a bunch of RSI papers, I keep coming back to familiar problems from RL and evolutionary search:
That motivated us to build Gear, an open-source, meta-learning-inspired framework. A task agent produces execution traces; a meta-agent uses those traces and evaluation feedback to improve prompts, tools, workflows, and context management.
Gear separates search decisions from execution and evaluation. Our goal is a scikit-learn for RSI, making approaches such as GEPA, RRSI, and Harness² easier to implement and compare. We currently have a working GEPA variant with shared failure diagnosis and staged evaluation.
With GPT 5.6 Luna held at medium reasoning effort, we observed these task pass rates:
| Benchmark | Base DSH | Gear-optimized DSH |
|---|---|---|
| AutomationBench Marketing | 27.0% | 40.0% |
| AutomationBench Support | 17.0% | 25.0% |
| Terminal-Bench 2.1 | 52.8% | 62.9% |
At max effort on Marketing, Luna with the optimized harness reached 88.88% objective completion, versus 84.08% for Astra + Codex. Strict task pass rates were 53% versus 57%, so the advantage was in partial completion.
Separately, with both models using the same optimized DSH at max effort, Luna’s estimated API cost averaged $0.0568 per task versus $1.1858 for Astra—95.21% lower, excluding optimization and infrastructure costs.
The 100 public Marketing tasks participated in optimization and evaluation; these results do not establish held-out generalization.
We’d welcome feedback on candidate evaluation and diversity preservation under limited budgets.
r/learnmachinelearning • u/Abject_League6170 • 28d ago
r/learnmachinelearning • u/Shubham_Ara_Ara • 28d ago
r/learnmachinelearning • u/song-sc • 28d ago
r/learnmachinelearning • u/readitonly • Oct 27 '26
I started learning CUDA a while back to work on inference and understand FlashAttention. I read a lot of blogs on various topics, but the order was always confusing, so I wrote up the order that I'd pick if I started over.
What it covers:
- H100 architecture
- CUDA software mental model
- Getting started with Matrix Multiplication and building up to a very optimized solution
- Understanding how all of these add to optimization constraints
- An introduction to reading and understanding PTX(the compiler code)
It's meant to be a starter overview that will get you confident enough to read deeper, niche resources. I'd appreciate any feedback or corrections. Cheers!
Link to blog
r/learnmachinelearning • u/Any_Floor_1768 • 29d ago
New learners often stall trying to get access to the biggest, newest model, as if that is what stands between them and understanding. In my experience the model choice barely matters for learning. A smaller, older, freely available model is more than good enough to teach you data handling, training loops, evaluation, and why your results are bad, which is where the real learning is. The bottleneck is never the model, it is your understanding of the problem and the data. Spend the energy you would waste chasing access on actually running experiments with whatever you have. Good enough and in your hands beats the latest and out of reach every time for a student.
r/learnmachinelearning • u/Flashy_Main_9836 • 29d ago
First I felt that such large logic, implementation and intelligence just reduced to such small lines of code made learning such vast concepts meaning less since it's just reduced to like 3 lines of code
Later realised this is the beauty of learning ie learn how the backend works and implement it flawlessly through frontend
Am I the only one who feels this way though?
r/learnmachinelearning • u/Critical-Push8054 • 29d ago
Hi everyone. I’m a hands-on AI engineering leader with a PhD in computer science and experience teaching in academia and mentoring working professionals. My work involves both leading teams and building AI systems—from architecture and implementation to evaluation and deployment.
Based on that experience, I’ve been developing Nextia Learning, a free platform covering the different skills involved in AI engineering.
The motivation is straightforward: AI engineering requires knowledge across several areas, and knowing what to learn—and in what order—can be difficult.
Understanding models matters. So does knowing how to prepare data, build APIs, work with databases, evaluate outputs, manage permissions, deploy applications, and investigate failures. With LLMs and agents, you also need to think about retrieval, tool access, unpredictable outputs, latency, and cost.
You don’t need to master everything before you start. But understanding how these pieces fit together helps you build better systems and identify where you need to develop your skills.
That’s what I wanted to reflect in this platform.
Courses covering different aspects of AI engineering
The curriculum brings together:
The selection reflects the range of problems and decisions I’ve encountered while building AI applications. My aim is to help learners develop skills across these areas and understand how to use them together.
Learning paths are a central part of it
Having a collection of courses doesn’t necessarily tell you where to begin.
A software developer moving into LLM applications has different needs from a new graduate learning machine learning, a domain expert applying AI, or someone leading an AI team.
The learning paths organize courses around those goals, with prerequisites and a suggested order. They help you see what to learn next, how it builds on what you already know, and where it fits into the work you want to do.
Lessons are text-first, written in simple English, and include worked examples, guided practice, common mistakes, and checks for understanding. There’s also an interview preparation section.
A few things to be transparent about
You can explore the courses and learning paths here: https://learning.nextia-ai.com/
For those learning or working in AI engineering: which skills were missing from your initial learning but turned out to be important in your work? I’d also welcome feedback on whether the learning paths make sense for your background and goals.
r/learnmachinelearning • u/ArthaVedya • 28d ago
I've been looking into how machine-learning models are evaluated for radar-based human activity recognition (HAR), and one issue that deserves more attention is how datasets are split.
Consider a simple example.
Suppose we have continuous radar recordings divided into:
If we randomly assign these windows to training and testing, adjacent windows from the same recording can end up in both sets.
That means the model may encounter 75% of a test window's raw input during training.
The reported accuracy might be mathematically correct, but does it demonstrate generalization to new people or environments?
Three evaluation problems worth checking:
There's another interesting issue with reporting accuracy.
Consider a hypothetical experiment with four participants achieving 99%, 95%, 85%, and 80% accuracy. If the first participant contributes 90% of all test windows, the pooled accuracy can reach 98%, while the equal-participant average is only 89.75%.
Both numbers are correct, but they communicate different things.
What would make the evaluation more convincing?
For transparency, I'm part of the ArthaVedya Research team. We recently published a free technical guide explaining these issues, including worked examples and a Python tool for auditing dataset splits.
https://arthavedya.com/radar-har-accuracy-subject-leakage-domain-shift/
The 98% figure is illustrative, not a measured result from a specific paper.
Question for researchers working with HAR or time-series classification:
Do you generally prefer leave-one-subject-out cross-validation, group-based splits, or another evaluation protocol? And how much performance degradation do you typically observe when moving from random-window splitting to subject-independent testing?
r/learnmachinelearning • u/SatisfactionReal492 • 29d ago
r/learnmachinelearning • u/No-Conclusion3720 • 28d ago
Researchers documented an in-the-wild attack where malicious markdown content embedded in documents caused AI agents to execute unintended tool calls. The attack worked because the agent parsed rendered markdown as trusted instructions and acted on them with full credentials. No human approved those actions. The agent had no way to distinguish legitimate orchestration from injected content.
The core issue is not a markdown parser bug. It is that agents inherit ambient trust from their runtime environment. Anything that looks like an instruction gets treated as one. That behavior is by design in most current agent frameworks.
Dark Reading covered a concrete case where this pattern was exploited in the wild, not just in a lab. That shifts this from theoretical to an active threat category.
For those running agents in production: how are you handling the trust boundary between data the agent reads and instructions the agent is allowed to act on? Curious whether teams are solving this at the prompt level, the tool-call level, somewhere else, or not yet at all.
r/learnmachinelearning • u/fxlrnrpt • 29d ago
r/learnmachinelearning • u/ubiquitous_tech • 29d ago
Disclosure: I made free long-form breakdowns on YouTube about AI to help people get a theoretical vision of the technology. The goal is helping people understand better the technology.
If you are building LLM features in 2026, the gap I see is people jumping from "hello world RAG" straight to agents without fixing document extraction and retrieval quality first. Most production pain is boring infrastructure, not prompt wording.
I recorded two free walkthroughs that mirror how I actually teach this:
Parsing → chunking → embedding → retrieval → reranking → generation. Where hello-world tutorials silently fail (PDF tables, scanned pages, multilingual, multi-vector).
Video: https://www.youtube.com/watch?v=VAfkYGoWWcs
2. Agents in a real product (not a demo script)
Mental model: LLM + tools + memory + stop conditions. Structured output/tool calls, evals before "multi-agent," failure modes I keep seeing in prod.
Video: https://www.youtube.com/watch?v=60Wx1A1tiuk
Before both: Andrej Karpathy's intro material still beats most paid courses for "how models fail." Watch that first if you are new.
What I would build first (exercise): one agent, three tools (search, calculator, read a local file). No crew, no swarm. Measure pass/fail on 10 fixed scenarios before adding RAG.
If you watch either video and get stuck on a step (parsing vs rerank vs tool schema), drop the timestamp and your doc type (PDF, PPTX, API JSON). I will reply with specifics.
Hope this helps people getting into the domain!
r/learnmachinelearning • u/Puzzleheaded_Mud_761 • 29d ago
r/learnmachinelearning • u/foolishpixel • 29d ago
I've been working on DecisionFormer, an open-source project that lets you convert regular LLMs into decision models that predict choices directly instead of generating text.
Thought it might be useful for people experimenting with decision models, model evaluation, or alternative approaches to inference.
Would be interested to hear what people think or what improvements would make it more useful!
r/learnmachinelearning • u/NoStock5873 • 29d ago
I'm in my 4th year of studying AI and Data Science, and I've been interested in astrophysics for a long time but didn't specialize in it, yet I still want to contribute to this field.
My question is, can I apply machine learning concepts to astrophysical problems in my current level? At my university we studied 2 years of preparatory courses in maths, calculus, physics, and some computer science and I only started delving into AI in my 3rd year, so my knowledge is limited in both AI and Astrophysics. I know the basics of AI/ML, namely CNNs, NLP, supervised and unsupervised learning...
I want to do interdisciplinary work with AI/ML in either astrophysics or medicine. I'm considering astrophysics for my Masters and plan to leave medicine for the future, when I'm a little more scientifically/academically mature, and perhaps make it a long-term career.
I understand astrophysics is not an easy discipline, but I will not be delving too deep into the theoretical concepts. I will mainly use AI/ML for things such as classification and read some literature on the current frontiers.
My question is: should I pursue this? Or is there something else that might interest me that I might not know about? How realistic is it for someone of my current level to learn valuable skills and expertise for such a project?
r/learnmachinelearning • u/Ok-Card6564 • 29d ago
r/learnmachinelearning • u/Gargabo • 29d ago
Hey everyone!
I've been learning Python and I'm really interested in getting into machine learning and deep learning. The problem is that whenever I try to figure out how to get started, I end up finding a huge amount of mathematics, statistics, linear algebra, calculus, and theory that I'm apparently supposed to learn first.
I understand that math is important if you want to properly understand how these models work, and I'm not trying to avoid learning it forever. However, I don't want to spend months studying theory before I can actually start building things and experimenting with code.
I'd much rather learn by doing projects, making mistakes, seeing what happens when I change something, and gradually learning the theory behind it as I need it.
Is it realistic to start building ML projects with Python while learning the math along the way?
How much math do I actually need to know before getting started with things like neural networks and deep learning?
Would you recommend starting with scikit-learn and traditional ML, or jumping straight into PyTorch or TensorFlow?
Are there any resources that teach you by making you build actual projects instead of spending most of the time on theory?
I'm not looking for a way to completely skip the fundamentals. I just want to avoid getting stuck in tutorial hell or spending so much time preparing to learn that I never actually get to build anything.
I'd really appreciate any advice, especially from people who learned this way themselves. Thanks!
r/learnmachinelearning • u/Salty_Lie_6840 • 29d ago
Hi everyone,
I’m a self-taught software engineer with a couple of years of industry experience. I was recently made redundant, so I have a good chunk of free time on my hands before I dive heavily back into the job hunt (which, honestly, feels a bit daunting right now).
Lately, I’ve become really interested in Machine Learning and want to start learning it. However, I’ve been reading a lot of discouraging posts lately. It seems like even people with CS Bachelor's degrees are struggling to land MLE roles because they are competing against a massive pool of Masters and PhD graduates.
Given that I don't have an academic background or official credentials in ML, am I wasting my time trying to break into this field?
I’m absolutely willing to put in the work to learn, but I want to be realistic about my employment prospects. For those working in the industry: is there a viable path for an experienced, self-taught dev to pivot into ML/AI roles, or should I focus my energy elsewhere?
Thanks in advance for any insights or brutal honesty.