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

15 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

Project 🚀 Project Showcase Day

2 Upvotes

Welcome to Project Showcase Day! This is a weekly thread where community members can share and discuss personal projects of any size or complexity.

Whether you've built a small script, a web application, a game, or anything in between, we encourage you to:

  • Share what you've created
  • Explain the technologies/concepts used
  • Discuss challenges you faced and how you overcame them
  • Ask for specific feedback or suggestions

Projects at all stages are welcome - from works in progress to completed builds. This is a supportive space to celebrate your work and learn from each other.

Share your creations in the comments below!


r/learnmachinelearning • • 7h ago

Discussion Machine Learning Overview

27 Upvotes

r/learnmachinelearning • • 57m ago

Discussion Best Machine Learning playlists or courses?

5 Upvotes

Hey everyone! I'm planning to learn Machine Learning and looking for the best learning resources.

I'm open to free resources or low-cost paid courses.

Looking for something that explains concepts clearly and includes practical, hands-on projects.

What would you recommend based on your experience?


r/learnmachinelearning • • 5h ago

Discussion What counts as yesterday when you batch glucose-monitor data?

Post image
7 Upvotes

TER, Figure 2. Daily CGM representations and supported multi-day history.

Shuffle a set of daily glucose records and yesterday’s row might belong to another person. LingSante-Pulse’s released glucose-monitoring pipeline takes the subject ID and actual window start time alongside each day of readings. It can also take an episode ID to keep separate recording periods apart. The subject ID groups history; it doesn’t become a numeric feature.

For each day, the pipeline can draw on up to seven days of causal context. The extractor returns a history_days count with the embedding. Give it a day with no usable earlier window and it falls back to that day alone.

If you process one file per day, inspect that count before trusting a longitudinal experiment. A folder can contain months of data while each individual extraction sees just one day.


r/learnmachinelearning • • 8h ago

You can’t debug a bad health-assistant call with a single star rating

12 Upvotes

Imagine a caller who asks a question three times and finally gets a sensible answer. What goes in the bug report: conversation failure, answer-quality failure, or both?

LingSante-Live’s launch study split the review work. Participants who role-played the calls rated the experience. Physicians assessed medical quality. The team published aggregate results; those averages can’t reveal whether a good answer and a frustrating experience came from the same call.

For an evaluation harness, I’d put a shared call ID on the two forms. Hand a reviewer a mismatched pair and the job becomes specific: listen for where the caller struggled, then inspect the answer that finally came back. The fix might belong in the interaction loop even when the answer itself holds up.


r/learnmachinelearning • • 3h ago

Discussion Did the prompt rewriter improve the poster, or did the image model?

Post image
4 Upvotes

A short brief goes in and a much better-looking poster comes out. Which part improved: the image model, or the system that turned two sentences into a page of art direction?

Ming-Image-0.2-Design makes that question practical. Its open reference CLI accepts raw text or a prompt file. The recommended prompt enhancer runs outside the generator and can produce a structured layout description. You can save that intermediate file.

For a poster comparison, I’d run the short brief and its saved rewrite through the same checkpoint at the same size, seed and sampling settings. Then change checkpoints and reuse both prompts. Four renders cost more than two, but now a win that disappears with the short prompt tells you something about the workflow you would actually have to ship.


r/learnmachinelearning • • 9h ago

Discussion For LingSante-Pulse, 0.97 and 97 land in very different places

12 Upvotes

A loader that expresses oxygen saturation as a fraction can quietly break a LingSante-Pulse experiment. The open preprocessing code expects the SpO₂ channel in percent. It subtracts 95, divides by 5 and clips the result to the interval from −10 to 10. An input of 97 becomes 0.4. An input of 0.97 hits the lower clip limit.

It’s an easy mistake to miss because the same encoder handles ECG waveforms. Those are standardized using observed samples in each window. Numeric channels such as oxygen saturation keep a fixed physical scale instead.

One small regression test would catch it: send the loader a known 97% reading, then assert that the numeric value after preprocessing is close to 0.4. A shape check won’t tell you the units changed.


r/learnmachinelearning • • 8h ago

Discussion 300 simulated calls, 20 people: what would you resample?

10 Upvotes

A detail in Ant Ling’s LingSante-Live release is worth bringing to a stats class. Twenty participants role-played 100 health cases across three video-enabled assistants, for 300 calls. The average call ran longer than 20 turns. That gives you a lot of conversation, but how many independent observations do you have?

Someone who tends to give high ratings can carry that habit into several calls. One confusing case can trip up all three assistants. Treating every turn as a fresh draw loses both facts.

If the call-level records become available, I’d first map which participant performed which case on which assistant. That map tells you which comparisons can be paired and where uncertainty should reflect repeated people or cases. No amount of extra turns reconstructs a missing assignment table.


r/learnmachinelearning • • 1h ago

YOLO26 / YOLOE in cpp. CPU with GPU offloading

Thumbnail
github.com
2 Upvotes

The app is actually with my own pure C system. This one is built on top of ggml / llama.cpp. It's better on PC plus it has the llama.cpp GPU offloading ( all GPUs ) . I need to fix some threading issues then I'll upload the app using this system to the repo.

https://www.youtube.com/shorts/LdhYoXquvbY


r/learnmachinelearning • • 1d ago

Help Started my journey

Post image
172 Upvotes

I am on a scratch level and currenty started my ml journey with this book Hands on machine learning with scikit learn and pytorch
Got the whole book printed out
What should i do along side or with it ? At what point should i start building ??
Is it a good start ??
Would love advices and corrections


r/learnmachinelearning • • 23m ago

Tutorial How I'd learn AI and LLMs from scratch (the exact resources and study tricks I wish I knew earlier)

0 Upvotes

Most AI roadmaps online are just giant lists of 100+ links that leave you stuck in tutorial hell.

While organizing my own study path, I put together a clean, open source roadmap focused strictly on what to study, the specific tricks to avoid wasting time, and what each resource actually lets you build.

The path covers 5 steps:

  1. Math & Tools: Visual intuition with 3Blue1Brown (no heavy textbooks) and browser based Python/NumPy on Kaggle.
  2. Classic ML: Skimming Stanford CS229 for algorithm intuition and practicing on messy datasets with scikit-learn.
  3. Neural Networks: Coding micrograd from scratch with Karpathy to demystify backprop, then building fast with PyTorch and fast.ai.
  4. LLMs: Understanding attention visually, coding a tiny GPT from scratch, and using modern agentic training workflows (Claude Code, Hugging Face skills, autoresearch).
  5. Shipping: Hosting live demos on Hugging Face Spaces and benchmarking on Kaggle.

You can check out the full visual roadmap, direct links, and study notes here:

https://github.com/EgeSoysal/awesome-ml-roadmap

If you know any high-yield resources or study tricks I missed, feel free to drop them in the comments or open a PR!


r/learnmachinelearning • • 39m ago

Tutorial What Is Harness Engineering ?

Thumbnail
youtu.be
0 Upvotes

Would love to have ur feedback guys


r/learnmachinelearning • • 44m ago

Methods to improve robustness

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 6h ago

Discussion Running a 41M-param neural TTS on-device: streaming architecture + CPU benchmarks across iPhone, Pi Zero 2 W, i9

2 Upvotes

Been working on on-device streaming text-to-speech and wanted to share some things I've learned about the architecture trade-offs. Using LinnetTTS as a concrete case study because it's open source and I've got numbers across devices.

Streaming vs batch synthesis

Batch TTS: feed text → wait → get full WAV. Simple, but first-audio latency = full generation time.

Streaming TTS: feed text → get audio chunks as they're generated. First chunk arrives before the rest. Critical when latency matters (voice assistants, interactive UX).

The architecture change isn't trivial. You need:

  • A model that can emit partial audio without seeing future context
  • A chunked audio pipeline that doesn't underrun the output buffer
  • A prime pass that encodes the prompt before first audio

Prime pass vs steady state

When you measure streaming TTS speed you'll see two numbers:

  • Prime pass: one-time cost of encoding text + voice prompt (tens of milliseconds)
  • Step time: cost per chunk (80 ms of audio in this case)

Reporting "step time" that includes the prime pass makes first-audio look worse than it is. Reporting pure step time hides the actual latency. Both numbers matter and should be reported separately.

Chunk size: why 80 ms

Shorter chunks (e.g. 20 ms) = lower first-audio latency but more overhead per chunk. Longer chunks (e.g. 200 ms) = fewer syscalls but higher first-audio latency.

LinnetTTS uses 80 ms chunks (1920 samples at 24 kHz). That's one sweet spot: close enough to real-time for conversational UX, not so short that per-chunk overhead dominates. Streaming contract: first chunk is slightly shorter (1200 samples), last chunk is 720 zeros, concatenation equals the batch output bit-for-bit.

Voice prompt caching

Voice prompts (the "sound like this" conditioning) can be cached after first use. Second utterance with same voice skips the voice-portion of the prime pass. On an Intel i9 core, that's prime dropping from 67 ms to 14 ms for a 44-character sentence.

CPU benchmarks across devices

Same model, Rust runtime, fp16 weights, measured without real-time pacing:

devicethreadsper 80 ms stepRTF
Apple M5 (macOS)13.3 ms4%
iPhone 13 Pro Max A1515.5 ms7%
iPhone 11 A1316.7-7.1 ms8-9%
i9-13900K AVX21 / 47.0-7.4 / 2.5 ms9 / 3%
Pi Zero 2 W (Cortex-A53 1 GHz)459-60 ms75%

RTF = step time / 80 ms. Below 100% = faster than real-time.

Things I learned the hard way

1 thread > 2 threads on A-series. An iPhone A13 step is 6.7 ms and splits into ~80 tiny regions. Waking a worker on another performance core costs about as much as the work it saves. Two threads on A13 = 11.4 ms per step (worse than 1 thread). M-series is different (two threads are about 1.7× faster, roughly 1.9 ms vs 3.3 ms, because M-cores handle wake-up overhead differently).

Playback pacing changes measurement. If you measure synthesis while playback is active with a small queue, the phone's power manager clocks down between steps and you see 3-4× the real cost. Measure unpaced when characterizing throughput.

Chunk boundary gotcha. The first chunk being shorter and the last being zeros feels wrong, but it's necessary so concatenation stays bit-identical to batch synthesis. If you crop them, you lose that guarantee.

Honest trade-offs

  • English only at this release
  • 83 MB fp16 weights file (runs down to Pi Zero 2 W but Pi 4+ has more headroom)
  • Rust runtime under Apache-2.0; weights under a separate free-commercial-use license for the two built-in voices

Links

If you're working on on-device inference and have hit different trade-offs, curious how you handled chunk sizing / prime pass / thread scaling.


r/learnmachinelearning • • 2h ago

Project Looking for the Suggestion on my project

1 Upvotes

Hey , I'm a btech 3rd year student , me and my friend were working on my own project Event Driven Traffic System and I have choosen banglore city i have made this project entirely by using claude and antigravity and at this point im stuck i dont know what to do because the accuracy was stuck at 40 %
I have used catboostclassifier to find congestion (low , medium , high ) for input there are 14 features ,LGBMRegressor for the future congestion (30,60,90 mins) input same as catboost

Dataset https://www.kaggle.com/datasets/asshridattaaigal/bangalore-traffic-analysis-dataset
Githubrepo https://github.com/Adityaxgit-hub/-Event-Driven-Traffic-Congestion-Intelligence-System

Site https://eventdriventrafficsystem.streamlit.app/

I would apprectiate any kind of modifications you suggest and I'll read all the suggestions dump what do ya think


r/learnmachinelearning • • 2h ago

Tutorial Your GPU Kernel Compute-Bound or Memory-Bound? | Kernel Engineering | Session 4

Thumbnail
youtu.be
1 Upvotes

r/learnmachinelearning • • 2h ago

Question Do you guys recomend any resources for neural network architecture?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 8h ago

Help How to starting learning ai and ml to become a genai engineer

3 Upvotes

Could someone suggest me a roadmap there are multiple road maps available on the internet but am confused which to follow by the way am also learning dsa on the side


r/learnmachinelearning • • 2h ago

Login • Instagram

Thumbnail instagram.com
0 Upvotes

I'm trying to teach AI Engineering through video games. Would this actually help you learn?

I've been exploring a different way to teach AI Engineering concepts.

Instead of conventional slides, tutorials and architecture diagrams, I'm building a pixel-art dungeon adventure where every level represents a real AI engineering challenge.

Two characters navigate the dungeon, build AI systems, encounter production failures, debug them and unlock new capabilities as they progress.

The first campaign covers Retrieval-Augmented Generation (RAG), starting with the fundamentals and gradually progressing towards production-grade architectures.

I recently published the first episode, and I'd genuinely love feedback from people learning or working in AI.

Does this storytelling format make the concepts easier to understand? Would you prefer shorter explanations or more detailed technical walkthroughs?

I'm still experimenting with the format, so constructive criticism is very welcome.

Here's the first episode: https://www.instagram.com/p/DgXlVepyLy6/


r/learnmachinelearning • • 16h ago

Question Pivot to MLE from software

12 Upvotes

Readers preparing for MLE interviews can choose an ML or system-design prompt on PracHub and explain their approach. If you're applying to new roles, LandOffer can autofill repeated application fields. I work on both.

Is it possible to pivot to an MLE role with 15y experience as a full software engineer. What is your suggestion on which companies or roles to apply to?


r/learnmachinelearning • • 3h ago

Need Good Notes

1 Upvotes

I am learning AI engineering topics like ML,DL,Rags etc from Campus X yt playlists and I want good notes for AI engineering because at the end I will retain the stuff from notes... So if anyone have any good resources please let me know...I have lizard book pdf which I can read but need notes to revise. If anyone has campus X paid notes which you can share that would be really helpful as I cant afford 1100, I will purchase those notes after I start earning but for the time being please share if anyone has purchased...

Thank you for your help and time !


r/learnmachinelearning • • 7h ago

Opportunity: win $100 USD + VIP swag by building a dataset with Adaption (free, online, closes Dec 6)

2 Upvotes

Disclosure: I help run this at Hackyard, so I'm posting as the organizer.

Here is an opportunity to build something real and get it judged. The Adaption Dataset Challenge is online and free, Nov 16 to Dec 6, 2026 (closes 11:59 PM IST).

What you do: build an instruction-tuning dataset for a language or domain that gets little coverage, improve it with Adaption, then show before-and-after evaluation results. What you learn: how to prove a dataset got better, not just collect data.

What you can win: the first-place team gets $100 USD cash and 2 VIP swag boxes (the cash is only for submissions that use Adaption). Every registrant gets $500 in Adaption platform credits (credits, not cash).

Teams of 1 to 4, solo is fine, 18+. Details and registration: https://hackyard.org/events/adaption-labs

Dates are planned and may change. Happy to answer questions here.


r/learnmachinelearning • • 4h ago

Help I cannot load pytorch .pth file model

1 Upvotes

Hello i am currently learning pytorch so to better understand neural networks and computer vision for robotics.I am currently trying to load a pytorch model i made but when i wanna use model.eval().I get a error the code and the error message is below. i hope you can help me:

# this is a python script on to learn to load and use self made python model
import torch 


from torch.utils.data import DataLoader # to load test data
import torch.nn as nn
from torchvision import datasets


from torchvision.transforms import v2



print("model is made ")
# create device below
device = torch.accelerator.current_accelerator(check_available=True).type if torch.accelerator.is_available() else "cpu"
# load model
lmodel  =  torch.load("pytorch/quickstart0/test_modelen/t1e10w.pth",weights_only=True)


print(f"model is: {lmodel}")
# create test data
testen_data = datasets.FashionMNIST(root="pytorch/dataset/fashion_data",
train=True,
download=False,
transform=v2.Compose([v2.ToImage(),v2.ToDtype(torch.float32,scale=True)]))


apparaat = torch.accelerator.current_accelerator().type if torch.accelerator.is_available() else "cpu"
print(f"we use: {apparaat} device")


print(lmodel)
# create classes 
classes = [
    "T-shirt/top",
    "Trouser",
    "Pullover",
    "Dress",
    "Coat",
    "Sandal",
    "Shirt",
    "Sneaker",
    "Bag",
    "Ankle boot",
]



x,y = testen_data[0][0] , testen_data[0][1]


lmodel.eval() # check model
print("model is now evaluated")
with torch.no_grad():
    x = x.to(device)
    pred = lmodel(x)
    predicted, actual = classes[pred[0].argmax(0)], classes[y]
    print(f'Predicted: "{predicted}", Actual: "{actual}"')

The error message:

Traceback (most recent call last):

File "/home/d22/cv_projects/torch_py/pytorch/quickstart0/load_test1.py", line 45, in <module>

lmodel.eval() # check model

^^^^^^^^^^^

AttributeError: 'collections.OrderedDict' object has no attribute 'eval'