r/learnmachinelearning • • 14h ago

Discussion 3 evaluation mistakes that made my ML & LLM projects look 95%+ accurate when they were actually failing šŸš€

1 Upvotes

Hey everyone! While building and testing ML models and LLM pipelines over the past few months, I noticed that the hardest bugs weren't syntax errors—they were evaluation mistakes that made a weak pipeline look great on paper.

Here are 3 evaluation traps that caught me (and how to fix them):

šŸ“Š **1. Naive random splits on templated or grouped data**

🧪 **2. Tuning prompts or hyperparameters on the test set**

šŸ› ļø **3. Trusting surface-level keyword graders**

**Question for the community:** What was the sneakiest data-leakage or evaluation bug you ever caught in one of your ML or LLM projects?


r/learnmachinelearning • • 14h ago

Can someone get me access to these datasets?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 15h ago

I trained a couple of machine learning models to recognize fruits

Thumbnail
fruitlens.app
1 Upvotes

r/learnmachinelearning • • 10h ago

Question How do I

0 Upvotes

So Important stuff first
I’ve never coded or said hello world to a computer before. I am not trying to make this an income opportunity(I can’t, my certificates wouldn’t allow me to ) I just wanna know what steps I should take or shouldn’t
Do I have to understand maths in order to understand machine learning
ChatGPT said yes , just wanted to see what you guys think about it and do let me know what coding language should I start learning


r/learnmachinelearning • • 16h ago

PatentAgentBench: The same model’s prior-art recall ranged from 7.7% to 55.0% across agent harnesses

1 Upvotes

I’m part of the PatSnap team behind PatentAgentBench. We wanted to see how well LLM agents could find and use evidence in patent work when they had to run the search themselves.

We evaluated 27 model–harness pairs across 510 cases drawn from real patent records and professional materials. The eight task suites cover prior-art and freedom-to-operate searches, claim charting, drafting, office-action responses, and translation. On search tasks, agents had access to a commercial patent-search service via MCP and generated their own candidate lists.

Three results stood out.

  • The harness ranking changed with the task. Claude Opus 5 recovered 7.7% of annotated invalidity references with OpenClaw, 28.7% with Claude Code, and 55.0% with Hermes. On patent drafting, the same model had a higher pass rate with Claude Code than with Hermes (66.7% vs. 53.3%).
  • Finding one relevant reference was much easier than finding the full set. On novelty search, GLM-5.3 with Codex found at least one annotated patent family in the top 100 for 86.3% of cases. Its average recall across those cases was 42.3%.
  • Few office-action responses passed. The strongest configuration, GPT-5.6-Sol with Hermes, passed 9 of 40 cases. A response passed if it scored at least 80/100 under an expert-designed rubric applied by an LLM judge.

The highest overall score was 38.4/100 for Claude Opus 5 with Hermes. That score gives equal weight to the eight task-specific metrics. Failed executions count as zero in the primary results.

For a follow-up, I’d run the same cases twice: once with agents retrieving their own candidates and once with every agent receiving the same candidate set. What else would you hold fixed across harnesses to separate retrieval failures from failures to use the evidence?

Paper Ā· GitHub Ā· Datasets Ā· Benchmark and leaderboard


r/learnmachinelearning • • 16h ago

Check for RAG

Thumbnail
substack.com
1 Upvotes

r/learnmachinelearning • • 17h ago

Help Mathematics MSc graduate looking to transition into ML/AI research and pursue a PhD abroad. Need genuine advice

1 Upvotes

Hi everyone,

I recently completed my MSc in Mathematics, and I'm considering transitioning from pure mathematics towards Machine Learning/AI, particularly the mathematical side of ML. I'm interested in areas like mathematical ML, deep learning, optimization, and statistical learning.

My long-term goal is to pursue a fully funded PhD abroad, but I also want to keep both academia and industry open as career options afterward.

I'm confused about how to approach this transition efficiently. Should I focus on learning ML fundamentals, Python and building projects first, or try to get involved in research as early as possible? Would taking a research assistant/project position in India before applying for PhDs abroad be a good idea?

I'd really appreciate advice from people who have actually made a similar transition from mathematics to ML/AI research, especially those who went on to pursue a PhD or work in industry. What did your journey look like, what skills did you prioritize, and what would you do differently if you were starting again?

I'm looking for honest, practical advice rather than a list of courses. Thanks!


r/learnmachinelearning • • 18h ago

Silent failure modes in multi-step AI agents

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 1d ago

Question Starting out with AI/ML tbh have no idea where to start from

4 Upvotes

I feel so overwhelmed seeing everyone making crazy projects meanwhile i don't even know where to even start from, i know python but idk the exact flow of topics or learn or follow so like can anyone tell me what all should I follow to make cool projects like everyone out here. 😭


r/learnmachinelearning • • 18h ago

Where can I find high-quality research papers on Machine Learning, AI, and Computer Vision as an undergraduate student?

0 Upvotes

Hi everyone!

I'm currently a third-year Computer Science Engineering student, and I'm interested in exploring research in Machine Learning, Artificial Intelligence, and Computer Vision.

I'd like to start reading actual research papers published by reputable researchers and institutions, rather than just tutorials, blogs, or beginner-friendly articles.

I'm looking for recommendations on:

  1. Websites or databases where I can find high-quality, peer-reviewed research papers.
  2. Good conferences and journals to follow in ML, AI, and Computer Vision.
  3. Recommendations for interesting or influential papers that would be a good starting point for an undergraduate student.
  4. Communities or platforms where I can connect with researchers and learn about ongoing research.

My long-term goal is to develop a deeper understanding of the field and eventually explore doing research myself.

I'd really appreciate recommendations from PhD students, researchers, professors, or anyone working in these areas.

Thank you!


r/learnmachinelearning • • 19h ago

Building a parasite dataset from scratch: Instagram hashtags, dancing memes, and ditching CVAT for a Flash 5-inspired tool [Build in Public #2]

Thumbnail gallery
0 Upvotes

r/learnmachinelearning • • 19h ago

I made a tiny neuron that runs in 12 instructions on RISC-V chips. - paper discussion

1 Upvotes

I've been messing around with a way to let small chips make quick decisions without waking everything up. It's a leaky integrate-and-fire neuron: it watches a signal and only fires when something has really changed.

The fun part is that it's the same maths as CUSUM, so you can predict the false-alarm rate and delay instead of guessing a threshold. On RISC-V it takes 12 instructions and 34 bytes using one mulhsu. On chips with no multiplier, a shift-based version takes the same 12.

Heads up: all of this is from simulation and an emulator. I haven't measured power on real chips yet, so I'm not claiming anything about energy.

Code and paper: https://github.com/irfanmuhammedharis/leaky-integrate-and-fire

Paper prepared with help of claude


r/learnmachinelearning • • 19h ago

PINN for Aircraft Performance Prediction and System Identification

1 Upvotes

Hello guys, I am developing a hybrid method (PINN & Output Error Method) for aircraft (UAV) TakeOff Performance Prediction and Physics Discovery. More specific for the ground roll.

I don't model the roll of the aircraft, but I assume that the Lift Off happens at the time the Lift is equal to the Weight.

At the moment, PINN works on synthetic data with gaussian noice, real data from real flight takeoffs is the next step.

Whoever has the time to comment on my work will be appreciated. Thanks!

I uploaded my GitHub repo.

https://github.com/xristosr2002-hue/PINN--Vakoulis


r/learnmachinelearning • • 20h ago

Free beta: read my book on designing and operating production AI systems

1 Upvotes

I'm opening a private beta for my book on designing and operating production AI systems, and I'm looking for engineers to read it before it ships.

It covers what sits around the model: how state, latency, cost and failure modes connect once a system runs in production.

What's inside:

  • Reliability, latency and cost as one architecture problem
  • Long-running agents with durable state, observable decisions and clear human authority
  • How retrieval, memory, context and fine-tuning fit together
  • Evaluation, security, tools and multi-agent coordination
  • Failure analysis and reference blueprints that connect the parts

It's written for senior engineers, architects and technical leaders who build and operate these systems.

The beta is selective: I'm choosing readers by role and by what they build. Readers who join can open all 20 chapters, read as much as suits them, and give feedback privately.

If that's your work and you'd like to read it, comment "beta" and I'll send you the details.


r/learnmachinelearning • • 21h ago

Designing an enterprise ML training platform, then mapping it to real tools

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 21h ago

Project I've developed an experimental self-learning LLM called LuLu, built around LFM3-1.7B.

Post image
0 Upvotes

I've developed an experimental self-learning LLM called LuLu, built around LFM3-1.7B.

Architecture

LuLu uses an architecture inspired by Side-Tuning. The base model's weights remain frozen.

During conversations, the model determines whether an interaction contains information worth learning. If it decides to learn, it updates a small auxiliary output layer.

During subsequent inference, when the current input is relevant to previously learned information, the auxiliary layer is combined with the original output layer to adjust the next-token logits.

This allows the model to incorporate information from previous interactions without directly modifying the base model's weights.

Why I built it

I wanted to experiment with a way for a relatively small language model to adapt through conversations without continuously fine-tuning the entire base model.

Technical details

I've written a more detailed explanation of the architecture and implementation on Qiita. The article is in Japanese:

Qiita

LuLu is still experimental. I'm particularly interested in the stability of this kind of self-directed learning and how auxiliary output layers can affect the base model's behavior.

I'd appreciate technical feedback and discussion!


r/learnmachinelearning • • 1d ago

How recommendation systems learn user preferences: from collaborative filtering to multi-interest models

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 1d ago

Project I made a free, no-signup set of 48 short lessons for learning RAG by building one

2 Upvotes

I kept seeing people learn RAG from long docs and videos, then get stuck the moment they tried to build something. So I made LearnGenAI, which is closer to Duolingo than a lecture.

You go through short cards, one idea at a time, with instant feedback. There are 48 lessons, and most are only 2 to 4 cards. Across them you actually build a handbook search bot: chunking, embeddings, hybrid search (BM25 + RRF), reranking, citations, query rewrite, and evals (context precision, recall, and when the bot should say it doesnt know).

The exercises run on real retrieval code, so tuning top-K changes the scores you see. Interview-style questions come back after 1, 3, 7, 14 and 30 days so they stick. You can also earn XP and keep a streak.

Its free and you dont need an account: https://www.learngenai.space/

If you try a lesson, tell me what felt confusing. Thats what I want to fix next.


r/learnmachinelearning • • 16h ago

DEEP_RETINA_CAPSTONE_PROJECT_SR_UNIVERSIRT

0 Upvotes

🩺 What if an AI eye-screening tool knew when NOT to trust itself?

We built DeepRetina-QA at u/SRUniversity for our capstone—a 3-stage quality-aware pipeline for diabetic retinopathy: šŸ”¹ MobileNetV2 filters out blurry/poor scans šŸ”¹ EfficientNet-B3 grades 5 severity levels (APTOS 2019) šŸ”¹ Monte Carlo Dropout flags low-confidence cases for specialist review

Early 13-epoch run: 66.5% train / 56.7% val accuracy (mild overfitting—QWK, F1 & calibration up next). In healthcare AI, knowing when to defer matters as much as accuracy.

Huge thanks to guide Mr. Bediga Sharan & School of CS & AI! Team: V. Preetham, CH. Bhanu Prakash, M. Rushikesh, S. Akshith Reddy, R.S.S. Gourishwar.

How would you set the threshold for "I'm not sure"? šŸ‘‡

#DeepLearning #HealthcareAI #MedicalImaging #ComputerVision #ResponsibleAI #SRUniversity


r/learnmachinelearning • • 1d ago

Help Completed Andrew Ng's ML Course 1, but I don't feel confident about implementing anything independently. Need some guidance.

31 Upvotes

Hey everyone!

I'm currently pursuing an Integrated MSc in Mathematics, and my long-term goal is to become a Machine Learning Engineer.

I've been learning ML for a while now, and I wanted to get some advice from people who are more experienced in this field.

Here's where I currently stand.

What I've learned so far:

I've covered the basics of Python for Data Science, including:

  • NumPy
  • Pandas
  • Matplotlib
  • Seaborn

I learned these through the Udemy course Python for Machine Learning & Data Science Masterclass by Jose Portilla.

After that, I started Andrew Ng's Machine Learning Specialization on Coursera. I've successfully completed Course 1 out of 3 (Supervised Machine Learning: Regression and Classification).

The topics I've covered include Linear Regression, Multiple Linear Regression, Gradient Descent, Vectorization, Feature Scaling, Feature Engineering, Polynomial Regression, Logistic Regression, Cost Functions, Regularization and Overfitting.

I really enjoyed Andrew Ng's explanations. The mathematical intuition and theory were interesting, and I feel like I have a reasonable understanding of the concepts.

But here's where I'm struggling.

Despite completing Course 1, I don't feel confident about implementing these algorithms independently.

The course has programming assignments and optional labs where we're expected to go through the provided Jupyter notebooks, understand the existing code, fill in missing sections and execute everything.

I find this somewhat difficult because the way I learned Python and NumPy is quite different from the coding style used in those notebooks.

Sometimes I understand what the algorithm is doing mathematically, but translating that understanding into actual code is where I get stuck.

I haven't really tried implementing an entire ML algorithm from scratch independently yet.

And honestly, I don't want to keep completing courses without being able to implement what I've learned.

Here's the approach I'm planning to follow.

After discussing this with a few AI tools and considering different suggestions, I've decided to postpone Course 2 temporarily and properly revisit Course 1.

My current plan is:

  1. Rewatch the lectures and understand the theory, mathematics and intuition behind each topic.
  2. Understand how and why each algorithm works, rather than memorising formulas.
  3. Try implementing the algorithms independently using NumPy, writing the code myself instead of copying existing implementations.
  4. Once I've implemented them using NumPy, learn the corresponding scikit-learn implementation.
  5. Compare the results from my NumPy implementation with scikit-learn and investigate any differences.

For example, I'll implement Linear Regression, including its cost function and gradient descent, using NumPy first. Then I'll perform the same task using scikit-learn and compare the results.

My thinking is that if I can independently implement an algorithm and understand why both implementations produce their respective results, I'll have a much better understanding of what I've learned.

My December plan (December 1–21):

I have these three weeks available, and I want to use them to:

  • Revise all the topics from Andrew Ng's Course 1.
  • Strengthen my understanding of the mathematics and theory.
  • Implement the algorithms independently using NumPy.
  • Learn scikit-learn and compare implementations.
  • Revise NumPy, Pandas, Matplotlib and Seaborn.
  • Build 1–2 small projects to apply what I've learned.

I haven't learned scikit-learn yet. The Udemy course I mentioned earlier has dedicated lectures on scikit-learn and ML implementations.

For those familiar with that course, are its scikit-learn lectures sufficient for a beginner? If not, please suggest some good FREE, preferably YouTube-based resources to learn scikit-learn.

A few questions I'd really appreciate your opinions on:

  1. Is my NumPy → scikit-learn → comparison approach actually a good way to learn ML?
  2. Is implementing algorithms from scratch really necessary for someone aiming to become an ML Engineer?
  3. How do you approach learning a new ML algorithm? Do you first understand the theory and then code, or follow an implementation alongside a tutorial?
  4. How much mathematics should I understand before moving towards practical implementation?
  5. What are some good free resources (preferably video-based) to understand ML implementations in depth?
  6. What should I learn after completing Andrew Ng's Machine Learning Specialization?
  7. When should I start building projects, and what kind of projects would genuinely demonstrate my understanding?
  8. How important are GitHub projects, internships, open-source contributions and Kaggle competitions when applying for ML Engineer roles?
  9. What skills, apart from ML algorithms, should I gradually develop to become a good ML Engineer?
  10. What does an actual day-to-day job of a Machine Learning Engineer involve? How different is it from what we learn in courses?
  11. What mistakes should beginners avoid when learning ML?
  12. If you were starting your ML journey again today, what would your learning roadmap look like?

I'd especially love to hear from people currently working as Machine Learning Engineers. I want to understand what skills actually matter in the industry and how I should prepare myself from the beginning.

I'm not looking for shortcuts or a quick roadmap to get a job. I genuinely want to develop a strong foundation and become good at implementing, understanding and eventually building ML systems.

Any honest feedback, criticism, resource recommendations or personal experiences would be really helpful.

Thanks!


r/learnmachinelearning • • 1d ago

Project I’m teaching myself language models by building a tiny character model

1 Upvotes

I’m a beginner learning how text models work, and I’ve been building a small Python project alongside the lessons. So far it goes from character IDs and next-character examples to a count-based model that uses a short context to generate text.

It’s very small and the generated text is rough, but seeing how changing the context changes the predictions has helped the ideas click for me. I’m planning the next lessons now and would appreciate advice from people who learned this material: what concept would make the best next step after a simple n-gram/counting model?

Repo: https://github.com/Sasen12/before-lecture-one-tiny-character-model

I’m documenting the learning process here too: https://www.youtube.com/channel/UCWMERaecgKZmrqPUHLqWuow


r/learnmachinelearning • • 1d ago

Campusx

1 Upvotes

Can anyone send me the telegram link for dsamp 1.0 course

-- I need to revise some topics from him, so i can't buy the course again


r/learnmachinelearning • • 1d ago

Hey there! I want to start learning Machine Learning from begineer, How about following Stanford CS229: Machine Learning by Anand Avati?

Thumbnail
youtube.com
0 Upvotes

r/learnmachinelearning • • 1d ago

Request Drupal Flaw Found by Anthropic Scanner Exploited in Attacks

1 Upvotes

An Anthropic-built scanner identified a vulnerability in Drupal. Then that vulnerability was exploited in live attacks anyway.

The discovery-to-exploitation gap is a known problem. What gets less attention is what AI scanning agents actually do while they run. These tools need broad access to find what they're looking for. Some need to touch production systems to confirm exploitability. The scanner that found this flaw had enough access to identify it — which means it had enough access to interact with the affected surface in ways the organization may not have fully inventoried.

Security teams are deploying AI agents faster than they're defining what those agents are permitted to do. Credentials scope the account. Nothing scopes the agent's actions within that account. When a scan runs, there is often no durable, independent record of exactly what the agent touched, in what order, and what it attempted beyond its logged output.

The flaw was found. The flaw was later exploited. Everything in between — what the agent did, what it accessed, what it left behind — is the part of this story that isn't in the headline.

How are you handling this in practice? Do your AI security tooling operate under any defined per-action scope, or is access control handled entirely at the credential layer — and has that been enough?