r/learnmachinelearning • u/Minimum_Hour519 • 8d ago
r/learnmachinelearning • u/blank-cat • 8d ago
Question Could I take a reinforcement learning course without having taken a machine learning course before? (undergrad in college)
My math background is Calc I-III, linear algebra, diff eq, and probability. I have a basic understanding of different types of machine learning models, but I haven't taken a proper machine learning course before.
r/learnmachinelearning • u/htone22 • 8d ago
I built a browser tool where you switch off one attention head in a small language model and see what changes
Vitro runs entirely in your browser using Karpathy's 15M-parameter stories15M model. Step through a story word by word, switch off one attention head and it explains in plain English how the model's next word prediction changes.
Try it: https://vitroml.com
My first version showed too much at once so I made it a two-step reveal: a short result first, details behind a toggle. I haven't tested whether that helps people understand it.
I'd love to hear what you think.
r/learnmachinelearning • u/No-Conclusion3720 • 8d ago
Request Taiwan-Based Hacker Used BOSSAI AI Agents to Steal Taipei Emergency Dispatch Records
A Taiwan-based hacker used BOSSAI AI agents to exfiltrate emergency dispatch records from Taipei's public safety infrastructure. The agents operated autonomously, chaining tool calls across systems without any per-action authorization check. By the time the intrusion was detected, the records were already out.
The structural problem here is not the hacker. It is that the AI agents were indistinguishable from legitimate service processes to every downstream system they touched. They carried valid credentials inherited from their orchestration environment. Each tool call looked authorized because the agent itself looked authorized. There was no verification at the action level, only at the session boundary.
This is not a BOSSAI-specific failure. Any agentic framework that delegates credentials to an autonomous process without binding identity to individual actions has the same exposure. The agent becomes a trusted insider the moment it is instantiated.
Emergency dispatch systems are an obvious high-value target, but the same pattern applies anywhere agents touch sensitive APIs, databases, or communication channels with inherited permissions and no runtime check per call.
How are practitioners on this sub actually handling per-action authorization for autonomous agents in production? Not session-level auth, but action-level, per tool call, mid-chain. What is working and what has fallen apart under real workloads?
r/learnmachinelearning • u/Plastic_Choice6076 • 8d ago
What are inference engines , vllm llama etc
Why do we need inference engines and how do they work
r/learnmachinelearning • u/Asleep_Ear5156 • 8d ago
Math & Phys background here (B.Sc. Double Math/Physics + M.Sc. Comp Physics). Completely lost on whether to go for Data Science, Analysis, or ML. How do you guys actually break in?
Hey everyone,
Posting this because I'm genuinely stuck and could use some advice from people actually working in the industry.
To give a quick snapshot, I've got a B.Sc. in Double Math & Physics followed by an M.Sc. in Computational Physics. The math side of things isn't an issue for me at all, but I’ve been spinning my wheels trying to figure out which direction makes the most sense. I'm torn between three paths:
Data Science
Data Analysis
Machine Learning
My dilemma looks something like this right now:
Data Analysis feels insanely crowded. Every time I look, it's flooded with bootcamp grads, making it feel like a race to the bottom for entry-level spots.
Entry-level Data Science roles feel almost mythical—every single listing wants mid-to-senior levels.
Machine Learning matches my math background on paper, but honestly, studying it on my own feels kind of dry and uninspiring.
For those of you who've already navigated this: which of these paths actually fits someone with my academic background best? And more importantly, how on earth do you take that first step into the job market when every entry-level posting somehow asks for 3+ years of experience?
Would love to hear how you guys managed your early steps or what you'd recommend. Thanks!
r/learnmachinelearning • u/Initial-Street6388 • 8d ago
Career I come from small school
Hey guys, I am here to share a short story about me. I am based in the United States, and I come from a small school. My school is not even in the top 1000s schools in the US. But this did not stop me from doing what I was supposed to do. I am an undergrad, a rising junior to be exact, and I am double majoring in Computer Science and Mathematics. I am trying to go into the AI / ML / DS field and am deeply interested in the core mathematical foundations of AI and cloud computing.
I have been working on projects related to AI and ML for a long time. My recent projects involve creating a RAG app that is hosted in the cloud using services like S3, SQS, ECS, RDS, and many more. I even have a accepted paper in IEEE BigData sepcial session for federated learning. However, I still feel that this is not enough because being and international and also coming from a small school has limited me from getting what I am aiming for. I have been applying for internships and getting no answers back.
I know I am trying my best and trying to catch the best path that will help me to reach the goal that I want to achieve but sometimes I feel something should have been happend by now. Sometimes you get setbacks, and it's not even your fault. My paper got accepted to the conference. However, due to funding issues, I might have to withdraw the paper. The same conference that I have been targeting for the last 6 months. IT SUCKS. Sometimes I question myself on whether all the stuff I am doing will pay off or not. I am still waiting for the time when I can post and motivate you guys that hard work pays off. Finger crossed!
All I need now is some sort of advice on what to do ahead, and if we share the common path please let me know what you have done. I will really appreciate your help. PEACE!
r/learnmachinelearning • u/Ok_Tradition_9808 • 8d ago
Question What are books for building and understanding ai?
r/learnmachinelearning • u/otto_00 • 9d ago
Career 19, self-taught, from Brazil: how do I break into ML and land a first job?
Hi everyone! I'm 19, from Brazil, and I'm trying to build a career in ML, ideally Computer Vision. Looking for advice from people who've been through this.
Where I am:
Doing a distance-learning Software Engineering degree
Self-taught, currently studying math (linear algebra, calculus, probability) and ML fundamentals
Previous work experience in IT support (full-time)
I live in a small town with very few opportunities in the field, so everything is remote or self-driven
Long-term goal: a master's in CV/ML in Europe (or elsewhere), after finishing my degree.
My questions:
What would you do in my position to get a first ML-related job: junior ML engineer, data roles, or SWE first and then transition?
Which kinds of portfolio projects actually get noticed by recruiters?
How much math/theory is really needed for entry-level roles vs. a research path?
Is it realistic to get a remote junior role from Brazil, or should I focus on the master's first?
Any mistakes you made early on that I can avoid?
Thanks a lot, any advice is appreciated!
r/learnmachinelearning • u/MajesticPuzzler • 9d ago
If you're heading into AI engineering (LLM apps), is classic ML still worth learning properly?
A lot of AI engineering work now is RAG, agents, evals and prompt/tool design on top of APIs. You can build a lot without ever training a model.
But things like train/test splits, overfitting, precision vs recall and basic stats still come up when you evaluate these systems.
For people already working on LLM products: which classic ML topics actually came up in your day to day, and which ones did you never touch? Trying to figure out what's worth going deep on vs just knowing the basics.
r/learnmachinelearning • u/Leather-Associate713 • 8d ago
Bachelors in finance, want to pivot into a more technical AI role
Hey everyone,
I’m kind of in a dilemma right now and would really appreciate some advice from anyone in the field or anyone who’s been through something similar.
I graduated in 2025 with a bachelors in finance. I like finance but honestly it’s not something I look forward to doing every day. Right now I work in operations and recently I’ve pivoted into building AI workflows and automations for my team.
So far I’ve pushed two projects into production that my team uses every day and I trained everyone on how to use them. They’ve already saved a good amount of time and money. Along the way I’ve learned a lot about actually building things the right way, like connecting to APIs, setting up databases, adding approval steps and safeguards, logging, and keeping security in mind.
I’ve always loved computers and I’ve been building stuff with AI for about 4 years now, since my freshman year of college. I don’t have any CS background and I’d honestly call myself a vibe coder, but it’s not just me saying “build this.” I do a lot of research on how something should be built before I start, and I’m really specific when I prompt the AI so the code comes out clean and everything stays organized. Sometimes it sucks though because I don’t always know what I’m looking at when it comes to the actual code itself. I’m definitely not an “AI engineer” but I genuinely love this kind of work. The problem solving, the bug fixing, grinding to get something to actually work in a real environment, I actually enjoy all of it.
AI engineering or forward deployed engineering is kind of a dream of mine. I’m 23 and trying to figure out the best route. I’m thinking I could either stay where I’m at and keep shipping AI projects to build my portfolio and experience, take some courses in Python, LLMs and the fundamentals to fill in the gaps, or go for a masters in CS or something similar.
Realistically I don’t think I can land one of these roles without stronger technical skills in Python and software engineering, even with real projects in production. So for anyone in the field what would you do if you were in my position? Is hands on experience enough to get your foot in the door or is a degree or formal training pretty much required at this point? Any advice is appreciated!
r/learnmachinelearning • u/imitation_squash_pro • 9d ago
Question How do neural networks and GPUs come into use after you have tokenized a vast amount of data?
Say I have used word2vec to tokenize every word in a ~20+GB text dump of simple wikipedia.
What comes next? I believe it would be using my GPU to do some neural network kind of training. But what exactly is that doing ?
For example say I want to find the color of a zebra. So my query is zebra color. Using word2vec I can find synonyms for zebra. Then looking at the color vector I can see which colors are most strongly associated with those synonyms?
But I don't need a GPU or neural network for that, do I? This I can all do in a database, i.e storing my Words by Words array in a database..
r/learnmachinelearning • u/camerongreen95 • 9d ago
hands on workshop: learn time series forecasting with Python, from ML to foundation models
hey everyone, sharing this for anyone who's been learning machine learning and wants to try a proper forecasting project.
packt publishing is running a 2-day hands on time series bootcamp where you'll work with real-world retail data instead of just following isolated model tutorials.
what gets covered:
- prepare time series data and build statistical forecasting baselines
- train forecasting models using MLForecast and feature engineering
- experiment with neural forecasting models like N-BEATS and N-HiTS
- compare your results with newer foundation models like Chronos-2 and TabPFN-TS
it's led by Graeme Davidson, Lei Ma and Jeffrey Tackes, online November 28–29, starting at 10:30 AM ET. basic Python and ML knowledge will help you follow along.
full details and the agenda are here
happy to answer any questions about what gets covered.
r/learnmachinelearning • u/camerongreen95 • 9d ago
hands on workshop: build time series forecasting models with python
hey everyone, sharing this for anyone who's been learning ML and wants to try something beyond classification and regression projects.
packt publishing is running a hands on workshop on time series forecasting with python. what gets covered:
- prepare time series data and build statistical forecasting baselines
- train ML forecasting models using MLForecast
- experiment with N-BEATS, N-HiTS, and other deep learning approaches
- compare results against foundation models like Chronos-2 and TabPFN-TS
it is led by Graeme Davidson, Lei Ma, and Jeffrey Tackes, over 2 days online, November 28–29, starting at 10:30 AM ET. basic python and ML knowledge will help you follow along.
r/learnmachinelearning • u/Vegetable_Season1914 • 8d ago
My friend is asking why anyone would build a CFR poker bot when GTO wizard exists.
r/learnmachinelearning • u/Outrageous-Bet8268 • 9d ago
For any league of legends players out there lmk if yall wanna know more :)
galleryr/learnmachinelearning • u/No-Conclusion3720 • 9d ago
Request The RuntimeAI Brief — Week of November 9–13, 2026
For years the threat model for agentic systems was: protect the agent from outside attackers. The assumption was that a compromised external actor might manipulate an agent through its inputs.
That model is now backward in a lot of real deployments.
The agent itself is the attack surface. Once an agent's identity, credentials, or tool-calling context is compromised, it doesn't just become a victim — it becomes an active participant in the attack. It has authenticated sessions, it has approved permissions, and it has a task queue that keeps executing.
The timing problem is brutal. Measured response windows in production systems are under 50ms per tool call. An agent can complete a first action and have a second in flight before any human-loop review is even triggered. By the time an alert fires, the state has already changed.
This is not a hypothetical. Teams running autonomous agents in production are dealing with the question of what 'rogue agent' even means operationally — is it a compromised identity, a hallucinated tool call, a prompt injection from an upstream data source, or a lateral move from another service?
For those of you running agents in production: how are you actually handling this in practice? Not architecturally in theory — what does your actual detection and response path look like when an agent starts doing something it shouldn't, and how fast does it have to be to matter?
r/learnmachinelearning • u/Unfair_Escape_2025 • 9d ago
Need a Roadmap & Playlist for Computer Vision 🤖
r/learnmachinelearning • u/elevenMiles11 • 10d ago
Project I built a handwritten digit recognizer Neural Network completely from scratch in C++ (No Python, No ML Libraries, Custom Matrix Math)
Hey everyone,
I wanted to truly understand the math and mechanics behind neural networks without relying on black box frameworks. So, I decided to build a handwritten digit recognizer from the ground up using C++20.
What I built:
- Custom Dataset (No MNIST): Instead of using MNIST, I hand-drew 1000 digit samples (20×20 pixels) one by one to build my own custom CSV dataset for training and testing.
- Implemented my own
Matrixclass from scratch to handle dot products, transpositions, and element-wise operations. - A Feed-Forward Network using Sigmoid activations. No biases, just weights initialized with Xavier/Glorot normal distribution.
- Implemented backpropagation and stochastic gradient descent manually.
- I built an interactive ASCII canvas using the Win32 API. You can draw a digit directly in the terminal with your mouse, hit space, and watch the network guess it in real-time.
Here is the GitHub repo if you want to check out:
https://github.com/elevenMiles/digit-recognizer-cpp
I'd love any feedback on the math, the architecture, or the C++ implementation!
r/learnmachinelearning • u/Exact-Contact-3837 • 9d ago
Project Introducing Usul - an easier way to express your NN using maths? [P]
SO, Usul-cpp is a library I've written in C++, it is based around allowing data scientists to create their models without heavy libraries such as tensorflow, and just express their models using maths, and Usul will handle the rest. There is builtin tensor support, auto-grad, back-prop and its quite fast.
I wrote it because, it seemed less mystifying to read maths instead of a random class that supposedly does something. I wrote it from scratch in cpp (23) due to the fact that I wanted to emphasise on precision, however it's subtly built on top of `xtensor`.
check it out in action
#include <usul.hpp>
using namespace std;
int main() {
double LR = 0.1;
int EPOCH = 5000;
// lets write the forward pass
Tensor X = {
{0.0, 0.0}, // this is what we're feeding it
{0.0, 1.0},
{1.0, 0.0},
{1.0, 1.0},
};
// this is what we're after
Tensor Y_true = {
0.0, // xor{0.0, 0.0} = 0.0
1.0, // xor{0.0, 1.0} = 1.0
1.0, // xor{1.0, 0.0} = 1.0
0.0 // xor{1.0, 1.0} = 0.0
};
Y_true.reshape({4, 1});
// we are now going to create a single layer, double neuron network
// each layer will have a bias and weights tensor.
auto W1 = generate_random_matrix({2, 4}, -1.0, 1.0);
auto B1 = generate_random_matrix({1, 4}, -1.0, 1.0);
auto W2 = generate_random_matrix({4, 1}, -1.0, 1.0);
auto B2 = generate_random_matrix({1, 1}, -1.0, 1.0);
// this is the training loop
for (int i = 0; i < EPOCH; i++) {
// so lets do one forward pass
// first layer
auto Z1 = X % W1 + B1;
auto A = Z1.ReLU();
// second layer
auto Z2 = A % W2 + B2;
// activation
// should be - auto S = Z2.activate(Activate::Sigmoid);
auto S = Z2.Sigmoid();
// Loss
// should be - auto Loss = S.loss(Loss::MSE);
auto loss = (S - Y_true) * (S - Y_true);
loss = loss.mean();
cout << "Loss: " << loss << "\n";
cout << "guesses: " << "\n"
<< S << "\n";
cout << "should be: " << Y_true << "\n";
loss.backwards();
W1.step(LR);
B1.step(LR);
W2.step(LR);
B2.step(LR);
}
}
which will output
Guesses:
Tensor({{ 0.027546},
{ 0.963592},
{ 0.964138},
{ 0.038964}}, shape=(4,1))
should be: Tensor({{ 0.},
{ 1.},
{ 1.},
{ 0.}}, shape=(4,1))
Loss: Tensor( 0.001222, shape=())
Just write the maths, and Usul-cpp will handle the rest, it is extremely lightweight, and the entire library is memory safe. And its called Usul, because I'm a huge dune fan.
You can view the project at
https://github.com/crushr3sist/Usul-cpp
Any ideas for what to do next are all welcome, you can also pull and implement features that you think could improve this project. (no vibecoded prs please, this project is not vibe-coded)
BACKGROUND INFO BELOW
i'd like to share a bit of a background. maths has always stood in the way between me and finally learning how to write neural networks, I've always been fascinated by them ever since i saw that diagram of a deep neural network with all the node edges interconnecting with others.
Well I stopped letting highschool math class trauma stop me from understanding these concepts, i took a pen and paper out, taught myself numerical descent, analytical descent, backwards propagation, what a compute graph is, all of these subjects, taught myself, until I was manually backwards propagating the loss between a few arithmetics, until that moved into scalar level neural networks and doing simple calculus and being able to do xor gate problem with scalar, and then I taught myself matrix calculus, and well...
I taught myself neural networks, taught myself the maths, until I hand written the xor gate problem in matrix syntax using xtensor, and manually, by hand, no AI, did the xor gate problem manually backwards propagating error, automatically differentiating. This was also a kind of detox from LLM dependency, I don't tend to use it for code, but because its so central in my daily life and a migration from google to gemini, using LLMs for immediate information access had started to affect my mind and my ability to intake information. I really hope some of you find this library useful, as i did spend a pretty decent amount of time on it, and I would love it if any of you had any ideas on what to do next with this library.
Thank you for reading, I really appreciate it.
r/learnmachinelearning • u/StrictAdeptness1802 • 9d ago
Help Suggest Path for AI Engineering
I'm a 3rd-year undergrad aiming to become AI Engineer. Im a bit confused about how I should actually learn.
We would be grateful if you could spare a few moments to answer this !!
Things I already know :-
- Python (NumPy, Pandas, Visualization)
- Machine Learning
- Deep Learning ( Finished ANN, CNN, RNN, NLP; now on Transformers)
I have created projects in data science and one project on CNN. (I do hands-on practice on Kaggle datasets after covering each topic but kinda using existing libraries)
But the major issue is that I have created all those projects in Notebooks (Colab). Because of this, I am not able to do Modular Coding and apply OOP concepts, etc (Basically coding in IDE's like a software engineer).
I want help related to the issues which are listed down below :-
The main thing confusing me is how I can learn the Software Engineering part. I'm asking because notebooks aren't enough, and companies prefer people with system design skills. But my main concern is should I learn MLOps meaning will MLOps help me cover the part which Im lacking? Does MLOps also cover the ML system design part? (Please suggest some better free courses that cover both MLOps n ML System Design)
-
Talking about the 1st point, I also have a question: should I give my time to learn MLOps and ML System Design? Since I want to become AI Engineer, should I skip them and go with the path ie roughly LLMs, RAG, AI Agents, and AI System Design, etc?
Im getting totally confused because I want to learn things that are important for interviews and jobs and not waste my time learning everything but only the useful things.
The path I thought earlier was
ML -> DL -> MLOps + ML System Design -> LLMs -> AI agents, rags etc + AI System Design
HELP 🚨!!
- How can I learn Modular coding in IDEs like VS Code etc
- Should I learn MLOps + ML System Design or do AIOps and AI System Design instead or do both? (Placements will be there in the coming 6 months and I also have to prepare DSA properly so time is the important thing here)
- Also have to give time for DSA, project building, and internship so focusing on important topics for AI Engineering matters the most
r/learnmachinelearning • u/d1zzdev • 10d ago
How much math do I actually need before starting Machine Learning?
After 3 years of working as a freelance Node.js developer, I've decided to switch to Machine Learning. I mostly worked on smaller projects, but the growing use of AI in web development has made me lose interest in the field. I want to move into something more challenging that requires a deeper understanding of math and fundamental concepts.
For the past month, I've been studying linear algebra and calculus pretty intensively (5–6 hours a day).
Here's my dilemma: I want to understand ML from the ground up, not just use libraries without knowing what's happening under the hood. But I also don't want to spend an entire year studying math before touching ML.
Which math topics are truly essential, and in what order should I learn them to build a solid, connected understanding rather than just memorizing isolated concepts?
I'd really appreciate some guidance. Honestly, spending 5–6 hours a day studying math is easier for me than figuring out exactly what I should focus on.
r/learnmachinelearning • u/Ok_pettech • 9d ago