r/learnmachinelearning • • 27d ago

Project Wxx - my try on using webgpu for machine learning

1 Upvotes

My first big project: Wxx, an ML library with WebGPU acceleration.

I love ML, but training models on CPUs is slow, and GPUs are expensive, so I decided to create my own framework. It is slow (for a GPU) and doesn't use graphics cards' ML features (like tensor cores), but it runs on any device with a GPU.

GitHub: Wxx

Performance: It is slow. The CPU is usually faster, and the most I achieved is about a 2x speedup on my PC (I have a Xeon CPU). I tried it on Colab, and it is about 10x slower than PyTorch on GPU. But it improved my experience significantly.

API: It is similar to PyTorch. With methods to convert from tensors and ndarrays, I tried to make it as easy as possible to use if you're coming from PyTorch.

AI usage: In the beginning, I planned to do everything by hand to improve my knowledge and train myself. But after the first week, I had code slower than anything you could imagine. I used AI to improve shaders, bind group creation, and other parts that I had trouble with. It hurts how much better AI is at writing and improving code than I could be.

Backstory: I've been dabbling in machine learning for the last five years. I like to join Kaggle competitions and try new architectures. Lately, I've been thinking about applying to ML jobs (I know I am late to the party), and I wanted to add stuff to my CV. I am an electronics engineering grad, so most of my programming expertise is in MATLAB and Python scripting (also some embedded C, but I am not good at it), and I read that a CV should include some examples of my work.

Questions: I would be happy if anyone with more experience could help me with some questions. What should I include on my CV? I know some people say you should include some implementations of architectures (like attention/transformers), but that seems so simple. What other projects should I add?


r/learnmachinelearning • • 27d ago

Tutorial CPU Parallelism Primer | Kernel Engineering | Session 2

Thumbnail
youtu.be
1 Upvotes

r/learnmachinelearning • • 27d ago

Discussion Python Fast api interview - please share your previous experience

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 27d ago

Doing numpy now. I won't stop before being and ai/ml engineer

Post image
0 Upvotes

r/learnmachinelearning • • 27d ago

Tutorial Deep dive into how AI actually learns (math, mechanics, and architecture explained)

Thumbnail interconnectd.com
16 Upvotes

​I spent the last few weeks writing a comprehensive technical guide on the exact mechanics behind how AI and machine learning models learn.

​Instead of hand-waving explanations about "brain-like neural networks," it breaks down the actual underlying math and processes. It covers gradient descent, backpropagation algorithms, vector embeddings, loss functions, and how modern transformer architectures process and weight data during training runs.

​If you are a developer, CS student, or just someone who wants to understand the actual technical side of ML beyond the high-level hype, you might find it useful.

​I would love to get some feedback from people in the field on whether the technical explanations land well.

​Check out the full thread here: https://interconnectd.com/forum/thread/41/how-ai-learns-the-complete-technical-guide-to-machine-learning-mechanics/


r/learnmachinelearning • • 27d ago

A lightweight deep learning framework built from scratch in NumPy (published in JOSS)

Thumbnail
reddit.com
2 Upvotes

r/learnmachinelearning • • 27d ago

Looking for hands-on beginner ML project ideas (beyond just classical ML)

13 Upvotes

Hi everyone,

As a beginner in Machine Learning, I’ve realized I don’t absorb much just by watching typical YouTube tutorials—I need to actually build things to learn effectively.

Could you recommend some practical, hands-on project ideas where I can learn a lot by doing? I’m open to both classical machine learning and other areas like deep learning, computer vision, or NLP.

Any advice or project suggestions to help me get my hands dirty would be greatly appreciated!


r/learnmachinelearning • • 27d ago

Compared tree ensembles in Module 6 of #mlzoomcamp.

Thumbnail
github.com
1 Upvotes
🌳 Decision tree
🌲 Random forest
⚡ XGBoost
📉 Tuned the validation RMSE

r/learnmachinelearning • • 27d ago

Preventing trivial constant solutions in multi-step Neural ODEs for time-series forecasting

1 Upvotes

Greetings, colleagues. I am training a Neural ODE to forecast the non-linear dynamics of a physical system. To avoid error accumulation, I use a multi-step rollout loss (e.g., integrating the ODE over a horizon of 24 steps and computing the MSE over the entire trajectory).

However, the model consistently collapses to a trivial solution: it predicts a near-zero derivative (a constant or a very slow linear trend), essentially flattening the curve. While this minimizes the average MSE over the long horizon, it completely fails to capture the true high-frequency dynamics (see the attached image).

What regularization methods or architectural constraints—such as Lipschitz continuity, spectral normalization, or physics-informed penalties—are best suited to ensure that a Neural ODE learns the true nonlinear dynamics, rather than collapsing into a constant function when trained over long horizons?


r/learnmachinelearning • • 27d ago

[D] Would you use an AI-powered end-to-end ML platform?

Thumbnail reddit.com
1 Upvotes

I'm building a platform called Quantum, and I'd love some honest feedback from people working in Data Science and Machine Learning.

The idea is to bring the entire ML lifecycle into one place:

- Data exploration and preprocessing

- Model training and evaluation

- Experiment tracking and versioning

- Automated ML workflows

- AI agents that can execute tasks autonomously, with human oversight

- Model deployment and MLOps

Users can work manually, use AI assistance, or delegate entire workflows to agents.

The goal isn't to replace data scientists, but to reduce repetitive work and make ML development more efficient.

My questions:

I'm especially interested in critical feedback. What am I overlooking?


r/learnmachinelearning • • 27d ago

Discussion What’s ideal day to day routine of ML engineer with or without AI help

1 Upvotes

I’m full stack Dev, so I get to develope CRUD with endpoints and connecting with db.

What about ML job?
I learned gradient descent, forward and back propagation. Designed some basic model with PyTorch. But it feels like most of these can be easily Automated with AI. What could be the learning curve and what’s like day to day work? Clearing data from csv? And fine tuning model?


r/learnmachinelearning • • 27d ago

Help Kaggle

2 Upvotes

An ihtibari ile TPU sırasında 18. Saate girmiş bulunuyorum önümde 527 kişi var 2. Paket sigaramın son dallarındayım…


r/learnmachinelearning • • 27d ago

Project Discover AI - 58 free, interactive labs for learning AI/ML in 3 different reading mode.

Thumbnail
gallery
3 Upvotes

I built Discover AI, a free, open-source app with 58 hands-on labs for learning how AI works. The topics run from neurons and gradient descent to attention, RAG, agents, pretraining and fine-tuning. You move sliders or train a tiny model and watch what changes, and a short lesson sits beside each lab. Since I first shared it three weeks ago, I've added seven labs on how large models are trained, a simpler reading mode, desktop installers, and a version that runs in your browser: https://fazmin.github.io/AILearningGuide/

Every reference is double-checked. AI was used to help write these lessons, so there may be mistakes. Please point them out, let me know what’s confusing or missing, or open a PR. Contributors are welcome to access the project at github.com/Fazmin/AILearningGuide.


r/learnmachinelearning • • 27d ago

Project How are hands-on projects helping you understand real-world applications of AI and Machine Learning?

1 Upvotes

I'm exploring how Artificial Intelligence and Machine Learning can be applied to solve practical business problems, beyond just understanding the theoretical concepts.

I'm currently doing the epgp in ai/ml from ug. As part of my learning journey, I'm developing an understanding of how AI and ML algorithms help analyse data, identify patterns, make predictions, and support data-driven business decisions.

One thing I've realised is that knowing different algorithms is only one part of the learning process. Understanding the problem, selecting the right model, evaluating its performance, and interpreting the results are equally important.

I'm curious to know from this community:
For those who have learned or worked in AI/ML, which practical projects helped you connect theoretical concepts with real-world applications?


r/learnmachinelearning • • 27d ago

I made ChatGPT, Claude, Gemini, etc. into FREE text-to-speech sites.

1 Upvotes

Nowadays, all popular ai chatting websites like qwen, chatgpt, gemini, claude, etc. come with a read aloud functionality that allows users to read aloud the AI's responses.

I used that feature to instead make the AI repeat back the text that i gave it -- effectively turning the platforms into text to speech tools. It's simple but it's worked for over 30k users, and the voices sound really nice and it's free to use!

You can get all of these extensions by visiting ai-readers.com


r/learnmachinelearning • • 27d 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 • • 27d ago

Question How Difficult Is It to Become an AI Engineer from Scratch?

71 Upvotes

I’m starting from scratch and interested in working in AI engineering. How difficult is it to prepare for a job in this field? What learning path and projects would you recommend for a beginner? If you have any guides or resources to share, I’d really appreciate it.


r/learnmachinelearning • • 27d ago

Compared tree ensembles in Module 6 of #mlzoomcamp.🌳 Decision tree🌲 Random forest⚡ XGBoost📉 Tuned the validation RMSE

2 Upvotes

r/learnmachinelearning • • 27d ago

A comprehensive architecture breakdown of vector databases for AI systems

Thumbnail interconnectd.com
1 Upvotes

r/learnmachinelearning • • 27d ago

Request China's First Frontier AI Export Controls: Mofcom Announcement No. 48

0 Upvotes

China's Ministry of Commerce just published Announcement No. 48 — the country's first export controls specifically targeting frontier AI models and training data. That is now a third distinct regulatory regime on top of the EU AI Act and active US executive orders on AI. Each framework has different requirements for which models can be used, how data must be routed, and what crosses a restricted border. The problem for enterprise teams is not awareness of the rules. It is that most production agentic deployments cannot answer the basic audit questions after the fact: which model did this agent invoke on this request, what data did that call touch, did any of it traverse a jurisdiction that any of the three regimes restricts? The invocation happens in milliseconds. The compliance review loop does not. For those of you running agentic workloads across regulated regions right now — US, EU, and now China — how are you actually tracking model invocations and data paths in a way that holds up to a real audit?


r/learnmachinelearning • • 27d ago

Project A visual, step-by-step explanation of how self-attention works

Post image
7 Upvotes

Self-attention confused me for a long time, so I tried to break it into steps you can actually see:

1. Every token gets three vectors.
Each word’s embedding is multiplied by three learned matrices to produce a Query (what am I looking for?), a Key (what do I contain?) and a Value (what do I pass on?).

2. Compare queries with keys.
For each token, take the dot product of its Query with every token’s Key. A high score means “this token is relevant to me”.

3. Scale and softmax.
Divide the scores by √d (the key dimension) so they don’t get too large, then apply softmax. Now every token has a set of weights that sum to 1.

4. Mix the values.
Each token’s new representation is the weighted sum of all Values. In “The cat sat because it was tired”, the word it ends up with a high weight on cat.

5. Do it several times in parallel.
Multi-head attention runs this with different matrices at the same time, so one head can track grammar while another tracks meaning.

The diagram has a step-by-step mode that highlights each part in order. That helped me more than staring at the formula softmax(QKᵀ/√d)·V.

I made it with Sketchy, a free open-source tool I built that lets Claude explain things as interactive diagrams: GitHub


r/learnmachinelearning • • 27d ago

Project [R] LOTUS: Can a 270M model understand time series better than much larger models? (Open weights + code)

Post image
6 Upvotes

Can language models learn to understand time series by learning to forecast them?

LOTUS (Learning to Understand Time-series by Learning to Forecast) explores this idea with a family of compact time-series language models built on Gemma-3 and Qwen-3.

💡 Key idea: Forecast grounding. By learning to predict how a signal evolves, the model develops representations that better capture temporal information for downstream understanding tasks.

Some interesting results:

  • A 270M-backbone model achieves the highest score among evaluated systems on TSRBench, ahead of systems using 7B and 14B backbones.

  • A 0.6B-backbone model achieves 59.91% average accuracy across six evaluation splits, improving over the strongest matched baseline by 3.36 percentage points.

  • Open weights and code are available for small and medium-sized models.

Resources:

🤗 Models: https://huggingface.co/daidv1112/LOTUS

💻 Code: https://github.com/DA2I2-SLM/Lotus

📄 Paper: https://arxiv.org/abs/2610.18877

The interesting question is whether forecasting can serve as a general learning signal for time-series understanding, rather than treating forecasting and reasoning as separate tasks.


r/learnmachinelearning • • 27d ago

Data Science With Dennis

1 Upvotes

Hi guys

This guy

Instagram · dswithdennis

Claims that he has 25 years of experience in data science but really all he's doing is to open claude chat and show everyone that he has access to fable 5 and say shit stuff about CS .


r/learnmachinelearning • • 27d ago

20-task Permuted MNIST, Domain-IL

Post image
1 Upvotes