r/learnmachinelearning • • 13d ago

Discussion Thinking machines

0 Upvotes

Artificial intelligence is just a small step away from becoming capable of thought; the human mind essentially reflects on an answer before providing it—we simply need to have machines do the same thing before they give their response. That’s what I think.


r/learnmachinelearning • • 14d ago

ML Engineer course recommendation

1 Upvotes

I want to become ML Engineer , I tried staying consistent and followed my roadmap by watching YouTube session, but i can only stay consistent for 2 days max. So I am thinking of taking a structured course can anyone give recommendation?


r/learnmachinelearning • • 14d ago

Wrote a 12 week classical ML roadmap (NumPy first, sklearn second) tell me what is wrong with it

2 Upvotes

So I'm a frontend dev moving into ML at work, and I ended up writing the roadmap I wanted to exist. The idea is simple: you write the algorithm yourself in NumPy, then check your numbers against scikit-learn. No calling fit() on something you couldn't explain.

Rough shape:

Weeks 1-3, math. Vectors, dot products, eigenvectors, gradients, maximum likelihood. Ends with linear regression done two ways (normal equation and gradient descent) on California housing.

Weeks 4-6, fitting stuff and then not trusting it. Logistic regression, cross-entropy, ridge/lasso, bias-variance with real numbers instead of the usual hand-wavy curve. Project is a tiny library of your own compared against sklearn, with proper CV and a test set you only touch once.

Weeks 7-9, trees. Decision tree from scratch, random forest, gradient boosting on top of your own tree, then XGBoost. k-NN and SVMs get squeezed into week 9 with a 7 model bake-off.

Weeks 10-12, the part I think most roadmaps skip. k-means, PCA, then a whole week on leakage, calibration and picking a threshold. Capstone is a tabular project with a model card.

Resources are mostly the usual: 3Blue1Brown, StatQuest, the Caltech Learning from Data lectures, CS229 notes, ISL.

Things I'm honestly not sure about:

- 3 weeks of math before any real model. How much math is needed really
- SVMs and k-NN sharing one week. Feels a bit rude to SVMs but I don't know how much they matter anymore!
- there are zero neural nets in it. I kept it classical on purpose but maybe one MLP week at the end makes sense?!

If you've been through this stuff already, what would you cut?

Roadmap


r/learnmachinelearning • • 14d ago

[RL / Gymnasium] Need help designing a custom reward function for a "shuttle" behavior in CartPole-v1

1 Upvotes

Hi everyone! I'm working on a custom reward function for the CartPole-v1 environment in Gymnasium and could use some advice.

The Objective ("Shuttle" Task)

I need to write a custom reward function (reward_type == "shuttle") that incentivizes the agent to:

  1. Balance the pole continuously.
  2. Move back and forth across the track from the leftmost to the rightmost side (wide oscillations, not just jittering around the center x=0).
  3. Maintain a high velocity and change direction at least once (avoiding random drift).

State Variables Available

  • x: cart position (range approx. [-2.4, 2.4])
  • dot{x}: cart velocity
  • theta: pole angle
  • dot{theta}: pole angular velocity

Does anyone have suggestions or standard mathematical formulations (e.g., combining position tracking, velocity rewards, or oscillating targets) to achieve this behavior effectively? Thanks!


r/learnmachinelearning • • 14d ago

Question What projects should I make and how capable should I be to work with open source projects and how to find them ?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 14d ago

This entire video is narrated by a 44 MB text-to-speech model running offline on a CPU

1 Upvotes

Every word spoken in this video comes from Goldfinch, a tiny voice model from Flock Speech. The "um"s, the natural pauses and the laugh are all generated by the model; only the music was added.

At a glance

- 📦 Tiny: 44 MB per voice, everything included

- ⚡ Fast: 8.7× real time on a single CPU thread

- 🧠 Light: about 215 MB RAM

- 🔌 Simple: no GPU, no cloud, no API key

- 😂 Expressive: write [laugh] or [breath] and it actually laughs or breathes

pip install flockspeech

flockspeech "Oh, that's [laugh] that's actually really funny." --voice goldfinch -o hi.wav

Two voices

- Goldfinch: conversational, natural and expressive

- Junco: a clear, calm reading voice

Free under Apache-2.0.

🎧 Samples:

  1. https://huggingface.co/flockspeech/goldfinch
  2. https://huggingface.co/flockspeech/junco

r/learnmachinelearning • • 14d ago

Project My Pi 4 kept 48 of 300 image positions. Then I asked it to count.

Post image
0 Upvotes

I built a d1-2B vision runtime with Codex and used autoresearch to test it on a 4 GB Pi 4. For multiple choice I sum the attention each image position gets from question tokens in the first global layer. The top 48 positions keep updating. The rest can still supply attention keys and values.

On one image this shortcut counted six cars when there were eight. Keeping all 300 positions active for direct counts matched all 16 reference outputs. Both engines got 8 of 16 counts exactly right. Multiple choice scored 56 of 64 vs 54 of 64.

https://github.com/DarvinX/d1-pi4-asm


r/learnmachinelearning • • 14d ago

Какие советы я могу услышать от ML/AI инженеров?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 15d ago

Help Practice platforms for AI/ML

24 Upvotes

I wanted to know platforms which I can use to practice AI/ML. With a generous free tier, similar to Leetcode. There is a problem statement and you've to solve and submit, not the kaggle dataset kind of problems I'm not looking for those. Something I can do in the browser itself. I'm looking to get better at problem solving associated with AI/ML, as it my background.

Any subdomain will help as I'm a fresher. Data Analytics, Machine Learning, Deep Learning, Artifical Intelligence, Generative AI, RAG.

These are currently the platforms I've found, If you've a review about these platforms please add it as well.
DataLemur
Kaggle
Deep-ML
DataWars

I've a lot of questions but do I need only one platform out of these and its enough or you've a better resource to suggest, please do so.


r/learnmachinelearning • • 14d ago

how do i connect the dots?

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 14d ago

Question Should checkpoint selection be unified across baselines for fair comparison?

3 Upvotes

When training and comparing multiple baselines, the original papers or official implementations often use different checkpoint selection strategies during validation (e.g., best validation loss, best accuracy/F1, early stopping with different patience, or simply the final checkpoint).

Should we unify the checkpoint selection rule across all baselines (and our own method) for a fair comparison?

If we don’t unify them and keep each baseline’s original selection logic, how should we respond when reviewers later question the fairness of the comparison?


r/learnmachinelearning • • 14d ago

What are books for building and understanding ai?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 14d ago

ICLR feedbacks on science

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 14d ago

Question Could I take a reinforcement learning course without having taken a machine learning course before? (undergrad in college)

3 Upvotes

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 • • 14d ago

I built a browser tool where you switch off one attention head in a small language model and see what changes

Post image
3 Upvotes

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 • • 14d ago

Request Taiwan-Based Hacker Used BOSSAI AI Agents to Steal Taipei Emergency Dispatch Records

2 Upvotes

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 • • 14d ago

What are inference engines , vllm llama etc

0 Upvotes

Why do we need inference engines and how do they work


r/learnmachinelearning • • 14d 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?

1 Upvotes

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 • • 14d ago

Career I come from small school

0 Upvotes

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 • • 14d ago

Question What are books for building and understanding ai?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 14d ago

Career 19, self-taught, from Brazil: how do I break into ML and land a first job?

3 Upvotes

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 • • 15d ago

If you're heading into AI engineering (LLM apps), is classic ML still worth learning properly?

8 Upvotes

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 • • 14d ago

Bachelors in finance, want to pivot into a more technical AI role

0 Upvotes

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 • • 14d ago

Question How do neural networks and GPUs come into use after you have tokenized a vast amount of data?

2 Upvotes

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..