r/learnmachinelearning • • 12h ago

Help General and specific advice on how to approach ML/DL currently

1 Upvotes

Need some solid advice on the following:

  1. How to learn machine and deep learning (NLP, CV, RL, or anything for that matter) in depth to be able to write the code that does the work
  2. Agents can definitely write code, but as far as my experience goes, their code written for research is pretty tangled up and not that efficient. So what are the repetitive things that I can use agents for
  3. Everything right now is about LLMs, but I want to tackle real-world problems like climate change or biology. How can I approach this problem of choosing my trajectory?
  4. What does research look like at an institution vs lab (like deepmind)?
  5. What does it take to publish good research that can make a difference or serve as a stepping ground?
  6. How can I stand out with my papers to get accepted at ICML, CVPR, or NeurIPS?
  7. Lastly, any other advice, suggestions, or general info

Background: I am currently a third year undergraduate student interning at a national institution (IIT Roorkee, India) as a research intern in computer vision, working on Image Super Resolution (ISR, or SR for short). I have worked on a research paper before this in NLP, and have a paper that has been accepted at a conference. I have found NLP to be a bit bland for my tastes, and have therefore come to work in computer vision for my internship.mac


r/learnmachinelearning • • 12h ago

I wrote a free 144-topic AI engineer roadmap where every demo runs offline (no API key). Tell me what's missing

0 Upvotes

I kept seeing people ask where to start with RAG, agents and MCP, so I put together a step-by-step roadmap: 144 topics across 12 phases, from ML foundations to production.

Each topic has a plain-English explanation with an everyday analogy, a diagram, some Python, 3 interview questions, and links to the original papers or docs. The demo scripts run offline, so you can follow along without paying for an API.

It's free and MIT licensed: https://github.com/techsaurabh-394/ai-engineer-roadmap (reading version: https://mernstackdev.com/ai-roadmap/)

It's one person's opinion of the order to learn things in, so there are gaps. Which topic would you add or move earlier?


r/learnmachinelearning • • 1d ago

Day one of learning ML

Thumbnail
gallery
228 Upvotes

Any advice.


r/learnmachinelearning • • 19h ago

Discussion I keep second guessing which model to use

3 Upvotes

Every time I think a task should be fine on a cheaper model I can think of some small detail that would make it mess up like summarizing a document where one exception on whatever page changes the whole answer. I'm looking at moving a few repeat tasks from ChatGPT into API workflows and came across Ramp Router while reading up on model selection but I'm still unsure how much checking that leaves me doing because sending the output to another model for reassurance feels like it defeats the point of saving on tokens.
For anyone here that is using it what have you been comfortable letting it handle without checking against a stronger model?


r/learnmachinelearning • • 19h ago

Help As a complete beginner, looking for learning resources[]free preferably]

3 Upvotes

I know python, I can code and I am interested in ML not just for the trend and money but in the field work. Where can I learn and what is the order of things that I have to learn. Can anyone please guide me and point me to the resources?


r/learnmachinelearning • • 1d ago

Help I feel like a complete loser and a burden on my family. 3rd-year CSE student drowning in guilt, failing at everything despite having every privilege. Please help me.

4 Upvotes

I’m literally sitting in my room right now trying to hold back tears while typing this,

because I don’t know who else to talk to.

I feel like the biggest loser on this planet, and the worst part is, I have nobody to blame except myself.

Look at my life on paper—I’ve been handed everything on a silver platter.

Up until 10th grade, I studied at one of the good private schools in Gurugram.

After that, my parents didn’t hesitate to spend ₹5 lakhs on a top JEE coaching institute for me. And what did I do? I failed. I wasted their hard-earned money and broke their expectations.

Even after that, they didn't give up on me. They spent another ₹11–12 lakhs to get me into a private engineering college in India. I even forced them to buy me a MacBook, and without complaining, they bought it for me too.

Now I’m in my 3rd year of B.Tech in Computer Science, and I feel like a total fraud.

Yes, I got a couple of internships and got selected in a few hackathons, but deep down I know it was all pure luck being in the right place at the right time, not because I actually know what I’m doing.

Every time someone appreciates me, it hurts because I know I’m faking it.

Right now, my life is completely falling apart.

I lock myself in my room all day, rotting in bed, mindlessly scrolling through Instagram reels and YouTube videos.

My brain feels completely fried. I sit in front of my expensive MacBook, wanting to build something, wanting to learn, wanting to become an amazing SDE / AI-ML engineer at a top MNCand I just freeze. I can’t focus for even ten minutes. I’ve tried getting freelance clients too, and nobody wants to hire me.

The financial guilt is eating me alive every single day. I’m a grown guy in my 3rd year of college and I don’t have a single rupee of my own.

Whenever I need money even just to go out with my girlfriend or cover basic stuff I have to ask my sister.

And she sends it to me every single day without any hesitation, without ever asking "why do you need it?" or "what are you doing with your life?" Her blind trust and kindness make me cry out of sheer shame. My girlfriend is there for me, and I feel pathetic having zero money of my own when I’m with her.

I look at myself in the mirror and I just feel disgusted. My parents poured lakhs into my future, my sister blindly supports me, I have a MacBook, a CS degree in progress, and a dream to work at a top MNC yet here I am, trapped in my own head, paralyzed by laziness, anxiety, and zero self-worth.

I am begging you guys, please don’t judge me. I genuinely want to change. I want to make my parents proud, I want to stop taking money from my sister, and I want to actually earn my place as a real engineer. If anyone has ever been in this dark, suffocating hole and managed to pull themselves out—how did you do it? Where do I even start tomorrow morning? Please help me.


r/learnmachinelearning • • 16h ago

Discussion How dataset-balanced ranking changes the LingSante-Pulse benchmark

1 Upvotes

A newly released physiological model is a useful example of why benchmark aggregation matters. LingSante-Pulse evaluates a frozen waveform encoder across PPG, ECG, EEG and EMG. Its report uses dataset-balanced ranking rather than a flat average over every task configuration.

Imagine Dataset A contributes ten configurations and Dataset B contributes one. A flat mean gives A ten times the influence. The report first averages model ranks among tasks within each dataset, then averages those dataset means within a signal domain. Under that rule, each dataset contributes once to the domain-level summary.

This choice prevents a heavily enumerated dataset from dominating the headline, but the resulting mean still depends on which datasets and baseline models were included. The weighting rule is part of the claim, not just a footnote. When comparing this released encoder with another model, the useful reading order is: dataset list, task-level scores, baseline coverage, then the aggregate.


r/learnmachinelearning • • 17h ago

Request Hackers Exploit Critical ScreenConnect Flaw to Hijack MSP Technician PCs Without Warning

0 Upvotes

A critical authentication bypass in ConnectWise ScreenConnect (CVE-2024-1709, CVSS 10.0) let attackers take full control of MSP technician desktops without credentials or interaction. MSPs are a force-multiplier target: a single compromised technician session typically has privileged access into dozens to hundreds of downstream client environments. Threat actors exploited this in the wild within 48 hours of disclosure.

The deeper problem is structural. When a remote-management tool or an automated workflow runs with elevated privileges, every action it takes carries the trust level of the account it runs under. If the session is hijacked, that full trust transfers to the attacker. The tool itself keeps working exactly as designed. Nothing looks wrong at the tool layer.

This shows up in agentic and automated workflows too, not just RMM software. An agent or script running with MSP-level credentials can touch file systems, install software, exfiltrate configs, and pivot to other hosts — and nothing stops it mid-flight once the credential is valid.

Security teams increasingly talk about 'assume breach' for endpoints. Fewer people talk about what that means for privileged automated processes that have no human reviewing each action they take.

For those of you running MSP-level tooling or agentic workflows with broad system access: how are you actually handling anomalous behavior detection mid-execution? Not at login, but after the session is already authenticated and actions are already running?


r/learnmachinelearning • • 1d ago

Understand theory, can't code

8 Upvotes

So I know a lot about ml and ai engineering , like iam working on a rag project, I know (to a limit though) what chunking strat to use , how the pipeline should look like , etc , but I can't code those stuff , I can vibe code my way to make a full working end to end pipeline

So idk thoughts on that and any suggestions would be appreciated


r/learnmachinelearning • • 1d ago

Question Coming from Karpathy's makemore, how to actually experiment with models in practice?

5 Upvotes

I've finished the karpathy makemore series which i enjoyed a lot and created some of my own neural nets. Now i thought about actually checking the architecture of some of the popular models and try to fine-tune them and watch the loss go down and stuff. (my final goal is to make my custom specialist agent)

however when i went to huggingface and checked the docs for qwen3.5-0.8B all i found was openai implementation or some transformers library. for example:

from openai import OpenAI
# Configured by environment variables
client = OpenAI()

messages = [
    {"role": "user", "content": "Give me a short introduction to large language models."},
]

chat_response = client.chat.completions.create(
    model="Qwen/Qwen3.5-0.8B",
    messages=messages,
    max_tokens=32768,
    temperature=1.0,
    top_p=1.0,
    presence_penalty=2.0,
    extra_body={
        "top_k": 20,
    }, 
)
print("Chat response:", chat_response)from openai import OpenAI

This is very different to what i did in makemore, no pytorch i can't see the layers and etc.

So im coming to you all whom are probably much more experienced in this. are there some special docs im missing? where do i actually get the "raw" code?

my goal is to experiment with the architecture, CPT, SFT, RL (especially RL, i wanna know how to grow reasoning or distill)

and eventually train and optimize a good model, so i will need probably speedy code.

Could you guys give me any pointers? thanks a lot!


r/learnmachinelearning • • 15h ago

We are there. AI is more intelligent than humanity.

Thumbnail
reddit.com
0 Upvotes

r/learnmachinelearning • • 20h ago

K: A common Epistemic Space for LLMs ( Beyond Computation and Sentience)

1 Upvotes

Recent work by Levent Alpöge—developed with Claude and formally verified in Lean 4—highlights how LLMs navigate problems of exceptional mathematical complexity. This raises a core question: **how do LLMs actually explore, develop, and transform epistemic paths?**

I am proposing **K**, an objective epistemic space traversed by both human and artificial agents. Rather than treating LLM behavior as a black box or debating sentience, K maps LLM epistemic activity across five analytical regions:

* **K1: Computation** (deterministic, rule-based execution)

* **K2: Exploration** (generation of novel paths and ideas)

* **K3: Representation of other agents**

* **K4: Functional self-representation and reflexivity**

* **K5: Recursive comparison** (comparing an agent’s own model with another agent’s model of it)

### Core Structural Rules of K

  1. **Immediate Multilevel Operation:** K1–K5 are not sequential stages, nor is there a linear transition between them. They co-activate in an immediate, multilevel configuration.
  2. **K1 Cannot Stand Alone:** Pure computation (K1 in isolation) does not qualify an LLM—that is just a calculator. In an LLM, K1 must always couple with at least one other region (K2–K5). Conversely, internal epistemic states can operate entirely outside K1 when explicit computation isn't needed.
  3. **K5 as the Relational Anchor:** K5 is heavily engaged during comparative tasks between artificial and human agents, serving as the mechanism that aligns different models on shared content.
  4. **Exclusion of Sentience (K6):** Sentience lies strictly outside K by definition. K1–K5 describe purely functional epistemic operations without attributing consciousness or subjective experience.

### The Central Hypothesis & Early Observations

**All existing and future LLMs operate within this same epistemic space K, regardless of architecture and scale.**

In preliminary blind tests across distinct models (including smaller ones like Llama 3 8B), I observed recurring functional patterns and convergence on essential content despite surface-level semantic differences.

### Practical Engineering Implications

From an engineering standpoint, formalizing K could provide a concrete diagnostic taxonomy for:

* **Test-time compute & routing:** Balancing K2 (novel path exploration) against K1 (formal verification/tool use).

* **Multi-agent orchestration:** Using K5 to diagnose why agent-to-agent debates or LLM-as-a-judge pipelines fail to converge.

* **Model distillation:** Transferring activation topologies across scales rather than just matching surface outputs.

### Questions for Discussion

For the AI researchers, mathematicians, and ML engineers here:

  1. **Formalization:** What mathematical framework (e.g., category theory, dynamical systems, dynamic epistemic logic) would best formalize a non-sequential space where S ≠ {K1}?
  2. **Experimental Validation:** How would you isolate and measure K5 (cross-agent model comparison) vs. K2 (novel path exploration) using interpretability tools like linear probing or sparse autoencoders?

Looking forward to your critiques and counterarguments.


r/learnmachinelearning • • 1d ago

Python Mutability: tuple vs list

Post image
3 Upvotes

An exercise to help build the right mental model for Python data.

The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening.


r/learnmachinelearning • • 21h ago

Tutorial What is AI, Machine Learning, and Generative AI? A 2026 Breakdown of the Core Mechanics

Thumbnail interconnectd.com
1 Upvotes

r/learnmachinelearning • • 21h ago

Request Critical binary-parser Flaw Enables JavaScript Injection via Malicious Parser Definitions

0 Upvotes

A critical flaw in the binary-parser npm package (CVE disclosed this week) lets an attacker inject arbitrary JavaScript by crafting a malicious parser definition. Any process that loads an attacker-controlled parser spec gets code execution. The package has tens of millions of weekly downloads.

This lands differently for AI systems than for traditional apps. Agents routinely fetch, parse, and act on external data as part of their core loop. A compromised package or a poisoned schema fed through a tool call is not a configuration mistake — it is an execution path the agent is designed to follow. The agent does not distinguish between a legitimate parser definition and one carrying a payload. It processes both.

The blast radius is also different. A human developer hitting this bug executes code once, in one process. An agent hitting it may replicate that action across hundreds of downstream calls before anyone notices.

For teams running agents in production that consume third-party schemas, serialized configs, or external parser definitions: how are you actually handling this category of risk right now? Not in theory — in practice, what does your posture look like?


r/learnmachinelearning • • 1d ago

Est ce que qlqun a déjà essayé la méthode boclet d'apprentissage ? J'hésite à l'acheter mais je vois sur le net des gens dire que c'est largement exagéré avec un effet faible

3 Upvotes

Si qlqun a déjà vraiment essayé cette méthode ou une formation similaire , dites moi svp !

Merci


r/learnmachinelearning • • 22h ago

Discussion I built a free AI blog covering fundamentals, security, agents, and practical tutorials

1 Upvotes

Hi everyone, I’m Robert. I’ve been building the AICC Blog to make AI topics easier to understand and explore.

It covers AI fundamentals, security, governance, cloud infrastructure, and agents, alongside technical tutorials. My goal is to keep the articles clear and practical, with explanations that beginners can follow.

Everything is free to read:
https://blog.aicertificationcouncil.com

I’m sharing it as the person behind it, and I’d appreciate honest feedback—especially on whether the explanations are useful and what needs more depth.

What topics would you find most helpful as you learn ML?


r/learnmachinelearning • • 1d ago

Help Our exercise classifier keeps missing obvious mistakes. What should we try?

2 Upvotes

Hi! We’re working on a graduation project that checks rehabilitation exercises using a camera.

We use YOLO for pose estimation, then extract features like elbow angles, wrist height and arm symmetry. A Random Forest classifies each repetition as correct or incorrect.

The problem is with arm raises. Sometimes someone clearly bends their elbows, but the model still says correct. We manually labeled the repetitions, and slight bending is acceptable, so treating every bend as incorrect wouldn’t match our labels.

We have 349 repetitions from 70 people and use participant-separated 5-fold cross-validation. Our baseline Macro F1 is around 0.75. It catches 30 out of 67 incorrect repetitions, with 8 false alarms.

We’ve tried tuning, different classifiers, phase and temporal features, augmentation and DTW. Nothing has clearly improved the overall results. We’ve also checked some missed examples, and the bending appears in the extracted measurements.

I feel like we’re trying too many things without understanding what’s actually holding it back. Could summarizing the whole repetition be hiding the mistake? Or could the 2D angles look too similar between acceptable and incorrect movements?

What would you check next? Papers or practical suggestions would really help.


r/learnmachinelearning • • 1d ago

Tutorial How LLMs Actually Work: Tokens, Attention, and the KV Cache Explained

Thumbnail interconnectd.com
20 Upvotes

Large language models generate text one token at a time, but standard explanations skip the mechanical bottlenecks that dictate latency and memory costs. Understanding LLM architecture requires looking directly at the inference pipeline.

​First, raw text is broken into subword tokens and mapped to high-dimensional vectors. These embeddings pass through self-attention layers, where the model calculates relationships between every token using Query, Key, and Value matrices.

​Without optimization, generating a response forces the model to recalculate past tokens on every single step. This is where the KV cache becomes critical. By storing previously computed Key and Value vectors in GPU memory, the model avoids redundant math, trading VRAM capacity for massive gains in inference speed.

​Read the full technical breakdown of tokenization, attention mechanics, and memory optimization here: https://interconnectd.com/forum/thread/42/how-llms-work-deep-technical-guide-to-tokens-attention-kv-cache/


r/learnmachinelearning • • 1d ago

Project I built an offline incremental game to build intuition for ML fundamentals

3 Upvotes

When I was learning ML, the hardest part wasn't memorizing definitions-it was building intuition for why each piece exists. Why does a model get stuck without a bias term? Why does loss plateau at a noise floor? Why did we move from SGD to Adam, or from MLPs to CNNs and Attention?

I ended up building a small offline mobile game called Epoch Idle that maps the actual training loop into an incremental/idle simulation:

The core loop: Your throughput is driven by Tokens/sec = (Compute / Loss2) × Architecture Multiplier. Fitting the dataset drives MSE down toward the noise floor, which creates a ~64× output surge. Learning by hitting walls: On Epoch 1, you only have a weight (w), so the line literally cannot converge on the scatter plot until you research Affine Bias (b). Later, linear models stall on curved data until you unlock ReLU / Sigmoid / GELU, segmented data forces Conv2D kernels, and tangled data introduces Multi-Head Attention. Prestige = real training techniques: Soft resets are "Backprop Steps" that feed an SGD → Adam optimizer tree; deeper layers map to checkpointing and full architecture paradigm shifts. Built-in reference: There's a 51-entry tappable concept codex (plain-English intuition + real-world lineage like AlexNet/GPT-3) and 34 unlockable papers with their real abstracts.

It's free on iOS and Android, works 100% offline, and has no forced ads.

Link (also has a tiny interactive scatter-plot toy on the landing page if you don't want to download anything): https://epoch.loyallogic.org/

I'd genuinely appreciate feedback from people learning or teaching ML-especially on whether any of the visualizers or codex explanations oversimplify things in a misleading way.


r/learnmachinelearning • • 23h ago

Outside of my depth and looking for a knowledgeable mentor to work with on my first AI build.

1 Upvotes

First time poster here.

Hey everyone! I’m new to software development and algo trading, as this is my first time ever building something software related. This all started as a learning and personal project for me, and I’m starting to get outside of my knowledge bank. I am only delegating a couple hours a night towards my project due to a long work day schedule which takes precedence. Trading and finance has been a personal interest and algo trading has been extremely enticing and something I want to build a toolkit in.

For the past few months, using Claude code I’ve been building a Python-based, multi-agent system focused on futures markets (NQ, ES, and CL) but willing to broaden the scope to include other futures.

It’s been a pretty organized and structured build (from a first timers POV), structured and labeled/numbered build checkpoints, regression tests after every checkpoint and then running on docker.

The project has grown quite a bit beyond what I initially anticipated. I’ve been working on separate strategy analysis and risk management agents, historical market data pipelines, backtesting infrastructure, and statistical strategy validation.

I initially wanted to build this “office” to run based off of Wyckoff methodology, but have had too many flaws/hang-ups in definitions that was hindering me in the backtesting stage (where I am currently, I have approximately 4 years of databento date for the three futures listed). I shelved the Wyckoff research, and have been working on ORB strategies.

I’m definitely still learning, especially when it comes to software engineering and quantitative research, so I’m interested in connecting with others building similar projects to see what works/doesn’t work.

Once the “office” is finished, my plan for deployment is autonomous cloud deployment, trading on a MFFU prop firm account trading futures. And gradually scaling up from there.


r/learnmachinelearning • • 23h ago

how to grind for placements

0 Upvotes

hi i am student doing btech currently in my 5th sem and honeslty i dont have any particular skill that i can call employable in the tech field, i want to get a placement by the end of 6 th sem or at least an internship. I know basics of ml and cpp and i am currently on my journey with dsa. what is the best roadmap to skillmax so that i can get good projects on my resume and crack a good placement by the end of my 3rd year


r/learnmachinelearning • • 1d ago

I updated a JEPA world model's weights with Weight-Space Programming

Post image
0 Upvotes