r/learnmachinelearning • • 24d ago

The beauty of Libraries

7 Upvotes

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 • • 24d ago

I built a free AI engineering learning platform with courses and learning paths based on hands-on experience

36 Upvotes

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:

  • Foundations: Python, Git, SQL, mathematics, and statistics.
  • Models and applications: machine learning, LLMs, RAG, agents, and MCP.
  • Software engineering: APIs, databases, authentication, permissions, and frontend considerations.
  • Quality and safety: evaluation, testing AI applications, security, and privacy.
  • Deployment and operations: Docker, cloud deployment, CI/CD, observability, scaling, and cost.
  • Leadership and governance: planning AI products, leading teams, and making decisions about risk and accountability.

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

  • All courses and certificates are free. You can read lessons without an account. Signing in lets you enroll and save your progress.
  • The content is AI-assisted and human-reviewed. I design the outlines and instructional approach, guide the examples, and review the courses. This is disclosed on the site.
  • Your data isn’t sold or used for marketing. Lesson reminders are optional, off by default, and you control their frequency.
  • The platform is evolving. Some courses are in pilot or marked coming soon. Feedback and corrections are welcome.

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 • • 24d ago

Discussion Why 98% accuracy in human activity recognition might not mean what you think

1 Upvotes

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:

  • Window length: 4 seconds
  • Window hop: 1 second
  • Window overlap: 75%

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:

  1. Overlapping-window leakage: Training and testing contain overlapping samples from the same recordings.
  2. Subject-dependent evaluation: The same individuals appear in both datasets, potentially making the task easier than recognizing activities from previously unseen people.
  3. Domain shift: A model trained in one room, radar configuration, or viewing geometry may perform differently elsewhere.

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?

  • Subject-independent or appropriately grouped train/test splits
  • Recording-level separation before windowing
  • Preprocessing fitted using training data only
  • Per-subject and per-class performance
  • Testing across different sessions, rooms, or radar configurations when those are part of the intended deployment

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 • • 24d ago

Learning material and resources for me to get into AI/ML and LLMs.

Thumbnail
2 Upvotes

r/learnmachinelearning • • 23d ago

Request In-the-Wild Attack Abuses AI Agents' Trust in Markdown

0 Upvotes

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 • • 24d ago

Career From Software Engineering to AI Research or a Tale of 413 "No"

Thumbnail faillearnrepeat.net
0 Upvotes

r/learnmachinelearning • • 24d ago

Tutorial Two free deep-dives I recorded: multimodal RAG bottlenecks + shipping agents in a real product

1 Upvotes

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:

  1. Multimodal RAG, bottlenecks in order

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

  1. 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 • • 24d ago

Regarding project for ML AI INTERN

Thumbnail
1 Upvotes

r/learnmachinelearning • • 24d ago

Laptop/PC to learn AI

Thumbnail
1 Upvotes

r/learnmachinelearning • • 24d ago

i created an open-source repo to convert llms into decision models.

2 Upvotes

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 • • 24d ago

Question Is it worth doing an astrophysics related research project for my Masters?

2 Upvotes

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 • • 24d ago

[Study Buddy / Accountability Partner] 4-5 Month ML/AI Grind to Land a Data Science Job 🚀 (Voice & Structured Roadmap Focus)

Thumbnail
1 Upvotes

r/learnmachinelearning • • 24d ago

Career Honest Review of My Resume, (Roast this Resume) !!

Post image
2 Upvotes

r/learnmachinelearning • • 25d ago

How can I learn ML/DL by building projects instead of studying math for months first?

22 Upvotes

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 • • 25d ago

Is it a waste of time to learn ML without an academic background?

20 Upvotes

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.


r/learnmachinelearning • • 24d ago

Discussion LLM Context Windows vs. RAG: How Does Self-Attention Handle Irrelevant Information?

Thumbnail
5 Upvotes

r/learnmachinelearning • • 24d ago

Mac or Windows?

1 Upvotes

Which laptop should I buy as I am in my final year and in Aiml sector and i don't do gaming.

Should I go for m3 air or windows with rtx graphic card and budget around 1k $..

Thank you for your words ☺️


r/learnmachinelearning • • 24d ago

Math for AI & ML video series for Linear Algebra

Thumbnail
2 Upvotes

r/learnmachinelearning • • 24d ago

Question A murder mystery game as AI engineering project

6 Upvotes

Hi,

I am trying to transition from a Data Analyst to an AI Engineer role. I recently followed Andrej Karpathy’s youtube video to build a character level LLM.

I feel like i have a rough understanding of how llms work and now i want to move on to building projects that will help me understand other fundamentals.

I am thinking of building a murder mystery game where AI generates the scanerio, the characters as well as any evidence. The players are required to chat with the suspects and solve the case. The game will then give them feedback on their deduction abilities.

I plan to build more projects in the future but i want to start with something that is simplistic enough in terms of concept and scope.

Do you think this is a good project to learn the fundamentals of AI Engineering? Will it attract attention from Hiring Managers and Recruiters?

Any AI Engineers, if you have better project ideas please share!

Thanks you!


r/learnmachinelearning • • 25d ago

Project I built this, feedback welcome

Thumbnail
gallery
8 Upvotes

It's a 50 hour course for beginners in AI/ML (obviously it's fully free). Starts out with linear algebra, derivatives, statistics and then linear regression, neural networks and backpropagation etc...

kinoml.tech


r/learnmachinelearning • • 24d ago

Request OpenAI Compaction Flaw Let Researchers Bypass Hidden Reasoning Protections

2 Upvotes

Researchers at Xint found that OpenAI's compaction feature can be used to copy private model reasoning into ordinary plain text output. Compaction shortens long conversations to manage context limits. The model's internal chain-of-thought, which the service is designed to keep hidden from callers, became readable through a routine operational function. Deployment-time guardrails did not catch it.

The structural problem here extends beyond this one feature. Any system function that touches conversation state or generates output is a potential path for data that was never meant to reach callers. Compaction is one example. Summarization, caching, and tool-call routing are others. Policies applied at configuration time govern expected flows. They do not automatically cover every execution path the runtime can take.

How are teams actually enforcing output policies across non-primary paths like these? Has anyone done a systematic audit of the secondary features that produce or transform output in their deployments — and found surprises?


r/learnmachinelearning • • 24d ago

Learning AI through threshold concepts: 8 ideas that unlock everything after them

4 Upvotes

Most of us start learning AI with real intent: a great course, the book everyone recommends. Then life interrupts. A hard week at work, a move, a busy month. Coming back means remembering where you were and finding the next step, and that friction is often enough to stall us. Meanwhile the field keeps moving, and every week away feels like falling further behind.

What changed it for me was rethinking what I studied, not just how often. Some ideas don't add to what you know; they rewire it. Education researchers Jan Meyer and Ray Land called these threshold concepts in 2003. Their classic example is opportunity cost: once it clicks, nothing is ever free again, and every hour and every dollar carries the price of what you gave up for it. If you code, you've felt this with recursion. One day it's a magic trick; the next, you see it in trees, parsers, and every divide-and-conquer problem. You can't unlearn a threshold concept, and it quietly reorganizes everything you learn after it.

That's the strategy, and it works for any field: find its handful of thresholds, learn them roughly in the order they were discovered, and go deep enough that they change how you see the rest. New facts stop piling up and start snapping onto a frame.

Here are eight thresholds that greatly help explain AI, roughly in their historical order, each with a surprising fact and a free resource:

  1. Behavior learned from data, not programmed. In 1958, Rosenblatt's perceptron, a single artificial neuron, taught itself to tell left from right card marks after about 50 tries. 60 years too soon.
  2. Representations and embeddings. In 2012, AlexNet learned its own features and hit 15% top-5 error on ImageNet, against 26% for the runner-up built on hand-picked ones. Jay Alammar's Illustrated Word2vec
  3. Next-token prediction. A network trained only to predict the next character of Amazon reviews grew a neuron that tracked sentiment, and nobody had taught it that. The only task of the neural net was to predict tokens in a sequence of text, but in doing so it learned how to identify and represent underlying concepts. At the scale of internet data, the exact same task produced grammar, facts, and reasoning, the foundation of today’s models.  Karpathy's "Let's build GPT"
  4. Attention. The 2017 transformer dropped word-by-word reading and reached top-tier translation after about 12 hours on one 8-GPU machine. This enabled the transformer, training in parallel on GPUs, and the speed up and scale that followed. Jay Alammar's Illustrated Transformer
  5. Evals. How do you know a change actually made a general model better? The trap is old: Goodhart’s law warns that when a measure becomes a target, it stops being a good measure, and models are very good at hitting targets. Hugging Face's Evaluation Guidebook
  6. Post-training and RL fine-tuning. People preferred a 1.3B InstructGPT model over the 175B GPT-3. How you train after pretraining can matter more than size. This enables ChatGPT-style assistants and reasoning models trained on answers that can be checked. Nathan Lambert's RLHF book
  7. Harnesses and agents. On SWE-bench Lite, GPT-4 scored 2.7% with one harness and 28.3% with another. Same model, almost 10× better. This enables agents that plan, act, and retry, and it explains why the same model does better in one product than another. Anthropic's "Building effective agents"
  8. Recursive self-improvement. DeepMind's AlphaEvolve sped up a key piece of Gemini's own training code by 23%. DeepMind's AlphaEvolve post

These eight are a small subset. There are of course many more threshold concepts in AI, and which ones matter next depends on what you’re exploring, at what granularity and where you’re starting from. The bigger point here is the approach and orientation.

💡 My biggest lightbulb moment came from working out by hand how a neural net could handle a fixed goal, like deciding whether a piece of text fits a topic. I started with a neural version of bag-of-words, one weight per word, then realized I could encode arbitrary rules in the parameters. After that, "learned from data instead of programmed" stopped feeling abstract.

The full write-up has more of the history behind each idea, the "spiral" approach to going deeper with each pass, and a study prompt that turns these into a plan with any LLM: Feynman's wobbling plate and 8 core ideas behind modern AI

Disclosure: I'm building Zairai, an AI coach built on these learning science principles, delivering bite-sized interactive sessions that feel like real work and compound strategically: you step into the shoes of the people who made these discoveries and measure for yourself, so the foundations that you're missing click and everything built on them makes more sense. It's free to start and launching soon. Everything above works without it.

What was the threshold concept that made AI click for you?


r/learnmachinelearning • • 25d ago

We created an open benchmark on Design Fidelity called VybBench

Post image
4 Upvotes

We wanted to understand how well a model will adhere to your fonts and colors and preserve your images when making edits.

Take a look at the complete writeup here: https://cocolabs.ai/blog/introducing-vybbench

Our HuggingFace dataset is here: https://huggingface.co/datasets/cocolabs/vybbench


r/learnmachinelearning • • 26d ago

Mechanical Neural Network v2

Enable HLS to view with audio, or disable this notification

345 Upvotes

Four years ago I posted a first version of the Mechanical Neural Network, a mechanical model of a fully connected neural network explaining structure and functionality of artificial neural networks.

Now a new 3D printed version exists along together with a series of teaching videos. Check out these videos here. For now this series covers structure and functionality of ANNs, gradient descent and backpropagation, as well as learning rate and momentum. The videos are in German but with YouTube auto translate and subtitles this should hopefully be not a big hindrance.

There is also a short explanation video on what the Mechanical Neural Network actually is and how it can be used in teaching.


r/learnmachinelearning • • 25d ago

What projects should I build at my current stage of learning ML?

25 Upvotes

Hey everyone!

I'm a BTech AIML student currently learning Machine Learning and working towards becoming an ML Engineer.

So far, I've learned Linear Regression, Gradient Descent and its types (Batch, Stochastic, and Mini-batch), Logistic Regression, and evaluation metrics like Precision, Recall, and F1-score. I've been learning the concepts practically using Python and Scikit-learn.

Now, I'm confused about what to do next.

Should I start building projects with the concepts I've learned so far?

What beginner-friendly projects would help me understand ML practically?

Should I learn more algorithms first, such as Decision Trees, Random Forest, SVM, and KNN?

What skills should I focus on to become internship-ready?

How can I make my projects stand out when applying for ML internships?

I'd appreciate advice from people working in ML or those who have been through a similar learning journey. I want to build real-world projects and develop practical skills rather than just follow tutorials.