r/learnmachinelearning • • 8h ago

RAG vs Agentic RAG

0 Upvotes

A RAG agent never sees the true answer in its knowledge base, only whatever retrieval returns. So it keeps a belief state and updates it with each retrieval. That's a POMDP.
Seen that way, the "advanced RAG" tricks (iterative retrieval, reflection, re-ranking) are all just ways to fix a belief built on noisy observations.
Wrote it up with a tiny worked example:

https://aisystemsnotes.substack.com/p/agentic-rag-isnt-just-rag-with-extra?r=94sr06&utm_medium=ios&shareImageVariant=template_blur

How do you think about what an agent is "doing" when it retrieves?


r/learnmachinelearning • • 8h ago

I just want to start a career in AI and I’m so fascinated by how the AI works,basically I’m a mechanical engineering graduate so I’m planning to learn AI ML so,it is bad choice or not can anyone give me insight??

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 9h ago

AI INFERENCE ENGINEERING FROM SCRATCH

1 Upvotes

Hello everyone I added 10 new chapters to https://ai-inference-engineering-from-scrat.vercel.app/


r/learnmachinelearning • • 10h ago

Just finished kaggle's intro to machine learning course and i have no idea what to do next ?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 14h ago

Project I built a scorecard framework from scratch — the kind of thing my old company paid a $100K/year license for

2 Upvotes

Hey all,

I have spent around 15 years working on scorecards in fintech and rating agencies. In regulated scoring (credit, healthcare, etc.), teams often rely on pricey enterprise tools - sometimes $100K/year licenses - that act like black boxes. Early on, I never liked having to just trust what was happening inside them.

Around 10 years ago I started building my own implementation from scratch as a side/open-source project, mostly to really understand the mechanics and make sure the process was reproducible and defensible. Once I mapped out all the rules needed for that, fitting the actual model turned out to be the easiest part.

One thing that helped me make sense of tabular risk modeling is treating a scorecard as a fixed sequence of states, where each step only runs once its prerequisite is recorded:

Raw -> Clean -> Stable -> Encoded -> ML-Ready -> Trained -> Tested -> Inference Ready

Two lessons from doing this that I think are super useful when learning ML:

  1. Check stability before training, not only after. A common habit is to train a model, check drift on a validation/holdout set, and then patch things. Screening features for stability over time before fitting drops fragile variables upfront, so you train on a steadier feature set instead of chasing drift later. That is a big reason models that look great in backtests struggle in production.
  2. Prevent data leakage through pipeline structure, not willpower. Fitting encoders, scalers, or binning on a full dataset before splitting quietly leaks test or future information. If each stage is locked and transforms are fit strictly on training data, frozen, and re-used consistently later, you prevent leakage structurally instead of relying on memory.

Something I wish I had internalized earlier: the estimator itself (Logistic Regression, ElasticNet, XGBoost, etc.) is mostly interchangeable via config. The real work is the pipeline around it—lineage, stability checks, frozen transforms, and being able to reproduce a run cleanly. Having strict state guarantees also makes it much safer if an automated workflow or agent triggers steps later, though the main goal is reliability and auditability.

Over time this grew into a project I called AIDflow. If you want to read through how the state stages and stability checks work, the docs are here: https://aidflow.aigensys.com (the core code was written by hand over the years, with only docstrings cleaned up via an LLM before publishing).

You do not need a finance background to follow the concepts—basic Python and curiosity is plenty. Curious how others here structure pipelines to avoid leakage and drift when learning or building tabular models.


r/learnmachinelearning • • 11h ago

how much rest do you guys take per week?

1 Upvotes

r/learnmachinelearning • • 16h ago

Request Looking for an AI/ML Interview Practice Partner

2 Upvotes

Hey everyone!

I'm looking for an interview partner to practice mock interviews and prepare for roles in AI Engineering, Machine Learning, and Data Science.

The idea is simple: we take turns interviewing each other, ask technical and scenario-based questions, discuss our answers, share feedback, and identify areas where we can improve.

I'm looking for someone who is equally serious about learning and improving. It would be a mutual effort where we both benefit and grow together.

If you're interested, feel free to DM me. Let's prepare together!


r/learnmachinelearning • • 13h ago

How would you check for leakage in a skin-image dataset when patient IDs are unverified?

1 Upvotes

I’m designing a final-year capstone experiment comparing ResNet50 and MobileNetV3-Large on the same binary skin-image classification task. The dataset comes with 3,915 files in train and 994 in test. We verified that every discovered path appears once in our inventory. We haven’t checked for duplicate image content or established whether several photos belong to the same patient.

My proposed order is to check exact duplicates across the supplied split, review candidate near-duplicates, and group related images wherever the available evidence supports it. I’d then reserve validation data from the eligible training files and use identical assignments for both models.

What evidence would make you keep the supplied test split, and what finding would make you rebuild it? If patient IDs remain unavailable, how would you describe the limits of the evaluation? I’d welcome examples from projects or papers where you faced this decision.


r/learnmachinelearning • • 10h ago

ML project suggestions

0 Upvotes

I'm planning to do my masters in machine learning abroad . I would like to do a project that would make my cv standout from others since I'm looking for a fully funded scholarships like DAAD,Erasmus mundus etc . Somebody who has done Good projects in ML can you suggest some?


r/learnmachinelearning • • 1d ago Bravo

Project I spent 2 days building interactive ML lessons where you can watch concepts move. Would love feedback

Post image
51 Upvotes

Formulas never clicked for me until I could see what was happening, so I made Stepwise ML: 118 short lessons where every idea is a diagram you can play with. Push the learning rate up and watch training fall apart, watch k-means find clusters, see attention decide what "bank" means.

Built it with Claude and checked the numbers in every lesson with Python. Free, no sign-up. What concept confused you the most? I'll add lessons for the top answers.

https://stepwiseml.com


r/learnmachinelearning • • 20h ago

Wordle For PyTorch - Daily Tensor Puzzles

Post image
2 Upvotes

Hello all!

I've just launched daily puzzles on tensor.golf !

Its a bit like Wordle, except your goal is to figure out how to transform a tensor into the goal configuration.

The more operations you write, the lower your score.

There's no prompt or hint, like wordle, you have to just figure it out.

Tensor Golf just launched a month ago and the reception has been great so far - Let me know what you think :)

Check it out at https://app.tensor.golf/daily


r/learnmachinelearning • • 16h ago

Im trying to get highlights from a soccer game for the selected player.

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 1d ago

Project Dec 10 - AI, ML and Computer Vision Meetup

Post image
6 Upvotes

Join us on Dec 10 for the AI, ML and Computer Vision virtual Meetup! Register for the Zoom.

Talks will include:

  • Your mAP is fine. Your slices are not. Finding the images that actually matter - Amandeep Jiddewar at Pinterest
  • Production AI Agents: Tool Use, Evaluation, Guardrails and Observability - Akshay Talathi at Goldman Sachs
  • From Virtual Worlds to Physical AI: Building Simulation Pipelines That Survive the Real World - Arturo Morales Rangel at Binary Core
  • Prompting Video-Language Models in Production: Lessons from Enterprise Video Tagging and Evaluation - Yash Gugale at TwelveLabs
  • Giving Physical AI a Voice with Deepgram - Dana Sacco at Deepgram

r/learnmachinelearning • • 18h ago

Career Where are freshers getting hired these days?

1 Upvotes

This question is more relevant to India because that's where I live, but open to all. Where are fresh graduates finding jobs these days? Which companies are hiring? Maybe some companies hire people to stitch RAG pipelines. But are any companies still hiring freshers for things like statistics and machine learning? 5 years ago every startup around the corner was hiring fresh data scientists in hordes, and from diverse educational backgrounds too. They were hiring physics, math and econ graduates too. I've worked in 3 companies in the past 4 years, and none of them hired any freshers when I was there, for any data science related roles. 2 of them did layoffs, terminations and restructurings. I was affected by one of them. My current company typically doesn't do layoffs but nobody has seen the future. They don't pay like big tech anyway, and I was totally lowballed, but I have 14 YOE so I can still land some jobs. But I don't see fresher hiring anywhere. Yeah I know IIT Bombay CSE grads still get hired at 3cr packages or whatever, but what about the world outside IITs. So where are you guys going? I am asking because as a senior I don't see anyone that I can train or mentor these days. Nobody even reports to me. So who will pick up the mantle after my generation? Am I working in a sunset occupation?


r/learnmachinelearning • • 19h ago

AI Engineer Interview Series | Part 04/10

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 1d ago

Research Paper reccomendation

11 Upvotes

Hi Guys

I am currently doing a job which is not centered around AI/ML which is what i want to work towards.

So I want to use the extra time I have to read atleast 2-3 research paper per week.

I dont know where to start. Suggest me where to start please :)

PDF would be nice as i can print those and read on my commute.


r/learnmachinelearning • • 2d ago

Discussion I built ml coding problems thinking beginners would use them. my most active user is an AI safety researcher

Post image
227 Upvotes

This project started as a private repo for myself. I made small problems where you implement ML algorithms from scratch, like attention, optimizers, backprop by hand, like leetcode for ML.
Once other people started using it, I assumed it would mostly be students trying to break into ML.

Surprisingly, the top ranked person on the site is an AI safety researcher. he's been on it since almost day one and is close to 1,000 problems now.

He's not the only one like that either. a lot of the people who stick around already work in ml, and they keep coming back to write things from scratch that they could import in one line.

I used to think these coding problems would mostly be useful for people trying to get into ML but seeing who actually sticks around has changed my mind quite a bit.

Edit: too many comments asking the name, it's called TensorTonic


r/learnmachinelearning • • 20h ago

Amazed how AI is going on a rapid development, how to get started for a beginner?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 22h ago

i need an experienced computer scientist to look at my project and if possible guide me toward the correct path

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 22h ago

Tutorial Audio Classification with BEST-RQ-2

Thumbnail
debuggercafe.com
1 Upvotes

Audio classification models are the silent gates in a lot of edge and handheld devices nowadays. Starting from wake word recognition in smartphones to predictive maintenance of machines by recognizing sounds that might lead to faults, audio classification models are more prominent than we think. In this article, we will try to tackle such a simple use case of audio classification with the BEST-RQ-2 model. Along with that, we will also cover the paper and model architecture briefly.


r/learnmachinelearning • • 22h ago

Request The missing SRE control plane: How to govern AI agent actions in production - InfoWorld

0 Upvotes

AI agents in production now chain tool calls autonomously — database writes, API calls, file deletions — without the kind of control-plane visibility SRE teams have had over human-driven deployments for years.

The gap that keeps coming up: agents act faster than any human review loop. A rogue agent's second action can land in under 50ms after the first. By then it has already written to a database, fired an external API call, or escalated its own permissions. The traditional circuit-breaker model assumes a human or a slow pipeline is in the loop. Neither is true for agentic workloads.

The SRE playbook has runbooks, rollback procedures, blast-radius limits on deploys. None of that maps cleanly to an agent that is making dozens of tool calls per second with no stable 'deployment unit' to roll back.

For teams running agents in production today: how are you actually bounding what an agent can do mid-run? Are you relying on prompt-level instructions, infrastructure-level controls, something else entirely — and what has broken down first?


r/learnmachinelearning • • 13h ago

Career Rate my resume

Post image
0 Upvotes

Hey man, going to start my internship at mastercard , please be honest about the review, what can I improve in


r/learnmachinelearning • • 10h ago

What programming language will power the first Artificial Superintelligence (ASI)?

0 Upvotes

What programming language will power the first Artificial Superintelligence (ASI)?

This is something I've been genuinely curious about.

We currently build AI systems using languages such as Python, C++, Rust and others. But if humanity eventually creates an Artificial Superintelligence that surpasses human intelligence across virtually every domain, will these languages still be sufficient?

A few questions I'd love to discuss:

Will Python, C++, Rust or another existing language be used to develop ASI?

Will a completely new programming language be required?

Could an advanced AI eventually develop its own language for reasoning, communication and self-improvement?

Will programming languages even matter if future intelligence can directly optimise its own architecture?

I'm particularly interested in hearing from AI researchers, software engineers, computer science students and people working in machine learning.

**What's your prediction? I'd love to hear technical explanations, not just guesses.


r/learnmachinelearning • • 23h ago

Help Seeking critical advice on improving a 3D U-Net for CT segmentation and anatomical reconstruction

1 Upvotes

I’m an undergraduate biology major who independently developed a deep learning model for automated CT scan segmentation and interactive 3D anatomical reconstruction. I’ve recently formed a multidisciplinary team to further develop the software for a university STEM pitch competition.

My current model uses PyTorch and MONAI, with a relatively lightweight 3D residual U-Net containing approximately 164,000 trainable parameters. It was trained using the TotalSegmentator dataset and currently targets 15 anatomical structures. The software also generates confidence maps, uncertainty maps, Grad-CAM visualizations, organ-specific Dice scores, volumetric measurements, and interactive 3D reconstructions.

The biggest issue I’m encountering is inconsistent segmentation accuracy and a lack of anatomical awareness. For example, one CT scan produced relatively recognizable lung and abdominal structures but incorrectly classified structures near the shoulders as hip bones. Another scan reconstructed the hips relatively well but struggled with several other anatomical structures.

I’m considering a hybrid approach that combines deep learning with classical machine learning, statistical analysis, and rule-based anatomical constraints to identify anatomically implausible predictions.

I’d genuinely appreciate some critical advice on the following:

What would you prioritize when improving this model’s accuracy and generalizability?

Would increasing model complexity, training data, or spatial resolution provide the greatest benefit?

Is a hybrid deep learning and classical ML approach worthwhile for anatomical quality control, or would it introduce unnecessary complexity?

How would you incorporate spatial and anatomical awareness into a 3D segmentation model, particularly when CT scans have different anatomical coverage?

What architectural changes, loss functions, preprocessing techniques, or training strategies would you recommend?

How would you design an independent validation pipeline to identify weaknesses and avoid data leakage?

Given established alternatives like TotalSegmentator and 3D Slicer, is there a meaningful niche for an accessible, explainable segmentation platform focused on education and research?

I’m not looking for praise or reassurance. I genuinely want constructive criticism, including fundamental flaws in my approach, things I’m overlooking, and whether certain aspects of the project are worth pursuing at all.

My background is primarily in biology rather than computer science, so I’m approaching this as both a software development project and a learning experience.