r/learnmachinelearning • • 3h ago

Question Is machine learning THAT math heavy? Or am I just too naive? (Question related to recent ML test papers)

3 Upvotes

I wanted to learn machine learning cuz I found the idea of it interesting. My initial thoughts regarding machine learning was "why do the numbers make this output" and so I started learning through YT and Coursera.

I learnt how to use scikit learn, the various models, data cleaning, EDA etc... but there's been a few posts about Machine Learning papers from IIT or IIIT etc. and when I look at them, I feel like I'm very behind or just dumb straight up.

If I seriously wanted to pursue learning machine learning, what should be the ideal way? Or are the test papers displayed in those post "over exaggerated"?


r/learnmachinelearning • • 3h ago

ML paper in tier 3 college

Thumbnail
gallery
20 Upvotes

r/learnmachinelearning • • 16h ago

Project My Chess GPT can finally beat me 🥲

6 Upvotes

Im 1300 to 1450 on chess.com, so I like to think I’m decent. Bittersweet to lose to my baby. Version 1 was trained on the GPT-2 architecture but with chess data.

Version 2, the one you see, was trained with a more modern architecture similar to LLAMA. It’s 80 million parameters. I trained this for 10 hours on an A100 on 2 billion tokens of chess games I got from lichess that were heavily filtered for quality.

I didn’t do a traditional chessbot with MCTS or alpha beta pruning because I wanted a project that would give me experience with LLMs but be computationally feasible at a small scale. Also, some emergent properties only appear on larger LLMs, but making this so hyper specific allows me to try them on this smaller scale.

I want to try improving it with self play RL. Do some interpretability work. I think I could do some interesting CoT/test-time compute work to improve the bot further. I don’t think CoT would add much performance wise on an 80 million parameter LLM trained on text instead of chess tokens, hence another reason for this project.

I need to go study some RL and interpretability next for all of this. If anyone has ideas for other cool/interesting work I can do on this beyond interpretability, self play rl, and chain of thought, please let me know!!


r/learnmachinelearning • • 3h ago

Which one should I learn, LangChain or LangGraph, according to the industry standards? I want to learn only one.

2 Upvotes

r/learnmachinelearning • • 17h ago

I created a free 100-question AI fundamentals quiz

Post image
2 Upvotes

I put together a free quiz for anyone looking to test their AI knowledge.

It contains 100 questions covering 10 domains, including machine learning, deep learning, transformers, LLMs, generative AI, RAG, AI security and model evaluation.

Each question includes an explanation to help you learn along the way.

Take the quiz for free

I'd love to hear your feedback and how you scored!


r/learnmachinelearning • • 5h ago

Discussion Financial Pandit, Part 2 — What happens after you upload a bank statement?

Thumbnail
reddit.com
0 Upvotes

r/learnmachinelearning • • 16h ago

Project [P] The detection rule memorized the test: held-out evaluation of LLM agents writing security rules

Post image
0 Upvotes

I evaluated four ways of getting an LLM to write SIEM detection rules (Sigma), graded only on held-out events the model never saw:

Method (gpt-4.1-mini, 75 runs each)Passed
Naive prompt0/75
Prompt + schema/rules/benign samples7/75
+ one compile-fix retry10/75
Tool-calling test-and-revise agent40/75

Agent vs each baseline: Fisher exact p < 0.001. On gpt-4.1 (separate, earlier held-out set, 25 runs each) the context baseline got 14/25 and the agent 17/25, not significant (p ≈ 0.56).

Eval lessons that I think generalize:

  1. Per-event feedback teaches memorization. The agent patched a missed role name into its regex: 5/5 clean on the visible set, 0/5 on held-out. Splitting the practice set into visible (per-event) and hidden (counts only) removed the payoff.
  2. Prompts don't enforce workflow. gpt-4.1 skipped validation in 11/25 runs. The harness now decides when the agent is done and submits the best tested rule, not the last.
  3. Held-out sets go stale once you read their failures. I retired and rewrote mine 5 times.
  4. Grade behavior, and check what replay ignores. None of 102 passing rules carried ATT&CK tags; the harness now normalizes metadata and the gate checks it (re-grading 400 stored rules changed no verdict).

Limits: synthetic, small corpus (38 events/scenario), one model family.

Code and raw per-run results: https://github.com/ramaswaa/sigmaseal Walkthrough: https://ramaswaa.github.io/sigmaseal/article/


r/learnmachinelearning • • 20h ago

Self Attention Mechanism Course

0 Upvotes

Hey, with some friends we developed a course to teach self-attention mechanisms for LLMs in a browser. This is for a uni class where we study peoples use of AI helpers during learning. It's all anonymous and no data will be kept once we finish the study (end of December).

If this interests you, feel free to participate ! It's about 30-40 min and there's a cute dog 🐶 to keep you company while you complete the exercises. Also if you guys have any feedback, feel free to put it in the feedback section at the end or the comments !

https://attentionseeker-education.vercel.app


r/learnmachinelearning • • 23h ago

Learning RAG: what should I get right first, chunking, embeddings or retrieval evaluation?

0 Upvotes

I'm a student learning Retrieval-Augmented Generation. I understand the basic flow: split documents into chunks, embed them, store in a vector database, retrieve the top results, and pass them to an LLM. Where I'm unsure is what matters most in practice. How do you choose chunk size? When is a hybrid of keyword and vector search worth it? And how do you check that retrieval is actually good before blaming the LLM? Any beginner-friendly resources or small project ideas would help.


r/learnmachinelearning • • 3h ago

Which one should I learn, LangChain or LangGraph, according to the industry standards? I want to learn only one.

4 Upvotes

r/learnmachinelearning • • 9h ago

Help ml noob here

1 Upvotes

created basic models as i progress through my learning on ml.. but i saw videos on quant model developing using numpy and all.. so are they good for basic projects or if i learn correctly and progress so much, can i make good project out of it for cv smthng


r/learnmachinelearning • • 15h ago

Project well im tryng to do something, but idk

Thumbnail ifl-research.vercel.app
1 Upvotes

r/learnmachinelearning • • 19h ago

I made a free site for practicing how AI systems are designed, with no model training involved

1 Upvotes

I made fix-the-pipeline for people who want to learn the engineering around language models: caching, cost, choosing a model, context, retrieval and evals. This isn't ML theory, and you won't train anything.

It works like LeetCode. You get a small AI system with one thing wrong, its rules and prices stated. You pick an answer, work out a number, arrange pieces, edit a settings file or write Python. A wrong pick on an easier multiple choice problem tells you why it's wrong.

There's a two-minute tutorial, then five problems that climb from Easy 1 to Medium 6. The first ones ask things like where a cached prompt should end and what one request costs. No account needed for those: https://fixthepipeline.dev/start-here

It's free and most problems need no API key. It's early, so I'd like to know where you got stuck, especially if you're new to this.


r/learnmachinelearning • • 5h ago

Discussion IIT Patna ML midsem paper

Thumbnail
gallery
66 Upvotes

Saw some clgs sharing their ML qn papers so here is iitp's . Avg was 15ish/60 on this paper. So our prof decided to give an easier paper for endsem. Rate or roast this question paper


r/learnmachinelearning • • 1h ago

Question Is maths important to learn ML?

3 Upvotes

r/learnmachinelearning • • 9h ago

Free notes for AI engineers: revise or learn Generative AI and Agentic AI with diagrams and code

4 Upvotes

If you are learning to become an AI engineer, or you already are one and want a quick way to revise, these notes are for you.

Every lesson starts with a simple diagram of the idea, then plain words, then the code. So you can understand a topic fast, or refresh it before an interview or a project.

Covers:

- LLM basics and tool calling

- RAG: from a PDF to an answer

- Agents: state, loops, memory, human approval

and many more

Each topic has runnable code on free API keys.

Notes: https://genai-notes.vercel.app

Code: https://github.com/dhruv608/genai-notes

Which topic do you find hardest to revise? I will add a clearer explanation.

More lessons are coming (GraphRAG, advanced agents and more). ⭐ Star the repo to keep it for revision and to get the updates.


r/learnmachinelearning • • 18h ago

Help MNIST training time optimization, please help

6 Upvotes

Hey there, my long term goal is to make a OCR and i have started ML a few months back, 3 days ago i started to make a CNN for the MNIST data set (60k training images and 10k test images) i achieved an accuracy of 92.20% but i was using stochastic gradient descent for every single image (60k x 3 epochs = 180000 updates). i then tried using batching and used a batch of 100, the time to train reduced significantly but the model became extremely dumb and got a accuracy of 16.67%. reducing batchsize does improve the accuracy at the cost of more training time. i have seen people train this entrie data set with more epochs than me in under half a minute but idk why i cant do it

PS: i have written every function in the architecture myself but optimized them using pytorch's tensor mutiplication instead of python loops. my main use of pytorch is to make tensors and autograd. all of the the tensor multiplications happen in my GPU and not my CPU


r/learnmachinelearning • • 22h ago

Project I visualized gradient descent with three step sizes. What happens at η = 1.10?

7 Upvotes

Same starting point, same quadratic loss surface, three step sizes. For this tzero lab experiment I rendered f(x, y) = (x² + 1.7y²)/2 and checked the Excel and Colab results against the same update rule.

Before running it: would η = 1.10 converge or diverge, and why? And which made the behavior clearer: the 3D paths or the loss plot?


r/learnmachinelearning • • 4h ago

How to prepare for a RL researcher / AI scientist job or internship as a math phd student?

0 Upvotes

I'm 1st year math phd student as University of Edinburgh. My research is about theory of reinforcement learning, a very mathematical problem. Since academia positions are very hard to get compared to past few years, I'm also planning to go to the industry as well.

Even though I know the "math" (not coding) of some outdated machine learning techniques, such as neural network, gradient descent, VAE, GAN, flow matching, some RL algorithms, obviously these things are not enough to get a highly competitive RL researcher or AI scientist internship or even jobs.

However, I still have time to prepare because I'm just in the first year of my program. My goal is to get a RL researcher / AI scientist internship and a full-time job after graduation. I'm also interested in robotics because the mathematical formulation of it is quite interesting, which I will study myself.

One thing I should mention is that my supervisor does not want me to do other research at this stage. I'm probably not able to join CS or robotics labs and publish papers with them.

I would like to ask:

  • What things about AI and robotics can I learn now? Implement transformer, LoRA, RL post-training? Be familiar with CUDA or jax?
  • What projects can I do to put them on my personal website or github?

The questions are quite general because I don't know where to begin. Thanks in advance for your help.


r/learnmachinelearning • • 5h ago

Help Doing a hackathon on agentic payments, what actually breaks for you when you buy online?

2 Upvotes

Hi guys, I'm doing a hackathon on agentic payments in e-commerce. Before building anything I wanted to find out what actually annoys people when they buy or pay for things online.

Made a small form, 2–3 min, anonymous.

The questions are about stuff that actually happened to you surprise fees, failed payments, chasing refunds, lost parcels not about AI. Happy to post the results back here.

https://docs.google.com/forms/d/e/1FAIpQLSelRKiGnTE5Z8jgKfDRxWDmTSejHCVvcNTAKKl43S9gKUcXog/viewform?usp=sharing&ouid=109229595333985717334


r/learnmachinelearning • • 6h ago

if you had to start again from scratch what would you do to learn ml

4 Upvotes

r/learnmachinelearning • • 6h ago

Tutorial Mixture of Experts, token by token — a visual walkthrough

3 Upvotes

I made a short animation following the word “bank” in two sentences: “She deposited cash at the bank” and “They sat on the river bank.”

The example shows how context can change which experts the router picks. I also work through the numbers for one route so you can see how the two expert outputs get combined. I’d be curious whether the diagram makes that step easier to follow.

https://www.youtube.com/watch?v=ctRoV3RSIQ0. AI disclosure :I chose the examples and shaped the explanation of how each token moves through the model. I used AI tools to help create the animations and voice-over.


r/learnmachinelearning • • 6h ago

Guidance in Learning Machine Learning and How deep should I go in to learning

Thumbnail reddit.com
2 Upvotes

r/learnmachinelearning • • 12h ago

IIT Bombay End Sem ML question paper.

Thumbnail gallery
9 Upvotes

How to solve help..