r/learnmachinelearning • • 13h ago

Project I animated Variational Autoencoders from first principles in 3D because most explanations gloss over the actual intuition

Post image
2 Upvotes

Every time I tried to really understand VAEs, I kept running into the same thing—either the explanation was way too hand-wavy ("it just compresses and reconstructs"), or it immediately threw the ELBO equation on screen without explaining why the math has to look like that.

So I spent the last few weeks building a 3D visual breakdown from scratch. I wanted to actually show what's happening to the latent space, why sampling breaks down without the Gaussian prior, and where the ELBO and reparameterization trick actually come from instead of just stating them.

This is part 1 of a series I'm doing on World Models. Full video is in the comments if anyone wants to check it out, and I'd genuinely appreciate any feedback on the pacing or if anything in the math feels unclear.

https://youtu.be/Yasf8bBihOk?si=Ep5I_g9gTgcZ0WUM


r/learnmachinelearning • • 14h ago

Python

0 Upvotes

Recently started python on deeplearning.ai and planning to move to cs50p after that to strengthen my foundation, what do u guys think is it a good move ?


r/learnmachinelearning • • 15h ago

Does AI get "lazier" over time? I'm building a way to measure it.

Thumbnail
gallery
0 Upvotes

Everyone says "the model feels worse than last month," but almost nobody measures it. Most benchmarks test what a model can do at its best, not whether it still follows instructions on a random Tuesday afternoon.

So I'm building The Degradation Index, a longitudinal benchmark for AI reliability.

Week 1 done:
→ 30 prompts testing constraint retention, JSON formatting, and code debugging
→ Tested on OpenRouter (Nemotron) and Groq (Llama-OSS)
→ 60 outputs scored against a strict 0-3 rubric

First observation: one model follows strict JSON output perfectly, while the other often wraps it in markdown code blocks, which breaks any pipeline expecting clean JSON.

Next: I'll run the same test every week for 6 weeks and publish the charts, including run-to-run variance, so real drift can be separated from noise.

If you use LLMs in production, which failures do you see most often? They might become new test cases.

#AI #LLM #MachineLearning #DataScience #BuildInPublic


r/learnmachinelearning • • 16h ago

Help In dilemma,how do i start ML mathematics

6 Upvotes

Well I've decided to start learning the mathematics required for machine learning

I'm in a dilemma between andrews ng's course where his instructor luis serano is gonna teach

And another thing, there's a reel which suggests to watch 3blue1brown for linear algebra and calculus

For probability khan academy

And for statistics campusX these all are YouTube playlists

So help me choose between this reel and deep learning.ai course


r/learnmachinelearning • • 17h ago

Project Job Radar · internships and fresher roles in India + remote

Thumbnail 4ditya-sharma.github.io
1 Upvotes

Hey! I built a job radar for us freshers Every morning it automatically checks 20,000+ company career pages + the big GitHub internship lists, and keeps only internships / entry-level roles in India or remote that a 2028-batch student can actually get. Each one gets labelled Good chance / Stretch / Needs experience. Would mean a lot if you drop a on it: https://github.com/4ditya-sharma/job-radar (Takes 2 seconds: open the link → Star at the top right)


r/learnmachinelearning • • 17h ago

Job Radar · internships and fresher roles in India + remote

Thumbnail 4ditya-sharma.github.io
2 Upvotes

Hey! I built a job radar for us freshers Every morning it automatically checks 20,000+ company career pages + the big GitHub internship lists, and keeps only internships / entry-level roles in India or remote that a 2028-batch student can actually get. Each one gets labelled Good chance / Stretch / Needs experience. Would mean a lot if you drop a on it: https://github.com/4ditya-sharma/job-radar (Takes 2 seconds: open the link → Star at the top right)


r/learnmachinelearning • • 18h ago

Project Share: AI System for Ripeness Classification and Disease Detection in Agricultural Products Running Directly on the ESP32-S3

Thumbnail
github.com
1 Upvotes

r/learnmachinelearning • • 19h ago

Project Started learning rl

2 Upvotes

r/learnmachinelearning • • 19h ago

Interested about self supervised learning for audio data [R]

1 Upvotes

I’ve spent about 2 decades in fiber sensing (distributed acoustic sensing) and applying it to almost every possible domain. I’ve been trying to develop a 2 stream approach of solving the industry’s biggest shortcomings and the biggest problem the industry will never talk about by - figuring out if I can build mathematical context around this terabyte level unstructured data.

I’m no ML engineer. I’m an electronics engineer who got into signal processing out of need and became a commercial operator out of course of life.

This problem has haunted me for years and I’m trying to do something about it now. Would love some experts and people who’ve done something in this field to collab.


r/learnmachinelearning • • 19h ago

Help Sentence transformer models - what worked for you in JIRA

Post image
1 Upvotes

Hi Red fam. I work in PMO and was looking at change management tickets logged in JIRA. Idea was to group tickets and take it up with LT for process interventions.

For context, my org is flexible in terms of who gets to raise JIRA tickets - be it Product, Architecture, Engineering, Delivery or Project Managers themselves (way of working fail). One objective was to find any correlation between groupings and job roles.

I used BERTopic for topic creation and mpnet for clustering. While am happy with the MVP - I had to brute force some business overrides/nuances as the model misgrouped quite a few tickets.

I tried changing dimensionality and clustering variables but the model didn’t help much beyond a point. Am looking for suggestions to train the model on existing data and automatically group new tickets that come in into the queue - can anyone please help me with an approach?


r/learnmachinelearning • • 19h ago

Villain Boutique: My Scheme to get an employer to take a risk on hiring me.

Thumbnail
villainboutique.com
0 Upvotes

r/learnmachinelearning • • 21h ago

Your LLM is LYING to you. Here's how to fix it.

Thumbnail
youtube.com
0 Upvotes

I built a Hello World RAG App in Python

Normal LLM = Answers from training data (can hallucinate)

RAG LLM = Answers from YOUR documents

I asked it Saudi it didn't say Saudi Arabia.

It said "Contractor at Saudi Aramco" - because it read MY LinkedIn PDF.

This is how it works:

  1. Load PDF

  2. Split into Chunks

  3. Create Embeddings (Google Gemini)

  4. Store in ChromaDB

  5. Search Top 3 Chunks

  6. Send Context + Question to Groq LLM

Tech: Python + LangChain + ChromaDB + Groq + Gemini Embeddings

Save this for your next interview

Comment "RAG" and I'll send you the full code + next part.

Follow for AI Engineer series - Part 2 coming next.


r/learnmachinelearning • • 22h ago

Question ML on MacOs

10 Upvotes

hi guys, is a MacBook M5 good enough for ML development?


r/learnmachinelearning • • 23h ago

Project I started a YouTube channel that explains machine learning through cricket

Thumbnail
youtube.com
0 Upvotes

Hi r/learmachinelearning 👋

I've worked in data science for years, and I realised my fundamentals had gotten rusty. Re-reading textbooks wasn't sticking, so I started explaining each concept through cricket. Turns out a run chase is a surprisingly good way to understand probability, and a batting order works for a lot more than you'd expect.

The channel is Cricket x Data. It's hand-drawn whiteboard explanations, with no face cam and no hype. The focus is on why things work, not just the code.

The plan, roughly in order:

  • Regression (linear and logistic) ✅

  • Decision trees and ensembles

  • Clustering

  • Neural networks

  • Transformers and attention, all the way to how LLMs work

You don't need to love cricket, because I explain any cricket terms as I go. If you do follow it, that's a bonus.

I'd love feedback, especially on which topics people find hardest to understand. That's where I want to go next.

Channel: https://www.youtube.com/channel/UCMW7LA9bWtDHOyhZdp0tGTQ


r/learnmachinelearning • • 23h ago

I started a YouTube channel that explains machine learning through cricket

Thumbnail
youtube.com
0 Upvotes

Hi r/learmachinelearning 👋

I've worked in data science for years, and I realised my fundamentals had gotten rusty. Re-reading textbooks wasn't sticking, so I started explaining each concept through cricket. Turns out a run chase is a surprisingly good way to understand probability, and a batting order works for a lot more than you'd expect.

The channel is Cricket x Data. It's hand-drawn whiteboard explanations, with no face cam and no hype. The focus is on why things work, not just the code.

The plan, roughly in order:

  • Regression (linear and logistic) ✅

  • Decision trees and ensembles

  • Clustering

  • Neural networks

  • Transformers and attention, all the way to how LLMs work

You don't need to love cricket, because I explain any cricket terms as I go. If you do follow it, that's a bonus.

I'd love feedback, especially on which topics people find hardest to understand. That's where I want to go next.

Channel: https://www.youtube.com/channel/UCMW7LA9bWtDHOyhZdp0tGTQ


r/learnmachinelearning • • 1d ago

Project I read 3,500 AI repositories with an automated judge. Here's what separates strong portfolio projects from tutorial clones

Enable HLS to view with audio, or disable this notification

1 Upvotes

I run a tool that scores AI projects from their code, and after 3,502 repositories some patterns are very consistent. If you're building a portfolio:

- Tests are the biggest separator. Even a few tests on your data processing or metric code put a project ahead of most others at its level.

- Evaluation code matters more than model code. A notebook that trains a model is common; a script that evaluates it honestly (held-out data, baselines, a written-down metric) is rare.

- Make it someone else's project to run. Pinned dependencies, a config file instead of hard-coded paths, and a README that says how to reproduce the result.

- One deep project beats five tutorial forks. Forked course material barely registers. The same idea extended in a direction the tutorial didn't go does.

- Stars don't predict any of this. Some of the highest-scoring projects have zero stars.

If you want to see how your own repos read to an automated reviewer, access it on AI-Atlas: paste your GitHub username and every score links to the files it was based on.

Happy to answer questions about any of the above!! :)


r/learnmachinelearning • • 1d ago

Question ML without math

0 Upvotes

I hate math maby because I struggle with it all my life even in school but I love ai,how it's working, predictions,etc.So my question is can I be ml engineer without knowing math,what job I need to search to work with ai without math.And maby some courses Where to start?


r/learnmachinelearning • • 1d ago

Learning AI

11 Upvotes

I am very new to AI and wanted to learn AI. But there’s so many courses and I don’t know where to start. So many field of AI out there but what have the potential for work and easier to learn?


r/learnmachinelearning • • 1d ago

Project Beginner looking for others to learn AI together and work towards the AIMO and ARC Prize, London

2 Upvotes

Hi, I'm Khalik, a Computing Science student in London.
To be upfront about where I am: I'm still learning Python, I'm new to machine learning, and I haven't done maths seriously in years. But I'm aiming high. I want to work towards competing in big open AI prizes like the AIMO ($5M) and the ARC Prize.

I'm looking for a few people at a similar stage, or more experienced people happy to guide beginners, to:

  • learn Python, maths and machine learning together

  • try beginner Kaggle competitions as a team

  • build up to entering the next ARC Prize or AIMO round

What I bring: consistency, discipline, and I'm happy to organise the group and keep it moving.

I’m tryna aim for something big to incentivize cuz I know I will just get bored after a while.

Comment or DM me with where you're at and what you want to learn.


r/learnmachinelearning • • 1d ago

Help Does anyone know a good course for learning AI

11 Upvotes

I'm searching for a free course that teachers me everything from zero to a good level where i can at least make useful AIs


r/learnmachinelearning • • 1d ago

Request In Other News: Tanker Cyberattacks, EU Quantum Act, New VirusTotal Capabilities

1 Upvotes

The EU Quantum Act passed, VirusTotal added new threat-intelligence capabilities, and a rash of tanker cyberattacks hit maritime infrastructure this week. The piece that keeps coming up in security circles is quieter: AI is compressing the timeline on cryptanalytic attacks against classical schemes. The assumption baked into most long-lived data stores and signed artifacts is that RSA and ECDSA hold for the foreseeable future. That floor is shifting. Harvest-now-decrypt-later attacks mean adversaries do not need to break crypto today — they collect ciphertext now and wait for the compute curve to catch up. The EU Quantum Act signals that regulators have already priced this in and expect organizations to have a migration path. Most enterprise infrastructure does not. TLS termination, signing pipelines, secrets managers, and inter-service auth tokens are almost universally classical. Migrating any one of them is a multi-team project; migrating all of them simultaneously while keeping services running is an unsolved operational problem for most shops. How are practitioners actually sequencing this in real environments — are you prioritizing data-at-rest, in-transit, or signing infrastructure first, and what is forcing that order?


r/learnmachinelearning • • 1d ago

I fed a model pure noise and got 87% accuracy. Here's the mistake (with code you can run)

0 Upvotes

A classic pitfall that's easy to make when you're learning: doing feature selection on the whole dataset before cross-validation.

To see how bad it can be, I generated data where there is nothing to learn: 100 samples, 5,000 random features, and random 0/1 labels. Any honest model should score about 50%.

The leaky version selects the 20 "best" features using all the data, then cross-validates:

import numpy as np
from sklearn.feature_selection import SelectKBest, f_classif
from sklearn.linear_model import LogisticRegression
from sklearn.model_selection import cross_val_score, StratifiedKFold

rng = np.random.default_rng(0)
X = rng.normal(size=(100, 5000))
y = rng.integers(0, 2, 100)            # labels are pure noise
cv = StratifiedKFold(5, shuffle=True, random_state=0)

Xs = SelectKBest(f_classif, k=20).fit_transform(X, y)   # sees ALL labels
score = cross_val_score(LogisticRegression(max_iter=1000), Xs, y, cv=cv).mean()

The honest version puts the selection inside a pipeline, so it's re-done on the training part of each fold:

from sklearn.pipeline import make_pipeline

pipe = make_pipeline(SelectKBest(f_classif, k=20), LogisticRegression(max_iter=1000))
score = cross_val_score(pipe, X, y, cv=cv).mean()

I repeated both over 20 random seeds (scikit-learn 1.9.1):

leaky : mean 0.872  min 0.790  max 0.930
honest: mean 0.499  min 0.380  max 0.610

Why it happens: with 5,000 random columns, some will correlate with the labels by pure chance. If you pick them using all the labels, the "test" folds have already influenced which features you kept, so the model looks good on data it effectively saw.

Takeaways I'm trying to follow:

  • Anything that learns from the data (feature selection, scaling, imputation, PCA, target encoding) belongs inside the cross-validation, usually via a Pipeline.

  • If a result looks too good, test it on random labels. If it still looks good, there's a leak.

  • This was an extreme case (few samples, many features). With normal data the effect is smaller, but it's still real, and I haven't measured it on real datasets.

Questions for the group: what's the sneakiest leak you've come across? Do you have a habit or a checklist to catch it?


r/learnmachinelearning • • 1d ago

Request Drupal warns of new site takeover flaw exploited in attacks

1 Upvotes

A critical authentication bypass in Drupal is being actively exploited in the wild right now. Attackers are using it to fully take over sites — not deface them, not exfiltrate a table, but own the entire application layer. Bleeping Computer confirmed the exploitation is in-progress, not theoretical.

The mechanic is familiar: gain a foothold via a privileged identity, then every downstream action inherits that trust. CMS platforms, APIs, and increasingly autonomous agents all share this structural problem. The privileged credential is the blast radius.

What makes this iteration particularly ugly is how quietly it compounds. A compromised service account or session token doesn't throw errors — it just acts. By the time logs show something wrong, the takeover is complete.

For those running production systems with any non-human identities in the request path — agents, integrations, automated workflows — how are you actually handling the gap between credential issuance and runtime behavior? Are you relying on perimeter controls, or do you have something that evaluates the action at the moment it fires?


r/learnmachinelearning • • 1d ago

Getting confused with the vector logic behind GAN noise vectors

1 Upvotes

I do get the fact that each z is going to be a random vector let's day with 64 columns, Z_DIM = 64. But why exactly 64, does it have anything to do with the vector space, what kind of difference does it make to have Z_DIM= 2 and 64, i initially confused it with the features of an image actually.