r/learnmachinelearning • u/Abject_League6170 • 16h ago
r/learnmachinelearning • u/Delicious_Abies_9708 • 16h ago
Project I’m building a free, interactive AI & ML book that runs on any Vulkan GPU (no CUDA or ROCm needed — tested on a Steam Deck) — looking for feedback!
billyblackburn.github.ioHey everyone!
I noticed that almost every hands-on ML/deep learning guide assumes you have a modern NVIDIA CUDA GPU, a supported ROCm card, or a cloud GPU subscription. I wanted to learn (and teach) how AI actually works from the ground up on the hardware I already own — my Steam Deck — so I started putting together an interactive, follow-along book bundled with a pure-Vulkan GPU toolkit (vkdata).
You can read the first 6 chapters right in your browser/phone (no install required):
- Online Book: https://billyblackburn.github.io/vkdata/
- GitHub Repo (runnable notebooks + Vulkan toolkit): https://github.com/billyblackburn/vkdata
What’s in the book so far:
Part 0 · Foundations (Building Blocks of Neural Networks):
- The Perceptron: All 5 basic single-neuron logic gates (
AND,OR,NOT,NAND,NOR), watching a single straight line learn, running a smooth GPU neuron, and hitting theXORwall. - Multi-Layer Perceptrons (MLPs): Solving
XORby wiring 3 perceptrons together, proving why activation functions (GELU/ReLU) are mandatory, visualizing 1 Neuron (60%) → 4-Neuron Diamond MLP (100%) → Deep MLP Circle (100%), and connecting3 → 17 → 1,185parameters up to8Bin Llama 3.
- The Perceptron: All 5 basic single-neuron logic gates (
Part I · End-to-End Projects (Classical ML vs. Deep Learning on the exact same split):
- California Housing (Regression): Feature discovery & Classical ML (
$69.6kraw baseline →$52.7kGPU KNN) vs. a Residual MLP ($48.2kRMSE,R² = 0.828). - Fashion-MNIST (Images): Classical CV (
PCA"Eigen-Clothes" + hand-crafted Sobel/HOG edges →86.45%) vs. a 2D CNN trained directly on raw pixels in 46s on a Steam Deck APU (87.85%, boostingShirtby+11.5points).
- California Housing (Regression): Feature discovery & Classical ML (
The repo also has deeper chapters on writing Vulkan GPU kernels in Python, UMAP/manifold learning, and training a tiny Llama-style Transformer.
I’d love your honest feedback on:
- Clarity for beginners: Do the Foundations chapters (Perceptron → MLP → LLM parameters) make sense without feeling too hand-wavy or too math-heavy?
- Reading experience: How does the mobile/web version look and flow?
- What should come next? Would you rather see a Foundations chapter on Backpropagation & Gradient Descent, or another end-to-end Classical ML vs. Deep Learning project (like imbalanced classification / churn)?
Thanks for taking a look — any critique or suggestions are super welcome!
r/learnmachinelearning • u/Green_Programmer_113 • 17h ago
Can u help me pls with AI tensors
reddit.comr/learnmachinelearning • u/ashishach • 17h ago
Discussion 3 evaluation mistakes that made my ML & LLM projects look 95%+ accurate when they were actually failing 🚀
Hey everyone! While building and testing ML models and LLM pipelines over the past few months, I noticed that the hardest bugs weren't syntax errors—they were evaluation mistakes that made a weak pipeline look great on paper.
Here are 3 evaluation traps that caught me (and how to fix them):
📊 **1. Naive random splits on templated or grouped data**
🧪 **2. Tuning prompts or hyperparameters on the test set**
🛠️ **3. Trusting surface-level keyword graders**
**Question for the community:** What was the sneakiest data-leakage or evaluation bug you ever caught in one of your ML or LLM projects?
r/learnmachinelearning • u/Ar_if • 17h ago
Can someone get me access to these datasets?
reddit.comr/learnmachinelearning • u/Complete318 • 1d ago
Discussion Why a real-time multimodal assistant should not sample every signal at the same rate
In the LingSante-Live architecture thread, Ant Ling separates three observation rhythms: movement needs frequent updates, video-based physiological estimates need stable windows, and device readings can arrive as events. That is a useful systems distinction. Sending every frame through the same reasoning path can waste compute, while sparse sampling can miss a change in activity.
I would evaluate an adaptive sampler by task rather than with one global interval: missed movement events, stability of a physiological estimate as the window changes, and the time from a device event to updated guidance. The thread explains the design choice; it does not publish those measurements or validate the physiological estimates. Which signal would you let trigger a new foreground response, and which would you leave for the background?
r/learnmachinelearning • u/jasonheecs • 19h ago
I trained a couple of machine learning models to recognize fruits
r/learnmachinelearning • u/Large-Dark-1693 • 13h ago
Question How do I
So Important stuff first
I’ve never coded or said hello world to a computer before. I am not trying to make this an income opportunity(I can’t, my certificates wouldn’t allow me to ) I just wanna know what steps I should take or shouldn’t
Do I have to understand maths in order to understand machine learning
ChatGPT said yes , just wanted to see what you guys think about it and do let me know what coding language should I start learning
r/learnmachinelearning • u/PreparationChoice692 • 19h ago
PatentAgentBench: The same model’s prior-art recall ranged from 7.7% to 55.0% across agent harnesses
I’m part of the PatSnap team behind PatentAgentBench. We wanted to see how well LLM agents could find and use evidence in patent work when they had to run the search themselves.
We evaluated 27 model–harness pairs across 510 cases drawn from real patent records and professional materials. The eight task suites cover prior-art and freedom-to-operate searches, claim charting, drafting, office-action responses, and translation. On search tasks, agents had access to a commercial patent-search service via MCP and generated their own candidate lists.
Three results stood out.
- The harness ranking changed with the task. Claude Opus 5 recovered 7.7% of annotated invalidity references with OpenClaw, 28.7% with Claude Code, and 55.0% with Hermes. On patent drafting, the same model had a higher pass rate with Claude Code than with Hermes (66.7% vs. 53.3%).
- Finding one relevant reference was much easier than finding the full set. On novelty search, GLM-5.3 with Codex found at least one annotated patent family in the top 100 for 86.3% of cases. Its average recall across those cases was 42.3%.
- Few office-action responses passed. The strongest configuration, GPT-5.6-Sol with Hermes, passed 9 of 40 cases. A response passed if it scored at least 80/100 under an expert-designed rubric applied by an LLM judge.
The highest overall score was 38.4/100 for Claude Opus 5 with Hermes. That score gives equal weight to the eight task-specific metrics. Failed executions count as zero in the primary results.
For a follow-up, I’d run the same cases twice: once with agents retrieving their own candidates and once with every agent receiving the same candidate set. What else would you hold fixed across harnesses to separate retrieval failures from failures to use the evidence?
r/learnmachinelearning • u/Worldly-Pair7585 • 20h ago
Help Mathematics MSc graduate looking to transition into ML/AI research and pursue a PhD abroad. Need genuine advice
Hi everyone,
I recently completed my MSc in Mathematics, and I'm considering transitioning from pure mathematics towards Machine Learning/AI, particularly the mathematical side of ML. I'm interested in areas like mathematical ML, deep learning, optimization, and statistical learning.
My long-term goal is to pursue a fully funded PhD abroad, but I also want to keep both academia and industry open as career options afterward.
I'm confused about how to approach this transition efficiently. Should I focus on learning ML fundamentals, Python and building projects first, or try to get involved in research as early as possible? Would taking a research assistant/project position in India before applying for PhDs abroad be a good idea?
I'd really appreciate advice from people who have actually made a similar transition from mathematics to ML/AI research, especially those who went on to pursue a PhD or work in industry. What did your journey look like, what skills did you prioritize, and what would you do differently if you were starting again?
I'm looking for honest, practical advice rather than a list of courses. Thanks!
r/learnmachinelearning • u/abenko83 • 21h ago
Silent failure modes in multi-step AI agents
reddit.comr/learnmachinelearning • u/Archis_ • 1d ago
Question Starting out with AI/ML tbh have no idea where to start from
I feel so overwhelmed seeing everyone making crazy projects meanwhile i don't even know where to even start from, i know python but idk the exact flow of topics or learn or follow so like can anyone tell me what all should I follow to make cool projects like everyone out here. 😭
r/learnmachinelearning • u/Rude-Olive1592 • 22h ago
Where can I find high-quality research papers on Machine Learning, AI, and Computer Vision as an undergraduate student?
Hi everyone!
I'm currently a third-year Computer Science Engineering student, and I'm interested in exploring research in Machine Learning, Artificial Intelligence, and Computer Vision.
I'd like to start reading actual research papers published by reputable researchers and institutions, rather than just tutorials, blogs, or beginner-friendly articles.
I'm looking for recommendations on:
- Websites or databases where I can find high-quality, peer-reviewed research papers.
- Good conferences and journals to follow in ML, AI, and Computer Vision.
- Recommendations for interesting or influential papers that would be a good starting point for an undergraduate student.
- Communities or platforms where I can connect with researchers and learn about ongoing research.
My long-term goal is to develop a deeper understanding of the field and eventually explore doing research myself.
I'd really appreciate recommendations from PhD students, researchers, professors, or anyone working in these areas.
Thank you!
r/learnmachinelearning • u/iekmuby • 22h ago
Building a parasite dataset from scratch: Instagram hashtags, dancing memes, and ditching CVAT for a Flash 5-inspired tool [Build in Public #2]
galleryr/learnmachinelearning • u/Fun_Dig_6233 • 22h ago
I made a tiny neuron that runs in 12 instructions on RISC-V chips. - paper discussion
I've been messing around with a way to let small chips make quick decisions without waking everything up. It's a leaky integrate-and-fire neuron: it watches a signal and only fires when something has really changed.
The fun part is that it's the same maths as CUSUM, so you can predict the false-alarm rate and delay instead of guessing a threshold. On RISC-V it takes 12 instructions and 34 bytes using one mulhsu. On chips with no multiplier, a shift-based version takes the same 12.
Heads up: all of this is from simulation and an emulator. I haven't measured power on real chips yet, so I'm not claiming anything about energy.
Code and paper: https://github.com/irfanmuhammedharis/leaky-integrate-and-fire
Paper prepared with help of claude
r/learnmachinelearning • u/kosva420 • 23h ago
PINN for Aircraft Performance Prediction and System Identification
Hello guys, I am developing a hybrid method (PINN & Output Error Method) for aircraft (UAV) TakeOff Performance Prediction and Physics Discovery. More specific for the ground roll.
I don't model the roll of the aircraft, but I assume that the Lift Off happens at the time the Lift is equal to the Weight.
At the moment, PINN works on synthetic data with gaussian noice, real data from real flight takeoffs is the next step.
Whoever has the time to comment on my work will be appreciated. Thanks!
I uploaded my GitHub repo.
r/learnmachinelearning • u/petburiraja • 23h ago
Free beta: read my book on designing and operating production AI systems
I'm opening a private beta for my book on designing and operating production AI systems, and I'm looking for engineers to read it before it ships.
It covers what sits around the model: how state, latency, cost and failure modes connect once a system runs in production.
What's inside:
- Reliability, latency and cost as one architecture problem
- Long-running agents with durable state, observable decisions and clear human authority
- How retrieval, memory, context and fine-tuning fit together
- Evaluation, security, tools and multi-agent coordination
- Failure analysis and reference blueprints that connect the parts
It's written for senior engineers, architects and technical leaders who build and operate these systems.
The beta is selective: I'm choosing readers by role and by what they build. Readers who join can open all 20 chapters, read as much as suits them, and give feedback privately.
If that's your work and you'd like to read it, comment "beta" and I'll send you the details.
r/learnmachinelearning • u/ArchitectingAI • 1d ago
Designing an enterprise ML training platform, then mapping it to real tools
r/learnmachinelearning • u/Massive-Jury-1562 • 1d ago
Project I've developed an experimental self-learning LLM called LuLu, built around LFM3-1.7B.
I've developed an experimental self-learning LLM called LuLu, built around LFM3-1.7B.
Architecture
LuLu uses an architecture inspired by Side-Tuning. The base model's weights remain frozen.
During conversations, the model determines whether an interaction contains information worth learning. If it decides to learn, it updates a small auxiliary output layer.
During subsequent inference, when the current input is relevant to previously learned information, the auxiliary layer is combined with the original output layer to adjust the next-token logits.
This allows the model to incorporate information from previous interactions without directly modifying the base model's weights.
Why I built it
I wanted to experiment with a way for a relatively small language model to adapt through conversations without continuously fine-tuning the entire base model.
Technical details
I've written a more detailed explanation of the architecture and implementation on Qiita. The article is in Japanese:
LuLu is still experimental. I'm particularly interested in the stability of this kind of self-directed learning and how auxiliary output layers can affect the base model's behavior.
I'd appreciate technical feedback and discussion!
r/learnmachinelearning • u/ArchitectingAI • 1d ago
How recommendation systems learn user preferences: from collaborative filtering to multi-interest models
r/learnmachinelearning • u/FullStackFrenzy • 1d ago
Project I made a free, no-signup set of 48 short lessons for learning RAG by building one
I kept seeing people learn RAG from long docs and videos, then get stuck the moment they tried to build something. So I made LearnGenAI, which is closer to Duolingo than a lecture.
You go through short cards, one idea at a time, with instant feedback. There are 48 lessons, and most are only 2 to 4 cards. Across them you actually build a handbook search bot: chunking, embeddings, hybrid search (BM25 + RRF), reranking, citations, query rewrite, and evals (context precision, recall, and when the bot should say it doesnt know).
The exercises run on real retrieval code, so tuning top-K changes the scores you see. Interview-style questions come back after 1, 3, 7, 14 and 30 days so they stick. You can also earn XP and keep a streak.
Its free and you dont need an account: https://www.learngenai.space/
If you try a lesson, tell me what felt confusing. Thats what I want to fix next.
r/learnmachinelearning • u/obitouchiha775 • 19h ago
DEEP_RETINA_CAPSTONE_PROJECT_SR_UNIVERSIRT
🩺 What if an AI eye-screening tool knew when NOT to trust itself?
We built DeepRetina-QA at u/SRUniversity for our capstone—a 3-stage quality-aware pipeline for diabetic retinopathy: 🔹 MobileNetV2 filters out blurry/poor scans 🔹 EfficientNet-B3 grades 5 severity levels (APTOS 2019) 🔹 Monte Carlo Dropout flags low-confidence cases for specialist review
Early 13-epoch run: 66.5% train / 56.7% val accuracy (mild overfitting—QWK, F1 & calibration up next). In healthcare AI, knowing when to defer matters as much as accuracy.
Huge thanks to guide Mr. Bediga Sharan & School of CS & AI! Team: V. Preetham, CH. Bhanu Prakash, M. Rushikesh, S. Akshith Reddy, R.S.S. Gourishwar.
How would you set the threshold for "I'm not sure"? 👇
#DeepLearning #HealthcareAI #MedicalImaging #ComputerVision #ResponsibleAI #SRUniversity
r/learnmachinelearning • u/Heavy_Orange387 • 1d ago
Help Completed Andrew Ng's ML Course 1, but I don't feel confident about implementing anything independently. Need some guidance.
Hey everyone!
I'm currently pursuing an Integrated MSc in Mathematics, and my long-term goal is to become a Machine Learning Engineer.
I've been learning ML for a while now, and I wanted to get some advice from people who are more experienced in this field.
Here's where I currently stand.
What I've learned so far:
I've covered the basics of Python for Data Science, including:
- NumPy
- Pandas
- Matplotlib
- Seaborn
I learned these through the Udemy course Python for Machine Learning & Data Science Masterclass by Jose Portilla.
After that, I started Andrew Ng's Machine Learning Specialization on Coursera. I've successfully completed Course 1 out of 3 (Supervised Machine Learning: Regression and Classification).
The topics I've covered include Linear Regression, Multiple Linear Regression, Gradient Descent, Vectorization, Feature Scaling, Feature Engineering, Polynomial Regression, Logistic Regression, Cost Functions, Regularization and Overfitting.
I really enjoyed Andrew Ng's explanations. The mathematical intuition and theory were interesting, and I feel like I have a reasonable understanding of the concepts.
But here's where I'm struggling.
Despite completing Course 1, I don't feel confident about implementing these algorithms independently.
The course has programming assignments and optional labs where we're expected to go through the provided Jupyter notebooks, understand the existing code, fill in missing sections and execute everything.
I find this somewhat difficult because the way I learned Python and NumPy is quite different from the coding style used in those notebooks.
Sometimes I understand what the algorithm is doing mathematically, but translating that understanding into actual code is where I get stuck.
I haven't really tried implementing an entire ML algorithm from scratch independently yet.
And honestly, I don't want to keep completing courses without being able to implement what I've learned.
Here's the approach I'm planning to follow.
After discussing this with a few AI tools and considering different suggestions, I've decided to postpone Course 2 temporarily and properly revisit Course 1.
My current plan is:
- Rewatch the lectures and understand the theory, mathematics and intuition behind each topic.
- Understand how and why each algorithm works, rather than memorising formulas.
- Try implementing the algorithms independently using NumPy, writing the code myself instead of copying existing implementations.
- Once I've implemented them using NumPy, learn the corresponding scikit-learn implementation.
- Compare the results from my NumPy implementation with scikit-learn and investigate any differences.
For example, I'll implement Linear Regression, including its cost function and gradient descent, using NumPy first. Then I'll perform the same task using scikit-learn and compare the results.
My thinking is that if I can independently implement an algorithm and understand why both implementations produce their respective results, I'll have a much better understanding of what I've learned.
My December plan (December 1–21):
I have these three weeks available, and I want to use them to:
- Revise all the topics from Andrew Ng's Course 1.
- Strengthen my understanding of the mathematics and theory.
- Implement the algorithms independently using NumPy.
- Learn scikit-learn and compare implementations.
- Revise NumPy, Pandas, Matplotlib and Seaborn.
- Build 1–2 small projects to apply what I've learned.
I haven't learned scikit-learn yet. The Udemy course I mentioned earlier has dedicated lectures on scikit-learn and ML implementations.
For those familiar with that course, are its scikit-learn lectures sufficient for a beginner? If not, please suggest some good FREE, preferably YouTube-based resources to learn scikit-learn.
A few questions I'd really appreciate your opinions on:
- Is my NumPy → scikit-learn → comparison approach actually a good way to learn ML?
- Is implementing algorithms from scratch really necessary for someone aiming to become an ML Engineer?
- How do you approach learning a new ML algorithm? Do you first understand the theory and then code, or follow an implementation alongside a tutorial?
- How much mathematics should I understand before moving towards practical implementation?
- What are some good free resources (preferably video-based) to understand ML implementations in depth?
- What should I learn after completing Andrew Ng's Machine Learning Specialization?
- When should I start building projects, and what kind of projects would genuinely demonstrate my understanding?
- How important are GitHub projects, internships, open-source contributions and Kaggle competitions when applying for ML Engineer roles?
- What skills, apart from ML algorithms, should I gradually develop to become a good ML Engineer?
- What does an actual day-to-day job of a Machine Learning Engineer involve? How different is it from what we learn in courses?
- What mistakes should beginners avoid when learning ML?
- If you were starting your ML journey again today, what would your learning roadmap look like?
I'd especially love to hear from people currently working as Machine Learning Engineers. I want to understand what skills actually matter in the industry and how I should prepare myself from the beginning.
I'm not looking for shortcuts or a quick roadmap to get a job. I genuinely want to develop a strong foundation and become good at implementing, understanding and eventually building ML systems.
Any honest feedback, criticism, resource recommendations or personal experiences would be really helpful.
Thanks!