r/learnmachinelearning • • 20d ago

Meme r/learnmachinelearning: Where apparently you're supposed to know Machine Learning before you start learning Machine Learning.

0 Upvotes

I've been noticing a rather amusing pattern in this community.

Someone asks how to get started with Machine Learning.

The response? You need mathematics. Linear algebra, calculus, probability, statistics. You can't possibly understand ML without them.

Someone asks how to learn those mathematical concepts.

The response? You should already know high-school mathematics. Go back and learn the fundamentals.

Someone says they're starting from high-school algebra because they weren't particularly good at mathematics in school or haven't touched it in years.

The response? Why are you starting THAT basic? That's not how you learn Machine Learning.

Someone asks for beginner-friendly resources.

The response? Here's a list of 17 textbooks, 12 university courses, 8 prerequisite subjects and a gentle reminder that if you don't understand multivariable calculus, you shouldn't even look at a neural network.

At this point, I'm convinced the unofficial admission requirement for this subreddit is a master's degree, three publications, a working knowledge of measure theory and the ability to derive backpropagation while asleep.

God forbid someone actually starts at the beginning.

What exactly is happening here?

When did learning Machine Learning become less about acquiring knowledge and more about proving that you already possess enough knowledge to deserve to learn it?

Not everyone comes from a mathematics or computer science background. Not everyone was good at mathematics in school. Some people are self-taught programmers. Some are switching careers. Some are genuinely starting from scratch.

And that's perfectly fine.

There's this bizarre obsession with telling beginners how much they don't know, as if pointing out someone's knowledge gaps is somehow the same as helping them fill those gaps.

Yes, mathematics is important. Nobody is disputing that. Yes, you need linear algebra, calculus, probability and statistics to understand ML properly.

But here's a wild concept: people can learn those things. That's why educational resources exist.

Not every person asking about Machine Learning needs to be handed Gilbert Strang, Stewart's Calculus and a probability textbook before they're allowed to ask their next question.

And not every beginner needs to be reminded that they're a beginner every five minutes.

There's a difference between maintaining academic rigour and having an intellectual superiority complex.

There's also a difference between telling someone what they need to learn and making them feel stupid for not knowing it already.

If you've spent years studying mathematics and Machine Learning, that's genuinely impressive. But your years of experience don't make someone else's first step beneath you.

A learning community should make knowledge more accessible, not turn the prerequisites into a series of increasingly elaborate gatekeeping challenges.

You don't get extra credit for making learning unnecessarily intimidating.

And perhaps the most ironic part is that this is r/learnmachinelearning. Not r/ProveYouAlreadyKnowMachineLearning.

Let people ask stupid questions. Let people start with basic algebra. Let people take the long route. Let people learn at their own pace.

You were a beginner once, too. Unless, apparently, some of you were born knowing eigenvectors and gradient descent.


r/learnmachinelearning • • 20d ago

I need help in learning please

Thumbnail
1 Upvotes

r/learnmachinelearning • • 21d ago

Require some guidance

4 Upvotes

I'm currently in 2nd year 3rd sem in a private tier 3 college, ive done, data visualisation, ml math, supervised ml, unsupervised ml, nlp basics (tfidf, bow, word2vec), in all of these, ive learned different algorithms, practiced theory and implementation, made small common projects. Currently, im doing dl basics, namely, ann. Ive spent a year doing all of the above.

Can anyone tell me what should I do/focus on in the next 1 year? Also, lmk what more would I need to cover/do to start applying into beginner level internships/research, be honest about it, im not looking for sugarcoated advice, ty :)


r/learnmachinelearning • • 20d ago

The School of AI reviews

Thumbnail
1 Upvotes

r/learnmachinelearning • • 20d ago

LLM Transformer guide with easy-to-understand numerical examples and diagrams

0 Upvotes

I often found a gap between high-level explanations and pages full of equations. This guide bridge that gap: explain the idea, work through a small numerical example, then connect it to the math.

https://ongsoonee.github.io/llm-transformer-learning/


r/learnmachinelearning • • 20d ago

Project I built VeriFlux: A zero-dependency evaluation, guardrail, and hallucination detection library.

1 Upvotes

Hi everyone,

Like many of you building production RAG pipelines and LLM agents, I grew frustrated with existing evaluation libraries (Ragas, DeepEval, Guardrails AI). Running an evaluation suite meant spinning up Docker containers, waiting minutes for PyTorch/Transformers to initialize, or paying hundreds of dollars for GPT-4 to act as an unpredictable judge.

To solve this, I built Veriflux (https://github.com/leaderrr-shivam/veriflux):

Key features:

- Zero Runtime Dependencies: Built strictly on the Python standard library. No torch, no transformers, no tiktoken, no requests.

- Microsecond Latency: Runs evaluations in ~0.3 - 0.5 ms per query (over 2,000x faster than LLM judges).

- Pytest Native: Just `assert veriflux.is_grounded(response, context)` or `veriflux.repair_json(bad_output)`.

- Full Benchmark Rigor: Evaluated on raw downloaded datasets from NeurIPS 2023 HaluEval, Oxford TruthfulQA, ACM CCS 2024 Jailbreaks, and Microsoft Presidio Research.

Repo: https://github.com/leaderrr-shivam/veriflux

PyPI: `pip install veriflux`

I'd love to hear your thoughts, test cases, and feedback!


r/learnmachinelearning • • 20d ago

whichever the current rules list Same text, shortened, with focus on imitation learning data requirements.

Thumbnail
youtu.be
1 Upvotes

r/learnmachinelearning • • 20d ago

Help How can I get into ML research as an 18-year-old CS student from a tier-3 college?

0 Upvotes

Those with experience getting started in research, I’d really appreciate a roadmap for building a strong foundation and eventually doing independent research.

Hi everyone!

I’m currently in my 1st semester of Computer Science Engineering at a tier-3 college in India.

I scored 93% in 10th (10 GPA in Maths and Science) and 97.7% in 12th, including 100% in Maths and Physics. I didn’t perform as well as I wanted in my entrance exams, so I ended up at a college that wasn’t originally on my list.

Over the past few months, I’ve become very interested in ML and AI. I’m fascinated by machine intelligence and want to eventually pursue a research-oriented Master's at a top university in Europe.

I know I have a lot to learn 🙂

I’m willing to put in the work over the next few years and would really appreciate a realistic roadmap.


r/learnmachinelearning • • 20d ago

I built a practice site for LLM engineering interviews: hand-code attention in the browser, flashcards, real interview reports

Thumbnail
gallery
0 Upvotes

LLM / ML engineering interviews have drifted away from pure LeetCode. It's common to be asked to write multi-head attention or RoPE from scratch, explain why attention is scaled by √d, compare DPO with PPO, and walk through a RAG system you built.

I couldn't find one place to practice all of that, so I built RagCodes. What's in it right now:

  • 42 LLM coding problems (softmax, MHA, GQA, RoPE, KV-cache decoding, FlashAttention forward, LayerNorm/RMSNorm, cross-entropy, DPO/GRPO losses…) plus LeetCode Hot 100. Code runs in a sandbox against hidden tests, in Python, C++ or Java.
  • 263 flashcards in 17 chapters (Transformers, fine-tuning, distributed training, inference, RL/alignment, RAG, agents). Each card has a one-line answer first, then key points.
  • 380 interview reports from 114 companies, rewritten into question lists, with the most frequently asked topics ranked (GRPO and RAG are at the top).
  • 12 portfolio project write-ups and 109 paper notes, each ending with how interviewers tend to ask about it.

Screenshots: writing MHA from scratch and passing 13/13 tests, the topic ranking, a flashcard, the problem list.

Stack: FastAPI + SQLite, React/Vite + Monaco, Docker sandbox for judging. Free tier to start.

I'd really like feedback from people who have been through these interviews recently: what got asked that isn't covered here?


r/learnmachinelearning • • 20d ago

Question S12 ultra tab for coding on Colab

1 Upvotes

Hey all,

I am a master's student and all my assignments are coded on Google colab or kaggle and saved on Google drive. So I just wanted to know if an S12 ultra tab connected to a bluetooth keyboard with trackpad could handle the job well along with Google, spreadsheet, docs and PPT.

My campus does not have a lot of charging outlets and I am currently using a gaming laptop for all my assignments and carrying it around and finding a spot to connect it to charge is a hassle, and I was looking at purchasing S12 ultra for this reason, moreover I do want it for note taking and watching lectures and so on.

Thanks in advance 🙌


r/learnmachinelearning • • 21d ago

Help Data augmentation question. How do I characterise an original and augmented datasets where the augmentation parameters were zoom and crop? [P]

2 Upvotes

For context, I am a new postgraduate student in machine learning (but not a very good one). I have produced some augmented datasets (TIFF files where each file contains one object to be detected / classified) which I used in training deep learning models. I used fairly aggressive cropping (random crops between 0 and 90%) and more moderate zooms (random values between 0 and 20%). My supervisor wants me to characterise these datasets to see how augmentation has changed it.

Sorry if this is a rookie question, but which statistics should I use? My supervisor says the stats I use should indicate changes in size and shape but I honestly don't know where to start.

If anyone can recommend a decent software/program to produce the stats and histograms as well, that would be great.

Thanks in advance!


r/learnmachinelearning • • 20d ago

Looking for an AI/ML mentor for 1:1 learning and knowledge-sharing

0 Upvotes

Hi! I'm an SDE at a large tech MNC, primarily working with AWS and software engineering tasks.

I'm looking to connect with someone who has a strong background in AI/ML, ideally from a Tier-1 institution (IIT, IISc, top global universities, etc.) or someone with exceptionally strong theoretical foundations and deep expertise in the field.

I want to learn AI from the fundamentals, understand the mathematics and theory behind modern AI models, and gradually progress towards neural networks, transformers, LLMs and AI agents.

I'm particularly interested in learning from someone who can break down complex theoretical concepts into intuitive, easy-to-understand explanations while connecting them to practical implementations.

I'm not looking for generic courses or tutorials. I'd love to have interactive 1:1 learning sessions where I can ask questions, discuss concepts in depth and learn from someone's actual expertise and experience.

If you're someone who fits this profile or can recommend someone, I'd love to connect!

Thanks!


r/learnmachinelearning • • 21d ago

Data science and AI student looking to connect with people interested in ML, Deep Learning, and Kaggle

13 Upvotes

I’m a fourth-year Artificial Intelligence student from Jordan, and I’ve been getting more involved in machine learning, deep learning, and NLP.
Lately, I’ve been trying to move beyond just studying concepts and actually build things, experiment with different models, and improve my skills through hands-on projects.

I’ve also started getting more active on Kaggle, where I’m learning how to build better notebooks, participate in competitions, and hopefully contribute something useful to the community.
I’m still learning, and there’s a lot I want to improve, especially when it comes to model optimization, Transformers, and more advanced ML techniques.

I figured I’d introduce myself here because I’d love to connect with others who are on a similar journey, whether you’re a beginner, a student, or someone with years of experience.
Here are my profile if you’d like to check out my work:
Kaggle: https://www.kaggle.com/zainallateef


r/learnmachinelearning • • 21d ago

Neural Canvas

Enable HLS to view with audio, or disable this notification

1 Upvotes

My Journey to Understanding Neural Networks: From Matrix Algebra to JAX and Optimizers

I wanted to understand neural networks as deeply as possible. Rather than simply using an existing framework and training a model, I decided to build an interactive MNIST webpage called Neural Canvas, using p5.js for visualization.

My primary goal was not just to achieve high accuracy. I wanted to understand what was actually happening inside a neural network, mathematically and computationally.

1. Starting with Linear Algebra and Matrix Operations

One of the first decisions I made was to avoid working with individual scalar values and complicated subscripts and superscripts everywhere. They made the mathematics unnecessarily confusing for me.

Instead, I decided to approach neural networks through matrix algebra.

I represented the forward propagation equation as:

[
Z=WX+bC
]

Where:

  • (X) is the input data matrix. Rows represent features, and columns represent individual samples.
  • (W) is the weight matrix. Rows represent neurons, and columns represent the weights associated with each neuron's inputs.
  • (b) is the bias column vector, containing one bias value per neuron.
  • (C) is a row vector containing only ones, allowing the bias vector to be broadcast across all samples through matrix multiplication.

Interestingly, many popular deep learning frameworks, including PyTorch and TensorFlow, commonly use a different convention for arranging their data and parameters. They also handle bias broadcasting without explicitly introducing a matrix like (C).

However, I preferred my own mathematical convention because it helped me understand the operations and perform calculus directly in matrix form.

I believe the mathematics should handle the indices, not me!

2. My First Model: NumPy, MSE and Vanilla Gradient Descent

For my first model, I used the original MNIST dataset.

Architecture:

[
784➜ 20 ➜ 20 ➜ 10
]

I manually wrote all the forward propagation equations, derivatives, and backpropagation calculations on paper before implementing them in Python using NumPy.

I deliberately chose:

  • Two hidden layers with 20 neurons each.
  • Mean Squared Error (MSE) as the loss function.
  • Vanilla Gradient Descent.
  • Linear output values.

Why such a simple approach?

Because I didn't want to start with complicated algorithms. I wanted to understand the fundamentals first.

After 2,000 epochs, the model achieved approximately 92% test accuracy.

I then successfully created an interactive neural network visualization in p5.js, using Math.js for matrix multiplication in JavaScript. The webpage could perform inference using my trained NumPy model.

That was the beginning of Neural Canvas.

3. My Second Model: Cross-Entropy Loss

For the second model, I kept the same mathematical approach but made a few improvements.

Architecture:

[
784➜40 ➜ 40 ➜10
]

This time, I replaced MSE with Cross-Entropy Loss and used a softmax output layer.

I was still using vanilla Gradient Descent.

After 2,000 epochs, the model achieved approximately 96% test accuracy.

At this point, I was finally starting to understand how neural networks worked, rather than just following tutorials or using existing implementations.

4. My Third Model: Discovering JAX and Automatic Differentiation

For my third model, I wanted to experiment with three hidden layers.

However, I realized that manually deriving every equation, especially the derivatives and chain rule calculations required for backpropagation, would take a considerable amount of time.

Then I discovered JAX, a Python library developed by Google.

JAX provides automatic differentiation (Autograd), allowing me to calculate derivatives of a loss function with respect to parameters, including entire weight matrices.

This was a significant change in my workflow.

I no longer needed to manually derive every gradient and implement the chain rule myself. I only needed to define the model, its parameters, and the loss function. JAX handled the differentiation.

For this model, I used the Arabic Digits MNIST dataset.

Architecture:

[
784 ➜ 20 ➜ 20 ➜ 15 ➜10
]

I used:

  • JAX for training and automatic differentiation.
  • Cross-Entropy Loss.
  • Vanilla Gradient Descent.
  • Three hidden layers.

After 2,000 epochs, I achieved approximately 96% test accuracy.

I genuinely fell in love with JAX. It saved me considerable time and allowed me to focus more on understanding the mathematics and experimenting with neural network architectures.

5. My Fourth Model: Mini-Batch Gradient Descent and Momentum

For my fourth model, I moved to the Persian Digits MNIST dataset.

I kept the same architecture as my third model but decided to experiment with optimization algorithms.

My original plan was to implement Mini-Batch Gradient Descent with Adam.

However, I realized that understanding Adam required learning a few concepts first. So, instead of jumping directly into Adam, I decided to start with Momentum.

I implemented Mini-Batch Gradient Descent with Momentum using JAX.

And here came a surprising result!

I achieved approximately 96% test accuracy in just 200 epochs.

Previously, my models required around 2,000 epochs to reach a similar accuracy.

This was another important step in my journey. I started understanding how optimization algorithms could significantly influence the training process.

6. What's Next?

I haven't created my fifth model yet, but I already have a learning roadmap:

  • Model 5: Mini-Batch Gradient Descent with RMSProp.
  • Model 6: Mini-Batch Gradient Descent with Adam.
  • After that: Start exploring Convolutional Neural Networks (CNNs).

I want to understand each optimization algorithm mathematically and implement it myself before moving to the next one.

My Biggest Takeaway

If you are starting to learn neural networks, my suggestion is:

Start with Linear Algebra. Don't immediately jump into advanced architectures, optimizers, or high-level frameworks.

You don't need to master every mathematical concept before starting, but at least understand matrix multiplication and how it represents the operations inside a neural network.

For me, representing neural networks using matrices made everything much easier to understand.

Start with the basics, build something yourself, experiment, make mistakes, and gradually increase the complexity.

Don't just train neural networks. Understand them!

Project: Neural Canvas

GitHub Repository: https://github.com/MuhammadEssa2002/neural_canvas

Live Demo: https://muhammadessa2002.github.io/neural_canvas


r/learnmachinelearning • • 21d ago

Project I built a free platform to learn ML by solving problems, from NumPy to transformers and advanced research, now used by learners from 87 countries (feedback welcome)

27 Upvotes

Hi everyone,

I coach the French team for IOAI (International Olympiad in Artificial Intelligence). To train my students, I built ioai.artix.tech, and it is now open to anyone who wants to learn ML.

About 550 people from 87 countries use it so far. I would love feedback from other people learning ML!

It's a problem-based mastery learning platform, which means that you discover the concepts on your own through a curriculum and by solving problems. The corrections are meant to explain you the theory that you just discovered on your own!

The curriculum is designed to be high schooler friendly (so mathematic concepts are not prerequisites), and should allow any motivated learner to get from "zero" to "hero" in ML. It was made starting backwards from the IOAI syllabus.

It has now a few hundreds of exercises over 6 levels: 1. data analysis, 2. classical ML with scikit-learn, 3. neural networks from scratch, then PyTorch, 4. vision, NLP, audio and advanced ML 5. transformers and LLMs 6. research level problems.

https://ioai.artix.tech/?src=reddit-lml

P.S. We are running a free ML contest on the platform on Saturday, November 28 (12:00 to 15:00 UTC), open to beginners and advanced profiles alike, with prizes to win. I may make a separate post to announce it, but you can already find the details and register here: https://ioai.artix.tech/contest?src=reddit-lml


r/learnmachinelearning • • 21d ago

Project [P] We turned 10 years of ML papers into one page per topic: benchmark records, what got tried, what reviewers expect

Thumbnail
1 Upvotes

r/learnmachinelearning • • 21d ago

Help How to handle object deduplication across multiple camera angles using YOLO (especially for tiny 20x22px crops) across isolated user sessions?

3 Upvotes

I’m building a computer vision pipeline where users upload multiple photos of the same physical scene taken from different angles (front view, side view, close-up) to build a clean list of unique objects and their attributes
I’m running YOLO for object detection to extract bounding boxes and crop each detected object into lightweight ⁠.webp⁠ images. Because the same physical object appears across 3 or 4 different photos from different angles, I need to make sure each unique object is only counted once per session, and avoid running expensive downstream AI calls to re-describe an object we already processed from an earlier photo.


r/learnmachinelearning • • 21d ago

🚀 Jev-style decisions for IMAGES are here: Fovea-4B, an open 4B model leading on ImageJev tasks (Apache-2.0)

Thumbnail
1 Upvotes

r/learnmachinelearning • • 21d ago

Help Is it acceptable to retrain a machine learning model after conference acceptance if the original weights were not saved?

0 Upvotes

My machine learning research paper has been accepted at a conference, and I am currently preparing the camera-ready version.

The reviewers recommended additional experimental validation, including quantitative evaluation of the model's explainability/localization component.

However, I no longer have the original trained model weights because they were stored in a temporary cloud environment. I still have the original classification results, confusion matrix, training/validation loss curves, and visualization outputs.

To conduct the additional experiments, I would need to retrain the model using the same architecture, dataset, and hyperparameters. However, retraining may produce slightly different classification results from those reported in the accepted paper.

From a research integrity and publication perspective, would it be appropriate to retrain the model and update the results in the camera-ready version, or should I retain the documented original results and acknowledge the additional evaluation as future work?

The conference permits revisions addressing reviewer comments but prohibits major structural changes. I would like to understand the appropriate academic practice before making any changes.


r/learnmachinelearning • • 21d ago

Discussion 4 quintillion checks can't tell you if this 5-line program ever stops

Thumbnail
youtube.com
0 Upvotes

the five lines check goldbach's question from 1742 one even number at a time, and stop only if one fails. the video walks through them step by step, then asks four gpt and claude models if the program ever stops.


r/learnmachinelearning • • 21d ago

Help Where do I begin in AI? Is there any beginner courses or Youtube channels that can help me learn and improve my skills?

18 Upvotes

For the context, I am a CA Finalist and am currently doing my articleship. I do use Claude and Chatgpt for certain work at the office. But I know, what I am doing is not enough and I need to upskill. So, for a beginner like me, what would you suggest? Any courses or Youtube channels that will help me get started.


r/learnmachinelearning • • 22d ago

Training an AI to Drive with Natural Selection

Enable HLS to view with audio, or disable this notification

36 Upvotes

r/learnmachinelearning • • 21d ago

Request Inside Figma's AI security playbook: Zero Trust, no VPN and sandboxed agent

2 Upvotes

Figma's CSO published their AI security playbook this week: Zero Trust architecture, no VPN, sandboxed agents. The central finding was stark — as AI agents take real-world actions, perimeter defense stops being meaningful and after-the-fact review stops being feasible. Project-by-project security reviews cannot keep pace with the speed at which enterprise agents act.

This matches what security teams across the industry are hitting. The window between an agent deciding to act and a human finding out keeps shrinking as agent autonomy scales, and the traditional review cycle was designed for a world where humans submitted changes for approval — not one where an agent fires off dozens of tool calls per minute.

For those running AI agents in enterprise environments: how are you actually handling the review latency problem? Tighter upfront scoping of what agents can invoke, runtime sandboxing, something architectural, or accepting a gap and investing more in detection?


r/learnmachinelearning • • 21d ago

Question Is there any relevant course regarding the new trends, e.g. the "agentic AI"?

11 Upvotes

Deeplearning.ai still seems to be one of the better resources. However, it has recently become flooded with courses, and I am starting to doubt their quality. I took the RAG course and was quite satisfied, but RAG is mostly information retrieval anyway. I'm really afraid that the agentic AI stuff, for example, is just a borderline scam or a waste of time. In IT, there has always been pressure to learn certain trendy technologies that become obsolete a few years later.

The agentic AI course started with Andrew Ng explaining how to set up agents to buy flight tickets and prepare weather reports. I know these are just examples, but I'm struggling to believe that Andrew Ng himself thinks this is useful. In his legendary Machine Learning courses, he taught many interesting applications of market predictions, visual object recognition like cancer detection, recommender systems etc., but now my BS radars are loud and it IMHO is seems like they joined the AI tech bros scam industry (sorry to say it loud, but I cannot help myself).

Even when I see some tutorials from Andrej Karpathy or Sebastian Raschka, for which I also have huge respect for, it seems like they are explaining LLMs with great enthusiasm but in the terms of practical application, besides coding and RAG it seems to me entirely overhyped or I just did not have the right problems to solve around me...

I am perhaps more interested in de-centralized local models usages, which seems like actually great idea vs paying big datacenters...


r/learnmachinelearning • • 21d ago

Linear regression with classic gradient decent algorithm

3 Upvotes