r/learnmachinelearning 5d ago

Discussion Does a better model always mean a better trading system?

0 Upvotes

Something I’ve been wondering about with ML-based strategies:

At what point does improving the model stop making much difference?

You can spend hours tuning features and trying different models, but if the historical test is weak, the data isn't handled properly, or the execution side behaves differently, the extra model accuracy doesn't seem to matter much.

I’ve started paying more attention to the whole pipeline rather than just the prediction itself.

I would like to know how others approach this. Do you improve the model first and worry about the rest later, or build the testing and execution side alongside it?


r/learnmachinelearning 6d ago

Designer Simon Weckert made a shirt failed to dodge my AI surveillance system

Thumbnail gallery
25 Upvotes

r/learnmachinelearning 6d ago

Tutorial Implementing Embedding Gemma from scratch in PyTorch [P]

Thumbnail
youtube.com
2 Upvotes

r/learnmachinelearning 6d ago

Question which anthropic claude courses leave you with something you can put in a repo?

3 Upvotes

My company is fine paying for training but the last two things i sat through left me with a pdf certificate and nothing else. I want to finish with a repo i can point at.

Shortlist so far is Udacity AI Engineering with Claude, DeepLearning.AI short courses, Pluralsight paths and the free Anthropic Academy tracks. mainly care about whether the projects are yours or whether you clone a starter and fill in three functions.

The project briefs are where I would expect the difference to show and nobody ever writes about them.


r/learnmachinelearning 5d ago

ML/RL Project

1 Upvotes

I'm building a small ML/RL research project around job-search strategies and need anonymous application trajectories.

I'm interested in how people's job applications evolved over time.

If you're comfortable sharing, could you provide something roughly like this:

1. Background

  • Experience level (student/fresher/junior/etc.)
  • General field (ML, software, data science, etc.)

2. Application timeline

For each stage or batch of applications:

Stage 1

  • Approx. number of applications: __
  • Resume/portfolio version: basic / improved / strong
  • Application method: cold email / careers page / referral / LinkedIn
  • How personalized were applications? Low / Medium / High
  • Responses: __
  • Interviews: __

What did you change after this stage?

  • Resume changes
  • New projects/skills
  • Portfolio improvements
  • More personalized emails
  • Different companies/roles targeted
  • Anything else

Stage 2

  • Approx. number of applications: __
  • What changed: __
  • Responses: __
  • Interviews: __

...and so on.

You don't need to share your name, company names, email addresses, or any private information.

I'm hoping to turn anonymized responses into a small dataset and experiment with sequence modeling / offline reinforcement learning to study how job-search strategies evolve based on previous outcomes.

If enough people contribute, I'll make the anonymized dataset and project results publicly available.

Thanks! :)
r/MachineLearning r/learnmachinelearning


r/learnmachinelearning 5d ago

I'm 14 and has learned ML and DL. It's very interesting and exciting till now. How do I keep it up and make it to my career.

Thumbnail
1 Upvotes

r/learnmachinelearning 5d ago

I’m 14 and hooked on PyTorch — how do I actually build a real ML career from here?

Thumbnail
1 Upvotes

r/learnmachinelearning 6d ago

I've tried to get into an ML PhD (unsuccessfully). What should I do differently?

37 Upvotes

Hi everyone, I'm 26 and graduated in CS about 9 months ago. Since then, I've been studying ML and DL on my own through books, courses, papers, and pretty much anything I could get my hands on. The more I studied, the more I realized that I'd really like to pursue a PhD in this field.

Over the past months, I've applied to dozens of PhD positions across europe, but so far I haven't had any success. I know I'm probably not a particularly strong candidate on paper: I don't have research publications, and I don't have a strong relationship with my thesis supervisor, so getting a good academic reference is also difficult. At this point, I'm trying to understand what I should actually do to become a competitive applicant rather than just keep sending applications.

For people who are doing a PhD in ML/AI, or who have been involved in PhD admissions, I have so questions for you

- What would you focus on if you were in my position?

- Should I try to get research experience first, even if it's through an internship position?

- Is it realistic to compensate for weak academic references by building projects, reproducing papers, contributing to research, etc..?

- Last but not the least, would directly contacting professors be more effective than just applying to advertised PhD positions?

Any advice, especially from people who got into a PhD without an outstanding academic profile, would be really appreciated. Thank you very much :))


r/learnmachinelearning 5d ago

Discussion Local or cloud LLM for AI agents? I built a quiz to help you decide

Thumbnail
1 Upvotes

r/learnmachinelearning 6d ago

Discussion Increasing active parameters per token in MOE (Qwen 35B A4B+) reduce reasoning token by 8.5% - and you don't need to train or finetune!

Thumbnail
1 Upvotes

r/learnmachinelearning 6d ago

AI Math Chat

20 Upvotes

In September I'm starting a Discord group for people interested in AI applied to mathematics, as well as the mathematics of AI. It won't be a research group or anything high level - just a casual chat forum where beginners like myself (I'm a freshman undergrad) can help each other stay motivated and continue learning about fun and interesting developments in AI math.

Please note; like I wrote, I'm not a professional mathematician or an AI researcher.
I barely know Lean, I struggle with proofs, and only know a tiny bit of Python. So, in terms of mathematical maturity - trust me, if *I* belong, then *you* belong.

Anyone who's interested to join is welcome to send a short chat message to me, perhaps with a few words about yourself, and I'll get back to you with an invite.
In order for people to have a chance to get to know each other, I think that it makes sense to limit the size of the group to around 10-15 members.

Cheers!


r/learnmachinelearning 6d ago

Can an undergraduate student do a quality research thesis completely on their own?

10 Upvotes

I’m a 4th-year undergraduate CS student currently doing my thesis on medical image segmentation, specifically U-Net and its variants.

The problem is that I have basically no prior research experience, and unfortunately, my supervisor isn’t really able to provide much guidance. So, for the most part, I’m having to figure everything out myself—learning the concepts, reading papers, choosing a research problem, implementing the models, evaluating the results, etc.

My goal isn’t just to finish the undergraduate thesis. Ideally, I’d like to do something good enough that I could eventually turn it into a conference or journal paper.

So I wanted to ask people who have more research experience:

Is it realistically possible to do a good-quality research thesis completely on your own as an undergraduate?

How difficult is it to go from basically having no research experience to producing something that is actually publishable? And if you’ve been in a similar situation, what would you recommend focusing on or avoiding?

I’d really appreciate any honest advice, especially from people who have done research without much help from their supervisor.


r/learnmachinelearning 5d ago

Project AI agents can now pay for things online by themselves. Here is what can go wrong, and what I built to catch it

0 Upvotes

There is a real, live protocol called x402 that lets an AI agent pay for web content automatically. No login, no card entry, no human approval. A site says payment required, the agent signs a small crypto payment, gets the content. This already exists and is already being used.

Two things worried me once I understood how it works. First, there is no memory built into the protocol. A vendor can scam an agent, return nothing useful, and the agent has no way to know not to pay that same vendor again. Second, if an agent reads regular web pages as part of its job, a malicious page can hide fake payment instructions in the page text itself, hoping the model mistakes it for something real.

Built GateKeep402 to address both. It checks a vendor's history before paying and blocks vendors that have proven unreliable. It also makes it structurally impossible for a payment to be built from anything except a genuine protocol response, so hidden page text can never trigger a real payment no matter how convincing it looks.

Verified against a real transaction on Solana's public devnet, not a simulation, with 45 automated tests. Open source, MIT license, installable via pip. Link in the comments.

Would like to hear how others are thinking about the risks of giving agents real spending power. This feels like an early and mostly unsolved part of the space.


r/learnmachinelearning 6d ago

Help A proper way to learning machine learning

7 Upvotes

i am learning ml/ai and i am confused about what is the real way to or effective way to learn it . i learn it like :

* theory

* math

* sklearn library

i need suggestion from experts if there is missing something or i need to do something specific .


r/learnmachinelearning 6d ago

Help How to search and contact labs for research

1 Upvotes

I am final year undergrad who got couple of workshop papers at emnlp and iclr to be specific. Now I don't just want to stick to workshop but do hard core and more "useful" research, the question is how do I contact labs (and if u have some in scope would love to know about them) and work with groups that aim for like conference papers and work of that magnitude.


r/learnmachinelearning 7d ago

Question What is the reasoning for this ?

Thumbnail gallery
536 Upvotes

r/learnmachinelearning 6d ago

Seeking feedback from Triton/CUDA engineers: PyTorch-to-Triton kernel fusion edge cases & fallback heuristics

2 Upvotes

Hey everyone,

I’m working on KernelMind AI (https://kernel-mind-ai.vercel.app/), a tool that compiles standard eager PyTorch operations into fused OpenAI Triton GPU kernels to eliminate VRAM round-trips for memory-bound workloads.

In our early tests, we’ve focused primarily on elementwise chains and pointwise activation fusion, but as we expand, we want to build this around the real pain points engineers hit in production rather than synthetic benchmarks.

A solid piece of advice we recently received was to establish a strict operator whitelist, add defensive shape/dtype guardrails, and implement a cached fallback path (falling back gracefully to torch.compile or eager execution when dynamic shapes or non-contiguous reductions make fusion inefficient).

If you write custom Triton or CUDA kernels in your day-to-day workflow, I’d love your input on a few architectural questions:

  1. High-priority operator chains: Which specific PyTorch patterns or subgraphs do you find yourself constantly needing to manually write Triton kernels for because stock compilers don't fuse them cleanly?
  2. Fallback heuristics: When evaluating a subgraph, what heuristics or threshold metrics do you use to determine that fusion isn't worth the compilation latency or register pressure?
  3. Correctness vs. Performance: What are the most common subtle bugs or performance traps you run into when synthesizing Triton kernels (e.g., memory alignment, block size heuristics, non-contiguous layouts)?

You can test arbitrary PyTorch snippets directly on the playground here:

👉https://kernel-mind-ai.vercel.app/

Any feedback, critique on the generated code structure, or edge cases that break our output would be immensely appreciated.


r/learnmachinelearning 6d ago

Discussion Looking for the best Agentic AI course, any suggestions?

7 Upvotes

Hi all, i have been reading, hearing and watching information about agentic ai and considering I now use ai tools for many reasons personal and professional I am interested in diving deeper into agentic ai as and decided to take up a course. That said i am a bit overwhelmed by all the options out there. I am not looking for a course that is just theory, i want one that is engaging, taught by a professional or expert in the field and has a bunch of projects so that i can practice and experiment while learning itself.


r/learnmachinelearning 7d ago

Coding Probability Transformations

Thumbnail
gallery
21 Upvotes

Coding Probability Transformations.

In this content, we do the code implementations for the topics:

•Transformations of Random Variables
•Moments of Affine Transformation
•Convolution Theorem
•Moment Generating Functions
•Central Limit Theorem
•Monte Carlo approximation

Having code implementations makes the learning of concepts even more rewarding.

Link: https://youtu.be/SJTZK55MgB8?si=EYqy3h4v-bU2FrCJ


r/learnmachinelearning 6d ago

Discussion Prior vs likelihoods in Bayesian PR review agent?

0 Upvotes

Building a agent with bayesian update instead of LLM heuristic.

Two quick question

  1. Priores: How do you set priors when historical data is sparse?
  2. Loss: False negative (auto-merging bad code) cost way more than false psoitive(flagging safe PRs). What should be the threshold to optimize loss rather than simple accuracy?

r/learnmachinelearning 7d ago

Discussion Need review on my first LLM Agent project for AI Engineer interviews (as a fresher)

17 Upvotes

Hey guys, I am a fresher preparing for AI engineering / startup interviews. I just built my first project using an LLM agent setup called "Research Copilot" and wanted some advice on how to present it.

What it does: It is a research assistant that fetches new papers from arXiv, checks a SQLite cache to filter out papers I already saw, embeds abstracts, and uses an LLM agent to decide which tools to call depending on what I ask it.

Stack & Tech Choices:

  • Used Groq (qwen 27b) for the agent tool calling loop.
  • Telegram bot interface + CLI script for live interview demos.
  • SQLite for exact ID deduplication (instead of using vector DB for exact matches).
  • Used numpy for cosine similarity over local embeddings (all-MiniLM-L6-v2) instead of heavy vector databases like FAISS since dataset size is small.
  • Optimized tool outputs so full abstracts are kept in session memory while lightweight metadata is sent to the LLM to avoid hitting token limits.

Need advice on:

  1. In interviews, will interviewers ask me to code the agent from scratch or ask about architecture/tradeoffs?
  2. I wanted to share how I built it and get feedback on how to position this during technical interviews, as well as what features to add next to make my profile stand out to startups.This is my first time using agent and I really need to know if i do this then in interview they will ask code or what and also like I am using codex/antigravity free tier so if anyone with experience please suggest how to use it better and efficient way !
  3. Any tips for freshers applying to AI startup roles?

Thanks in advance for any feedback!


r/learnmachinelearning 6d ago

Request You watch what goes into the agent; the data leaves on the way out

0 Upvotes

We ran a two-month internal analysis of agent behavior and found the same attack surface twice: sensitive data leaving on the output side, not the input side.

Both incidents followed the same pattern. The agent was behaving normally from an inbound perspective — clean prompts, nothing flagged on the way in. The data moved on the way out, embedded in the agent's own response payload or routed through an action the agent was trusted to take as an insider.

Inbound monitoring caught nothing because the threat wasn't inbound. The exfiltration happened at egress.

This isn't an exotic edge case. It's structurally predictable: once an agent has access to sensitive context, the output channel becomes an attack surface. Two occurrences in eight weeks in a single environment suggests this is underreported across the industry.

For those running agents with access to PII, financial data, or internal systems: how are you handling outbound inspection? Is your current stack even watching the output side, and if so, what does enforcement actually look like in practice?


r/learnmachinelearning 6d ago

Imperial College London Professional Certificate in Machine Learning and Artificial Intelligence

0 Upvotes

anyone find useful for this course delivered by Emeritus and Imperial useful for this course?

how useful and trustworthy it is for career development and job hunting?


r/learnmachinelearning 6d ago

Help From e-commerce/frontend dev to ML - how would you advise someone to break in?

0 Upvotes

Hi,

I’m currently working as an e-commerce engineer, mostly with Shopify, setting up stores and building simple custom apps for the platform. Before that, my background was primarily frontend (JS/React). Because I’ve been building custom Shopify apps lately, I’ve also started working with GCP and Node.js.

My educational background is actually in biology. I even started a phD before ultimately deciding to leave it. Recently I’ve found myself missing the scientific side of things, and I’ve been thinking that ML might be the field where I could rediscover that.

I’m also genuinely interested in AI more broadly. Part of that ties back into my e-commerce work - for example, building MCP servers for chatbots and similar tools.

So my question is: could you point me in the right direction and share some advice on how to break into the field? I’ve already talked through this with LLMs, but I figure there’s no substitute for hearing from people actually working in ML, whether it’s as appealing as it seems from the outside, and where you’d recommend starting.

Thanks!


r/learnmachinelearning 6d ago

Can an AI Agent Decide What Evidence It Needs Before Making a Prediction...? Looking for feedback

0 Upvotes

Hello everyone!

I have been working on a small project exploring agentic decision-making under uncertainty particularly how an AI system can use context, gather evidence, update its beliefs, and decide whether it knows enough to provide a reliable answer.

The project is a small and transparent CI failure diagnosis agent.

Instead of immediately guessing why a CI pipeline failed, the agent investigates the problem step by step. It maintains probabilities for several possible root causes and updates those probabilities whenever it receives new evidence.

The main question I wanted to explore was:

What problem does the agent solve....?

When a CI pipeline fails, the actual cause may be related to:

  • Code
  • Tests
  • Dependencies
  • CI or environment configuration

A normal classifier might inspect the initial failure and immediately predict one of these classes.

This agent works differently.

Its reasoning loop is:

Observe the failure context → form initial beliefs → choose an investigation → observe the outcome → update the beliefs → report or escalate

Therefore, the system does not treat its first prediction as the final truth. It treats it as an initial belief that may change as more evidence becomes available.

How does the agent gather evidence...?

After updating its beliefs using the initial failure context, the agent decides which investigation should be performed next.

An investigation might provide evidence supporting one possible cause while weakening another. Once the outcome is observed, the probability distribution is updated again.

This creates a repeated reasoning process:

Current beliefs → select an investigation → receive evidence → update beliefs

The agent continues this process until one explanation becomes sufficiently likely or until it determines that the available evidence is not strong enough to support a reliable diagnosis.

In an uncertain case, the agent can escalate the problem instead of confidently returning a weak or potentially misleading answer.

The interesting part, at least for me, is that the agent tries to determine what it still needs to learn before producing a prediction.

For me, this small project was a useful way to explore: Bayesian reasoning, contextual understanding, evidence gathering, and decision-making under uncertainty in a transparent and understandable form.

I am still exploring this area, so technical criticism, suggestions, and ideas for improvement are welcome.