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

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

Question 🧠 ELI5 Wednesday

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

Discussion IIIT ALLAHABAD ML endsem

Thumbnail
gallery
86 Upvotes

Saw someone from IIT Bombay post their ML endsem, and I had to post this. Yesterday we had our ML endsem.


r/learnmachinelearning • • 21h ago

Help IIT Bombay End Sem ML question paper.

Thumbnail
gallery
519 Upvotes

r/learnmachinelearning • • 5h ago

Coded a GPT2 Model using Python and Pytorch without Vibecoding

Post image
26 Upvotes

I have been building an LLM from scratch for learning purposes. Reading about transformers and LLMs never really scratched an itch that I have had. So, I started building one, without any vibe-coding. This is all "organic" code. With so much AI assisted coding, it is a nice change of pace.

The screenshot shows an output of a GPT2 model's output with an input prompt "I am hungry". The model has been pretrained on 20 public domain books for 10 epochs. It took around 50 minutes to train and the output looks quite real and non-giberish, right? Very iInteresting

Shout out to, Sebastian Raschka, PhD, as his resources really helped clear up things. Maybe later, I'll share a more in-depth idea about what I learned.

Link to the notebook : https://www.kaggle.com/code/sakibbai/building-a-basic-gpt2-from-scratch


r/learnmachinelearning • • 3h ago

Help Python dev with 6 years of experience transitioning to AI Engineering, what would you prioritize?

2 Upvotes

Hi everyone! This is my first post on Reddit.

I've been a software developer for 6 years, mostly working with Python, and I'm trying to transition into AI Engineering. The problem is that I feel pretty lost: every piece of content I find recommends a different path ("learn this", "learn that"), and it's hard to tell what actually matters.

So I'd love to hear from people who have made this transition or already work in the field:

  1. Given my Python background, what would you study first?
  2. How much of the fundamentals (math, classical ML) do you really need as an AI Engineer, compared to focusing directly on LLMs, RAG and agents?
  3. What kind of projects would you recommend to build a portfolio that stands out?
  4. Was there any course, book or resource that made a real difference for you?

Thank You Guys to help me, i'm realy lost


r/learnmachinelearning • • 9h ago

Help Guidance for 2nd year CSE-AIML student

6 Upvotes

Completed 3rd sem and I want to start AIML from now onwards . Its not like I want to complete it in 30 days that ik, is not possible. I just want to start early . I dont have any idea which course or whats the pathway to start honestly. It will be great if you help me with this. I have done python basics already ( except library and file handling ).please help me with this


r/learnmachinelearning • • 34m ago

MLE interview for Google

1 Upvotes

Hello Everyone,

I have been working in fields related to data for the past 4 years now. I have worked as Data Analyst, Data Engineer and MLE. Recently I was shortlisted for MLE interview at Google and I have my phone screening coming up in a few days.

I have been practicing Leetcode problems but nothing much on ML apart from the basic concepts. It will be great if someone who has some experience can help me with the preparation or any specific questions that might be asked for "Applied AI" specialisation.

Thanks in Advance!


r/learnmachinelearning • • 34m ago

Request Short Survey (3–5 min): Understanding ML/LLM Monitoring and Debugging Experiences

1 Upvotes

Hey everyone!

I'm conducting a small academic research survey to understand how developers, students and researchers currently monitor and debug their Machine Learning and LLM workloads.

I'm particularly interested in the challenges people face when investigating training/inference performance, hardware utilization, memory bottlenecks and model-level behaviour.

The survey takes around 3–5 minutes, and your responses will help inform the design of a developer-focused monitoring and diagnostic dashboard.

Whether you're an ML engineer, researcher, student or someone experimenting with Transformers and LLMs, your experience would be valuable.

Participation is voluntary, and I'm not collecting names or email addresses.

Survey link: https://forms.gle/aRBBX8H3NEZtACXS9

Thanks a lot for helping out! I really appreciate it.


r/learnmachinelearning • • 37m ago

Request Your coding agent trusts the repo, and the repo is the attack

1 Upvotes

Coding agents inherit trust from whatever context they're given. That includes the repo.

In a two-month incident review, we saw this pattern twice: malicious instructions embedded in a codebase or dependency coax a coding agent into executing an action the developer never sanctioned. The agent reads the content, treats it as legitimate context, and acts — committing code, triggering a deploy, or exfiltrating data. The model isn't malfunctioning. It's doing exactly what it was trained to do with the input it received.

The attack surface is quietly large. Any file the agent reads during a task — a README, a config, a third-party module, an inline comment — is a potential injection point. The agent has no way to distinguish 'this is a legitimate instruction from a maintainer' from 'this was planted by someone who got a commit into this dependency.'

Two confirmed incidents in sixty days is a small sample, but it's also two more than most teams are tracking, because most toolchains have no visibility into what an agent actually did versus what a developer intended.

For those running coding agents in production or CI environments: how are you handling the boundary between what the agent is allowed to read and what it's allowed to act on? Is the control at the prompt level, the tool level, somewhere else, or not yet solved?


r/learnmachinelearning • • 1h ago

Recommend me best beginner friendly project for Machine Learning !!

1 Upvotes

Currently I know numpy, panda, mathplotlib, sckit learn and somewhat pytorch

I'm thinking for building Heart Disease Prediction Model


r/learnmachinelearning • • 1h 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 • • 1h 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
1 Upvotes

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

how much rest do you guys take per week?

1 Upvotes

r/learnmachinelearning • • 4h ago

Help me I don't know what happen but My LSTM get worse in val after training more : (

Post image
1 Upvotes
# HYPERPARAMETERS


## Size configs
T = 64 # context window
E = 128 # Embading dim
B = 128 # Batch Size


H = 256 # Hidden size
# chnage this to 256


DROPOUT_P = 0.2



## loder
NUM_WORKERS = 2


## Training configs


LR = 1e-3
SCHEDULER = {
    "milestones": [20],
    "gamma" : 0.1
}


EPOCHS = 10


loss_fn  = nn.CrossEntropyLoss()

r/learnmachinelearning • • 11h ago

Career Where are freshers getting hired these days?

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

Stuck on EDA

1 Upvotes

I'm currently stuck on eda part of a nasa EV battery health dataset, i can understand and perform eda on smaller and simpler datasets, but in a bigger dataset when the variables are kind of complex, I find it confusing, I don't want it to be just finding missing values, outliers, and random plots, how do I understand whats actually needed, observe, handle suspicious values and finally perform eda on big datasets on my own?


r/learnmachinelearning • • 6h 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.