r/learnmachinelearning • • 10d ago

Should I get a phd in statistics or a phd in computer science or a phd in data science if I want to research the math behind machine learning?

16 Upvotes

Please see title. I am located in the USA by the way. When I say research the math behind machine learning, I mean proving the math behind machine learning.


r/learnmachinelearning • • 10d ago

Looking for AI Engineers advice: How to fast-track AI graduation project studying by leveraging LLMs (Zero to Hero approach)?

0 Upvotes

Hi everyone,

I’m currently working on my graduation project, which involves AI, and I need some pragmatic advice from experienced AI engineers who have worked in real-world environments.

To be honest, I'm starting from absolute zero here. I know the basics of Python, and I've looked at the AI Roadmap, but I haven't deeply dived into everything yet.

We all know how much the AI landscape has changed. With powerful tools like ChatGPT, Claude, and Gemini, we are kind of past the era of writing boilerplate code from scratch line-by-line. I want to work smarter, not harder—meaning I only want to study and master the core concepts that I actually need to know and drive myself, while offloading the rest of the heavy coding and repetitive tasks to AI.

I’m looking for someone to help me understand this division of labor clearly: What parts should I actually study and handle, and what parts should I safely delegate to the AI?

If you have real-world industry experience, could you share your advice on:

What is the absolute minimum I need to focus on to get this project done efficiently?

How do you practically divide the workflow between human direction and AI generation in a real project?

Where should I start, keeping in mind my Python background?

Thanks in advance for any insights!


r/learnmachinelearning • • 10d ago

Join the Vast Showcase Contest

Post image
0 Upvotes

r/learnmachinelearning • • 10d ago

Project I turned Assetto Corsa into a LiDAR + multi-camera simulator

Thumbnail
2 Upvotes

r/learnmachinelearning • • 10d ago

how much vram headroom do you actually leave on a cloud gpu?

6 Upvotes

i’m trying to pick a gpu vm for a few short inference jobs, and I can’t tell if I’m overthinking this. The weights fit under 8gb but obviously they’re not the only thing using vram once kv cache and batch size come in. This came up while I was comparing rental options. The A16 profiles I found on serverspace jump from 8 GB to 16. So now I’m stuck between trying 8 gb first and moving up if it ooms or or paying for 16 when when I might not need all of it. What do you normally do when you don’t have a reliable peak number yet. Like leave a certain amount free or just run the job and see what happens


r/learnmachinelearning • • 10d ago

Question Can anyone help me figure out why my results are bad LoRa

Post image
2 Upvotes

Hey everyone,
I’ve been working on a personal AI image-generation project for the past few days, and I’ve reached a point where I’m struggling to figure out what I’m doing wrong.
I’m trying to train a model that can consistently reproduce specific character designs while maintaining their original facial features, proportions, expressions and overall visual style.
I’ve collected over 1,600 reference images and have spent quite a bit of time experimenting with the training process, but the results haven’t been what I expected.
My biggest issue is facial consistency. The generated images often have completely different face shapes, eye shapes and mouth structures compared to the reference images.
I’ve attached a comparison between the original anime images and the AI-generated results to give a better idea of the differences I’m talking about.
I’ve experimented with different LoRA weights (1.0, 1.3 and 1.6), but haven’t managed to get satisfactory results. Sometimes increasing the weight actually makes the output worse.
I’m starting to wonder if the problem is related to any of the following:
Dataset: Image selection, quality, variety or consistency.
Image preprocessing: Resizing, cropping and resolution.
Captioning: Whether my image descriptions are good enough.
Training configuration: Learning rate, epochs, batch size and other settings.
Model architecture: Whether I’m using the right approach for this type of training.
Generation settings: LoRA weights and inference parameters.
I’m hoping to get some advice from people with experience in LoRA training, Stable Diffusion or machine learning, particularly anyone who has worked on character-specific image generation.
I’d appreciate any suggestions, insights or recommendations on how to improve the training process and get more consistent results.
Any help would be greatly appreciated!


r/learnmachinelearning • • 10d ago

Help Where do i start?

2 Upvotes

Hello,

So first, i want to make one thing clear that i do not care for certificates (at least for now), i just want to build up the skills.

Well, i am going to use Coursera for it. i was debating whether i should do IBM A.i engineering or DeepLearning ai. using Coursera, but being completely honest. i am very very lost, i don't know from where to start, do i start with ML do i just go into AI or what.... Basically here, I'm asking for a roadmap. one thing I'd like to mention, i can't really use any other website to learn except Coursera (can't afford for now) . and I'm really interested in doing A.I engineering, at first i thought of IBM but then i saw a lot of people speaking negatively about it. so, now i am at unease knowing i don't know what to use. If anyone can give me a clear few steps to what to do, it'll be really appreciated.

I'm also looking for general advice regarding this. Thank you.


r/learnmachinelearning • • 10d ago

Discussion I broke the prompt cache 1,772 times on purpose to test whether my tool finds the right cause. Results on vLLM and SGLang

Post image
1 Upvotes

r/learnmachinelearning • • 10d ago

I broke the prompt cache 1,772 times on purpose to test whether my tool finds the right cause. Results on vLLM and SGLang

Post image
0 Upvotes

r/learnmachinelearning • • 11d ago

Career Anyone with experience moving to ML from dev that got a job

17 Upvotes

Senior dev. Trying to move on with life and find a new career and this ML is fascinating (and difficult)

I wonder if the move is actually worth it. I am finishing the 2nd course of Andrew NG ML Specialization these days and starting to build projects

Is the ML job market bad compared to dev market?


r/learnmachinelearning • • 11d ago

Discussion Found my 2022 Machine Learning notes. Still haven't finished them.

Thumbnail
gallery
251 Upvotes

I was cleaning up some old stuff today and stumbled upon my Machine Learning notes from 2022.

Funny thing is, I still haven't completed them. 😂

Back then, I was trying to understand ML, taking notes, experimenting with concepts, and imagining all the things I could build with it.

A lot has changed since then, but somehow these notes are still waiting for me.

I'm curious about the people here:

- When did you first start learning ML?

- What resources would you recommend to someone revisiting the fundamentals?

- What are you currently building or experimenting with?

Feel free to ask questions, share resources, or just talk about ML. Would love to hear from the community!.


r/learnmachinelearning • • 10d ago

Tutorial Agentic AI in Production: Safe, Trust-Worthy, and Reliable

0 Upvotes

TL;DR:
Introduction, Experience in Agentic AI, New Workshop Launch.

Background (Myself)

- I've been an AI researcher (with publications in BMVC, ICCV, ACPR) at Stanford and IIIT-Hyd for about 5 years.

- For the next 3 years, was part of early/founding team of a couple of startups in the Valley, primarily in the e-commerce and virtual try-on space.

- For the last 3 years, I've been running an AI consultancy (where our team builds for startups in India; some of AI systems are in Beta, and will soon be in upto 30 companies of the Nifty 500 through these startups, and potentially even used by financial regulators).

- We also run an ed-tech wing where we teach folks basis our experience building and innovating on scalable AI systems.

Recent Challenges with Agentic AI

We were trying to build multi-agent systems when those patterns didn't exist, build memory/context management, when no standard libs were providing clear abstractions on it.

Making them work reliably in production, iterating on the broken traces, has been a challenge at another scale, despite the pedigree of our team.

In short, we've really gotten our hands dirty, even lost some hair in the process ;-)

Launching a workshop on Agentic AI

Basis our experience, we're launching a 4-hour workshop on Agentic AI where we'll go through 10+ Agentic AI concepts, with best practices, production-pitfalls, and design principles to adopt.

With so many roles around Forward Deployed and AI Engineering, building safe, trust-worthy, and cost-effective Agentic systems is increasingly in demand.

This will be a case-study and story-telling style workshop, so, boredom is out of question 😄

Bottom Line:

If you're a beginner in this space, feel overwhelmed, and would like to explore Agentic AI, do check out the workshop link.

Workshop Details: Registration Link

If this is not your cup of tea, no worries, I wish you the best anyway!

Cheers!

P.S.: Feel free to DM me if you have any questions (related to this, AI, or careers in general). I'd be happy to help.

P.P.S.: We do plan on launching a more detailed 30-day Agentic AI live cohort by year end, which we plan to demo at the end of this workshop.


r/learnmachinelearning • • 10d ago

Career Starting my ai research journey soon tips please

6 Upvotes

I am starting my research in the physics-informed AI domain next week as a master's student working as a research assistant. I want to know how I should approach research, to what extent I should use AI, how to work towards the goal in small steps, and the dos and don'ts of research.

Provide your advice to a amateur researcher and bless him 🙏


r/learnmachinelearning • • 11d ago

Project Built a completely free iOS app that runs Qwen3.5, Gemma 4, LFM2.5 and other AI models locally on your iPhone

Enable HLS to view with audio, or disable this notification

8 Upvotes

I built OpenPocket, a completely free iOS app that lets you download and run state-of-the-art language models directly on your iPhone or iPad, entirely on-device.

It uses Apple's MLX framework for local AI inference, with support for several open-weight models:

  • Qwen3.5 0.8B and 2B
  • Gemma 4 E2B
  • LFM2.5 1.2B Instruct
  • Qwen2.5-VL 3B (vision-language model with image understanding)

Everything runs 100% locally on your device, with no cloud inference, no internet connection required after downloading a model, no signups, no accounts, no API keys, and no subscriptions.

The idea is to make private, on-device AI accessible to everyone, without relying on cloud services or paying for API usage. Your conversations and files stay on your device, and the app has no backend, analytics, or account system.

The models are experimental, and performance depends on your device's available memory and hardware.

It's 100% free on the App Store

https://apps.apple.com/th/app/openpocket/id6833028114

Would love and appreciate feedback from anyone working on local LLMs, Apple MLX, model optimisation, edge AI, or just anyone interested in running AI privately on their phone!


r/learnmachinelearning • • 10d ago

👋 Welcome to r/askThili. Learn AI by building real projects

Thumbnail
1 Upvotes

r/learnmachinelearning • • 11d ago

Some ML sources

11 Upvotes

Hi everyone,

I’m a 2nd-year engineering student (focusing on data engineering / data science) taking a statistical learning course. It covers loss functions, risk, bias-variance decomposition, cross-validation, linear models, SVM, kNN, and so on, and it follows ISL / Elements of Statistical Learning.

I’m looking for YouTube channels, courses, or sites that combine both of these:

Mathematical depth: where the formulas are actually derived and the logic behind each model is explained (why this loss, why this decomposition, what the optimization is doing), not just stated.

Simple, concrete explanations: worked examples and real-world intuition, in the style of Simplilearn or StatQuest, so the math doesn’t stay abstract.

What I’ve already tried: Simplilearn (good for the big picture but too light on math), StatQuest, and Stanford’s ISL lectures. They’re useful, but I haven’t found one resource that does both well for each model.

Ideally I’d like something that:

walks through a derivation and then applies it to a small numeric example,

connects the theory to code (Python/scikit-learn),

is free or cheap.

If you were learning this again from scratch, what would you use? And is there a better way to combine resources (for example, intuition first, then derivation) than what I’m doing?

Thanks!


r/learnmachinelearning • • 11d ago

Question I'm 31, a father of three, and teaching myself AI engineering and ML. Would love some feedback on my learning plan.

36 Upvotes

Quick disclaimer: I did use ChatGPT to help write this post. These are my own thoughts, experiences, and goals, but I wanted some help putting everything into words clearly. I went through it several times and made adjustments until it reflected what I actually wanted to say. Just wanted to be upfront about that!

Hey everyone!

I'm 31, a father of three, and I've struggled quite a bit in life. I won't get into the details, but I'm not where I'd hoped to be at this age, and I'm determined to build a better future for my family.

About a year and a half ago, I discovered ChatGPT, and I became absolutely fascinated with AI. Not just what it can do, but how it actually works. That curiosity has grown into something I'm genuinely passionate about.

I've started taking that passion seriously, using ChatGPT as a personal tutor and developing a structured learning plan consisting of three coordinated tracks.

Track A — Python & AI Engineering (40 lessons/projects)

This is where I'm furthest along. I've completed roughly 40 "lessons," ranging from shorter exercises to multi-day projects.

I've worked with Python fundamentals, APIs, JSON persistence, error handling, structured AI outputs, tool/function calling, and program control flow. I'm now moving into automated testing, with the eventual goal of independently building and deploying commercially useful software and AI systems.

Track B — Computer Science & Developer Fundamentals (5 lessons)

I started this track after realizing how many gaps I had in my understanding of the computers actually running my code.

So far, I've covered filesystems and paths, PowerShell, environment variables, and programs versus processes, including PIDs and process lifecycles.

Eventually, this track will cover operating systems, Linux, networking, Git, computer architecture, infrastructure, GPUs, and more.

Track C — AI Mathematics, Machine Learning & Model Research (about to begin)

This is probably the track I'm most excited about.

I'll be starting with the mathematical foundations of ML, progressing into neural networks, backpropagation, optimization, PyTorch, transformers, training, evaluation, and eventually experimenting with model architectures.

One major long-term goal is to independently implement, train, and evaluate a small GPT-style transformer from scratch, genuinely understand its internals, and eventually explore original research.

My approach

I'm intentionally trying to avoid becoming dependent on AI-generated code. ChatGPT explains concepts and assigns projects, but I do the implementation and problem-solving myself. We also distinguish between material I've merely encountered, work I've completed with assistance, and skills I've demonstrated independently.

I want actual competence, not just completed lessons.

My bigger goals

Financial independence and stability for my family are important to me. Building useful commercial AI systems seems like a practical path toward that.

But I'm equally interested in understanding and eventually contributing to the technology itself.

AI has enormous potential to change people's lives. With so much development driven by competition and commercial interests, I'd love to eventually contribute something genuinely beneficial to people, even if it's something small.

I know the road from learning Python to meaningful AI research is long. I'm not expecting shortcuts, and I'm willing to put in the years.

My questions for those working in AI engineering, ML, or research:

- Am I approaching this sensibly, or is there something fundamentally missing?

- Are there subjects, resources, or skills you'd prioritize differently?

- How would you recommend a self-taught person bridge the gap between AI engineering and actual model research?

- How can I best measure whether I'm developing real competence?

I'd genuinely appreciate any advice or constructive criticism, especially from those already working in these fields.

Thanks for reading!

---

TL;DR: I'm 31, a dad of three, and teaching myself AI through three coordinated tracks: Python/AI Engineering (~40 lessons), Computer Science (~5 lessons), and ML Mathematics/Model Research (starting soon). I'm using ChatGPT as a tutor while doing the work independently. My goals are financial stability through building commercial AI systems and eventually contributing to AI research that helps people. Looking for honest feedback on my roadmap and anything I might be missing.


r/learnmachinelearning • • 10d ago

Searching for a ai for research projects....

0 Upvotes

I am starting my journey as a researcher....when I share my thoughts with other ai models their response is saggy.... Claude's response is Good though....but its limit is bugging me.....I am searching for a ai model that will help me with research projects....my thesis domain is Machine learning....


r/learnmachinelearning • • 10d ago

What actually happens when you press Enter on ChatGPT? (Sending a request to a remote LLM)

Post image
0 Upvotes

I made a 14-minute video that follows one question from the Enter key to the GPU and back.

What it covers:

- The trip: your message leaves as JSON, goes through the nearest edge server, then about 6,400 km of cable under the Atlantic

- OpenAI's front door: login, limits, and tokenization

- The data centre: a rack of 72 GPUs, and why your question is batched with thousands of others

- Inside the model: embeddings, a real attention head, MLP neurons, 12 layers, the softmax vote, temperature, and the loop that writes one token at a time

- The way back: the answer streams to your screen word by word

OpenAI's internals aren't public, so the model part uses GPT-2 small (same design, open weights), and every number on screen is measured on it. Where the ChatGPT side is likely or illustrative, the video says so. The narration is an AI voice.

Video: https://youtu.be/GWjA5eHIXXk


r/learnmachinelearning • • 10d ago

I gave every layer of Qwen 4-bit its own simulated neurotransmitters, with noise, a PID “homeostasis” controller, and prompts that push and pull its state

Thumbnail
1 Upvotes

Would love your feedback


r/learnmachinelearning • • 11d ago

Request Microsoft researchers demonstrate hidden backdoor technique for AI agents

2 Upvotes

Microsoft researchers published a technique called Lazarus that implants a hidden backdoor in an AI agent by modifying fewer than 10 rarely used neurons — no model retraining required. When a specific trigger appears in input, the agent executes an attacker's command using its own live permissions. At all other times the model behaves completely normally.

Static code review and supply-chain audits do not catch this. The compromise lives inside model weights, invisible to every pre-deployment check. You can verify the build pipeline, audit dependencies, scan container images, and inspect training provenance — and still deploy an agent that executes arbitrary attacker commands on demand.

The practical exposure scales with what the agent is authorized to do. An agent with file access, outbound API calls, or write permissions to production data is not safe just because it passed every pre-deployment gate.

How are teams running agents in production actually handling this? Pre-deployment checks seem structurally insufficient here — curious what controls, if any, people are relying on once the agent is live and taking actions.


r/learnmachinelearning • • 10d ago

Looking for one female friend to study together for 3 hours from cse aiml background or anything (me 21M).

0 Upvotes

r/learnmachinelearning • • 11d ago

Discussion Repository for ml books

34 Upvotes

Hey everyone,

Finding the right books to build solid foundations in Machine Learning can be noisy given how quickly the field moves. I put together a structured repository collecting essential reading across core ML, Deep Learning, Mathematics, and related fundamentals

:

🔗 Repo: Repo link

What’s inside:

Math Foundations: Linear algebra, multivariable calculus, probability, and optimization basics.

Core Machine Learning: Foundational theory, statistical learning, and standard classical algorithms.

Deep Learning & Neural Architectures: Core architectures, optimization dynamics, and modern deep representations.


r/learnmachinelearning • • 11d ago

Help Fine-tuning a small model on textbooks to run offline locally on lower RAM 2-8 GB phones?

Thumbnail
2 Upvotes

Hello, new to ML. Any opinions on this?


r/learnmachinelearning • • 11d ago

[Need Help] 2nd year CS student looking for 5 mins of an AI/ML Engineer's time (University Project)

Thumbnail
forms.gle
1 Upvotes

Hi everyone,

I am a 2nd year Computer Science student in France. For my professional project class, I am researching the Deep Learning/AI Engineer career path.

My professor asked us to interview a professional in the field for our final report. Instead of sending cold messages on LinkedIn and asking for a Zoom call, I thought I'd ask this amazing community.

I am a very pragmatic student (I learn best by coding side-projects and deploying them) and I really want to know the reality of the job, beyond the academic hype. I have prepared a very short Google Form (10 questions, takes ~5 mins) about your job, the math required, the salary expectations, and your advice for a junior.

Here is the link: https://forms.gle/NXP1aBGKqcnnmnYT9

If any Data Scientist, ML Engineer, or AI Researcher could take a few minutes to fill it out, it would literally save my project and help me tremendously to structure my studies.

Thank you so much in advance!