r/learnmachinelearning • u/oversolan007 • 8h ago
r/learnmachinelearning • u/kamesh_singh • 6h ago
Help Need advice on accurate golf ball tracking using computer vision
I'm trying to build a golf ball tracking app similar to Shot Tracer and SmoothSwing. I've experimented with several open-source AI models, but I haven't been able to achieve reliable tracking accuracy.
The ball is tiny and moves very fast, making it difficult to track consistently across video frames.
I'm looking for advice from people experienced in computer vision, object tracking or ML:
- What approaches/models work best for tracking tiny, fast-moving objects?
- Should I combine object detection with temporal tracking, optical flow or Kalman filters?
- Are there any specific models, datasets or research papers worth exploring?
I'm not looking for a basic YOLO implementation. I'd like to understand how to build a genuinely reliable tracking pipeline.
Any suggestions or experiences would be appreciated!
r/learnmachinelearning • u/Strong_Boy_757 • 9h ago
Highschool student self publishes 7 papers and gets some accepted at ICML. ML publishing is so cooked.
r/learnmachinelearning • u/Dense_Primary629 • 18h ago
OpenAI will give up to 200,000 scientists free frontier-model access, applications open Nov 23
OpenAI is expanding a program that gives scientists free access to its frontier models, this time to as many as 200,000 researchers, with applications opening November 23. The idea is to put the strongest models into labs that could not otherwise afford them and see what accelerates.
Free access at that scale could change who gets to do frontier-adjacent research, but it also ties a lot of science to one vendor's platform. If you are a researcher, would you build on access like this, and what would you study first with it?
Research-access news like this is rounded up daily in r/AINewsRumors.
r/learnmachinelearning • u/No-Conclusion3720 • 21h ago
Request Access Dental Management Data Breach Impacts Over 340,000
Access Dental Management disclosed a breach affecting over 340,000 people. Attackers exfiltrated personal records, health data, and insurance information in a single incident.
This is not an isolated case — healthcare organizations are aggressively adopting AI pipelines for claims processing, patient intake, and records management. Each pipeline hop that touches raw PHI is a new exposure point. Concentrated sensitive data at any layer of the stack amplifies the blast radius when a breach occurs.
The 340,000-person headcount here came from one management company. That scale is achievable precisely because health identifiers, insurance IDs, and personal records flow through centralized systems without being structurally isolated from each other.
Practitioners building or auditing these pipelines: how are you handling PHI as it moves between ingestion, processing, and storage layers? Are you tokenizing before it enters the pipeline, after, or relying on access controls at the data store level — and what has actually held up under real audit scrutiny?
r/learnmachinelearning • u/ZeroYDELTA555 • 11h ago
Project i built MicroTorch: a lightweight tensor autograd engine and neural network framework from scratch in pure Python
hey everyone! most tutorials only build scalar autograd (like micrograd), so i wanted to see what it takes to build a batched tensor autograd engine from scratch without PyTorch or NumPy dependencies.
it features:
would love any feedback or thoughts on the architecture: https://github.com/YashrajMiyatra/microtorch
r/learnmachinelearning • u/klsameera • 9h ago
Tutorial I built a free AI course for developers | 45 lessons covering ML, LLMs, RAG and deployment
Hey everyone! I’m building ElysiumHub and wanted to share its Learn AI section—a free, hands-on learning path for software developers.
It covers the foundations of machine learning, neural networks, transformers, LLMs, RAG, fine-tuning, agents and deploying AI features in real applications.
The course includes:
- 45 lessons across nine tracks.
- Coding exercises with starter code and hints.
- Mini projects to practise what you learn.
- Architecture diagrams and real-world examples.
- Quizzes, review flashcards and private notes.
You can follow the roadmap or jump to a topic relevant to something you’re building. Exercises run in your own editor, so you can experiment with the code yourself.
Learning is free; you’ll need a free account for the lesson workspace and progress tracking.
Explore the curriculum: ElysiumHub Learn AI
I’d love feedback from other developers. If you try a lesson, was the explanation clear enough to help you tackle the exercise?
r/learnmachinelearning • u/MajesticPuzzler • 11h ago
SenseNova Loop 9B is a "looped" transformer. Can someone explain why looping helps this much?
SenseNova Loop 9B just came out of preview. It's a 9B looped transformer with 512K context. From preview to release, GAIA went from 37.86 to 69.90 and AutomationBench from 14.33 to 36.67, and they say it competes with Qwen3.8-27B on selected benchmarks.
As I understand it, looping means running the same layers multiple times instead of stacking more layers. So you get more compute per token without more parameters.
Is that the right mental model? And is the jump mostly from looping, or from better training between preview and release? Would like to hear from anyone who has read the details.
r/learnmachinelearning • u/ClickOk5811 • 8h ago
A model that never predicts “positive” gets 95% accuracy: do the arithmetic yourself
A good exercise for anyone starting with classification. Suppose a dataset of 1,000 examples where only 50 are positive (5%), like fraud, a rare disease, or a defect. Compare two models.
Model A: always predicts “negative”.
It’s right on all 950 negatives and wrong on all 50 positives.
accuracy = (0 + 950) / 1000 = 0.9595% accuracy from a model that has learned nothing and never finds a single positive.
Model B: a more realistic model.
It finds 40 of the 50 positives, misses 10, but also flags 60 negatives by mistake. As a confusion matrix:
| Predicted positive | Predicted negative | |
|---|---|---|
| Actually positive | TP = 40 | FN = 10 |
| Actually negative | FP = 60 | TN = 890 |
accuracy = (40 + 890) / 1000 = 0.93
precision = TP / (TP + FP) = 40 / 100 = 0.40
recall = TP / (TP + FN) = 40 / 50 = 0.80
F1 = 2 * (0.40 * 0.80) / (0.40 + 0.80) = 0.533By accuracy, Model A (0.95) beats Model B (0.93). By recall, A is 0 and B is 0.80. Which one is “better” depends on what you need.
I verified these numbers with a small script that counts TP, FP, FN and TN directly, so you can check them by hand too.
What each metric tells you here:
- Accuracy: the share of all predictions that were right. With 95% negatives, it’s dominated by the majority class.
- Recall: of the real positives, how many did you find? A is 0 and B is 0.80.
- Precision: of the things you flagged, how many were real? B’s is 0.40, so 6 out of 10 alerts are false alarms.
- F1: a single number combining precision and recall. It’s useful for comparison, but it hides the trade-off between the two.
Habits worth building early:
- Always compute a trivial baseline first (like “always predict the majority class”). If your model can’t beat it on the metric you care about, something’s off.
- Look at the confusion matrix, not just one number.
- Choose the metric from the cost of mistakes. Missing a fraud case and a false alarm cost different amounts, and the right trade-off depends on your problem.
- Check how the data is split (train, validation and test should keep a similar class balance).
Limits of this example:
- The numbers are made up to illustrate the idea, not from a real dataset.
- Other tools exist for imbalance (class weights, resampling, threshold tuning, precision-recall curves), and none is “the answer”, so look at what fits your data.
What was the first metric that surprised you when you started with ML?
r/learnmachinelearning • u/parmar_jsar_007 • 21h ago
Just need a companion to start learning Ai model training with python from scratches
Hey! I'm looking for someone who's interested in learning Python together, especially exploring AI, training small machine learning models, experimenting with datasets, and building interesting projects. I'm still learning, so it'd be great to find someone who's also curious about this stuff. We can share resources, solve problems, experiment with ideas and learn by building things together. Doesn't matter if you're a beginner or intermediate, just looking for a fellow enthusiast!
r/learnmachinelearning • u/East-Muffin-6472 • 11h ago
Project Curated list of resources: Theory for learning Quantization of LLMs for beginners
Hey everyone!
I have gathered some must read topics, for beginners, to step into the realm of Quantization:
- BitNet: Scaling 1-bit Transformers for Large Language Models
- AWQ: Activation-aware Weight Quantization for LLM Compression and Acceleration
- The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bits
- EfficientQAT: Efficient Quantization-Aware Training for Large Language Models
- LLM-QAT: Data-Free Quantization Aware Training for Large Language Models
- LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale
- QLoRA: Efficient Finetuning of Quantized LLMs
- SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Models
- ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformers
Link is here
r/learnmachinelearning • u/Strict-Purple-2250 • 7h ago
New to AI field
Hi All
I am from non-tech background, don't have any background in coding etc. But I need and want to learn about AI, models, and all concepts in detail. I need to know this to be productive in job and clear interviews in product company. For example, in one of my interview with FANG for non-tech role, recruiter asked me about what is precision, recall value, how would you evaluate AI model etc. I gave my answers but got rejected.
In other interviews also, this has happened.
Then I decided to pursue Machine learning course from Google. Here: https://developers.google.com/machine-learning/intro-to-ml
I would love to read a book on this, please suggest some good books. I tried exploring AI Engineering by Chip Huyen. But then I saw comments in Reddit that it is for ML experience people, not for beginners. So, decided not to read this book.
Please suggest some good books.
r/learnmachinelearning • u/Always_Keep_it_real • 6h ago
Help When to use Hoeffding bound vs exact independence?
I was solving this exercise problem with randomized functions or algorithms
Given two sets A, B, each containing n words, we want to determine whether they share at least 10% of n words. We can sample m words uniformly at random from (A) and check whether they appear in (B). We want to answer YES with probability at least (1-1/n) if they share at least 10% of the n words. We sample m words uniformly at random (with replacement) from A, answer yes if at least one appears in B, and answer no otherwise.
I solved this exercise just using like basic math like and the property of independence. The probability we get a sample not in B is 9/10 and we try m times so (9/10)^m <= 1/n. And I was wondering if that is a correct method or not?
In class we talked about using hoeffding to bound and my approach was a little complicated there. I created a random variable where X_i is 1 if the the sample is in B else 0. The probability of that P(X_i = 1 ) = 1/10, then let X be the sum of X1, ..., Xm and its expected value is m/10 using linearity. My bad event is P(X=0) < 1/n. To use chernoff avergae average Z = X/m, last I caculated the error tolerance to be 1/10 and solved for m.
I get different answers of course but I am not sure if I am wrong with any of them?
r/learnmachinelearning • u/Dmytro_Hieli • 21h ago
Small useful solo ML project. An open weights MIDI generative model from scratch on laptop GPU (5060) and big pretraining on rented (5090). It beats most of larger open models on continuation of the song. Size is 477M (caption version with adapter, 464M base)
I have recently independently was working in my free time on musicar - a family of the models for symbolic midi generation. It is the best at continuation of a small piece of a small part of the song, but also features useful captions following in both Ukrainian and English languages. The note attributes each have their own output head that is chained with MLP and residual connection with another ones.
Context is 2048 RoPE, so 2048 tokens = 2048 notes.
Data: GigaMIDI, Aria-MIDI and part of Discover MIDI, 8.3B notes seen
Training: 41 hours on one rented RTX 5090 (about €30 for ptetraining + tests and generation parameters searc), FP8 + torch.compile, Muon optimiser, warmup-stable-decay schedule
Text: a frozen multilingual encoder (LaBSE) plus a small adapter that feeds the music model a prefix
Continuing real multi-instrument music: CLaMP 3 picks the true continuation more often for musicar (MRR 0.81) than for AMT large, 780M (0.64) or SkyTNT medium (0.67)
Short captions: follows them better than MIDI-LLM (1.7B), and works in Ukrainian where other systems score near zero.
I would like to hear feedback on the quality of its output. Especially from the people close to music.
Weights: https://huggingface.co/Dimitri-206265
Code: https://github.com/DmytroHilei/Music_generative_model
Try out and compare by ear: https://musicar-ivory.vercel.app/samples
Model architecture is provided on the diagram, it is the caption version
r/learnmachinelearning • u/pan_with_gun • 23h ago
Pathway to learn AI to be job ready.
reddit.comr/learnmachinelearning • u/Convincing_Convo • 16h ago
Flow matching, explained with a galaxy
Diffusion takes a curvy path from noise to data, so it needs many tiny steps. Flow matching learns straighter paths, so a few big steps get you there.
I made a detailed visual explainer of it.
What confused you most about flow matching?