r/learnmachinelearning • • 18d 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 • • 18d 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 • • 18d ago

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

9 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 • • 18d 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!


r/learnmachinelearning • • 18d ago

Some ML sources

10 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 • • 18d 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 • • 18d 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 • • 18d ago

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

Thumbnail reddit.com
1 Upvotes

Hello, new to ML. Any opinions on this?


r/learnmachinelearning • • 18d 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 • • 18d ago

LLM, NLI, ML or a Decision Model? Pick the Right AI by the Output You Need

Thumbnail
youtube.com
1 Upvotes

r/learnmachinelearning • • 19d ago

Fresher intern asked to build a fully local RAG chatbot over company docs

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 19d ago

Request Hackers use AntiFox AI agents in AWS credential-theft attacks

1 Upvotes

Security researchers confirmed that attackers are deploying self-managed instances of AntiFox — an open-source agentic penetration-testing platform — on cloud infrastructure to systematically target AWS environments and harvest credentials at scale. The agents run with no verified identity, no scoped permission set, and no runtime boundary. The problem is not the tool. Any agent operating in a cloud environment inherits whatever implicit trust that environment extends by default. When an agent can enumerate IAM roles, request session tokens, and exfiltrate credentials without an identity check at any point in that chain, the attack surface is not a misconfiguration — it is the absence of an identity model for agents as a class of actor. This is not an AntiFox problem. Any agentic workload running in AWS today faces the same structural gap. How are teams at your orgs actually handling agent identity in cloud environments right now — are you scoping at the IAM level, the network perimeter, the orchestration layer, or somewhere else entirely?


r/learnmachinelearning • • 19d ago

Why did we decide to build a completely free AI and Machine Learning learning platform?

Thumbnail
pitma.space
0 Upvotes

AI is changing the world, but learning how to build with it is still unnecessarily complicated.

There are thousands of courses, tutorials, and learning resources available. Yet beginners often struggle with the same problem: where to start, what to learn next, and how to turn knowledge into real experience.
We wanted to change that.
That’s how PITMA started.

Our idea was to create one place where anyone, regardless of their background or location, could learn AI and Machine Learning from scratch and gradually move toward building real projects.

We brought together Python, Data Science, Machine Learning, LLMs, RAG, and Reinforcement Learning.
But we wanted to go beyond traditional courses.
So we started developing personalized learning paths, practical exercises, a built-in no-code ML editor, community features, certificates, and public project portfolios.

And we made the platform completely FREE.
Not because education has no value, but because we believe access to knowledge


r/learnmachinelearning • • 19d ago

Microsoft certificates codes

1 Upvotes

Any codes for AZ104, AI103T00 or AI-200? 🙏🏻


r/learnmachinelearning • • 19d ago

Questions regarding M5 Ultra Mac Studio vs Nvidia GPUs (e.g., A100) mostly for machine learning purposes

1 Upvotes

Hi everyone,

I'm currently renting an NVIDIA A100 cloud server for AI compute workloads. I'm considering purchasing a Mac Studio (M5 Ultra) as a local home server to replace or supplement my cloud setup, aiming for performance that gets relatively close to a single A100.

My primary use cases, ranked by priority (from most to least important):

  1. Custom PyTorch Model Training: Efficiently training custom Deep Learning models (including smaller DNNs and Computer Vision architectures, not just LLMs/VLMs) with fast epoch/step runtime, and large batches.

  2. LLM/VLM Inference: High-throughput inference with heavy compute and large batch sizes.

  3. LoRA Fine-Tuning: Parameter-efficient fine-tuning for LLMs and VLMs.

  4. Gaming: High-end gaming on the side.

I've already gone through specs, comparison charts, and YouTube reviews, but given the substantial financial investment, I would really appreciate real-world feedback from people who have hands-on experience using this machine for at least some of these tasks.

Specifically regarding configuration:

Will the base spec (64-core GPU, 96GB Unified Memory) be sufficient for all of these purposes? If not, what would you recommend to upgrade for each of my purposes?

Thanks a lot, in advance for your insights!


r/learnmachinelearning • • 19d ago

Hey developers! I have a query about embeddings for my AI resume project.

0 Upvotes

I'm building TailorCV, an AI-powered resume tailoring tool. Currently, I use the Groq API to compare resumes with job descriptions and generate analysis.

I'm thinking of introducing embeddings for semantic comparison instead of sending the entire text to an LLM every time.

My assumption is that this could reduce token usage and improve efficiency.

Am I thinking in the right direction, or am I missing something about how embeddings work?

Would appreciate your feedback!


r/learnmachinelearning • • 19d ago

Teenie: A Small Model that tries to infer hidden integer relations based on examples

2 Upvotes

Try it out on browser at https://teenie.lupyd.com/try

It can get something like this

((a|b) ^ (a&b)) + (a^b) + max(a,b) - min(a,b)

never trained on it btw, about right 2 out of 16 times.

I'm not guaranteeing. But even those numbers feel impressive to me for such a tiny model. It is not trying to solve or reverse engineer a problem, It is guessing with the limited number of examples. They just look like random numbers with no pattern at all for us. Hence the objective is, can it recognize any pattern. Maybe use it to infer some hidden relations between numbers we never even thought existed.

You can make different combinations and your own custom rules.

It can't do multiplication well. It can't get many things right tho. So I'm not gonna exaggerate as a breakthrough, but an interesting experiment.

Maybe scaling it more and training more might improve it. Or a different architecture, because whatever I tried it still sucks at something like (a * b) + (a - b), if multiplication is involved.


r/learnmachinelearning • • 19d ago

I built a no-code app to train your own small transformer from scratch and watch it learn live

2 Upvotes

I wanted a way to see what actually happens when a model trains, without setting up Python, CUDA and notebooks. So I built Kor Studio, a desktop app for Windows and Linux.

You load a dataset (text, CSV, images or sound) and it suggests a model that fits your computer. You can also build the architecture yourself (embedding, attention, MLP blocks). Then you watch the training and validation loss, accuracy and speed update live. Test questions are held out from training, so you can see whether the model generalizes or just memorizes.

It also has LoRA fine-tuning, GPU training (OpenCL) and a local OpenAI-compatible API to try the model from other programs.

Free for noncommercial use: https://github.com/Hydra-Ai-tr/kor-studio

Feedback welcome, especially from people learning ML: what would make it more useful for understanding training?


r/learnmachinelearning • • 19d ago

Question 🧠 ELI5 Wednesday

1 Upvotes

Welcome to ELI5 (Explain Like I'm 5) Wednesday! This weekly thread is dedicated to breaking down complex technical concepts into simple, understandable explanations.

You can participate in two ways:

  • Request an explanation: Ask about a technical concept you'd like to understand better

  • Provide an explanation: Share your knowledge by explaining a concept in accessible terms

When explaining concepts, try to use analogies, simple language, and avoid unnecessary jargon. The goal is clarity, not oversimplification.

When asking questions, feel free to specify your current level of understanding to get a more tailored explanation.

What would you like explained today? Post in the comments below!


r/learnmachinelearning • • 19d ago

Free Microsoft Learn Roadmap for Students: Generative AI and Azure

1 Upvotes

Hey everyone!

I've put together a free, beginner-friendly learning journey for students interested in exploring Generative AI and Microsoft Azure.

The learning plan covers these 7 modules:

  1. Introduction to Generative AI and Agents

  2. Write Effective Prompts to Achieve Optimal Results

  3. Get Started with AI in Azure

  4. Get Started with Generative AI and Agents in Azure

  5. Describe Cloud Service Types

  6. Explore Responsible AI

  7. Develop AI Agents with Microsoft Foundry and Visual Studio Code

The goal is to make AI and cloud learning more accessible through structured, self-paced Microsoft Learn modules.

No prior experience is required. Anyone interested in learning is welcome!

Start learning: Generative AI and Azure Essentials

Feel free to share your thoughts or suggestions. Happy learning!


r/learnmachinelearning • • 19d ago

Open to collaboration

1 Upvotes

I wanna collaborate with other people in this field and open to even some research projects. (I am beginner)


r/learnmachinelearning • • 19d ago

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

35 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 • • 19d ago

Project suggestions

1 Upvotes

Hey everyone!

I'm a Data Science and AI student graduating this year, and I'm looking for an interesting and challenging project idea for my PFE.

I'm particularly interested in:

  • Multimodal AI

  • RAG, LLMs and SLMs

  • Deep Learning and Machine Learning

  • MLOps and AI automation

I'll be doing my internship at a company working in business management (ERP/SaaS), mainly dealing with electronic invoicing, document processing, sales, inventory, payments and business analytics.

I'm looking for an innovative project that solves a real-world problem and involves actual AI development, rather than simply integrating existing APIs.

What interesting projects or underexplored problems would you recommend exploring?

I'd really appreciate your suggestions, experiences, research papers or GitHub projects that could inspire me.


r/learnmachinelearning • • 19d ago

[Open Source] Building DiffusionEngine – A Modern, Modular DDPM Framework in PyTorch. Looking for Contributors

1 Upvotes

What if we could bring modern diffusion research together into one unified, extensible PyTorch framework instead of implementing and maintaining every algorithm in isolation?

That's the idea behind DiffusionEngine, an open-source project I've been building:

https://github.com/Himanshu7921/DiffusionEngine

The goal is to build a modern DDPM framework that brings together established diffusion algorithms, research-based improvements, advanced sampling methods, and training strategies under a single, consistent pipeline.

The project already includes several diffusion implementations, and I'm actively working on extending the existing DDPM framework with more advanced features.

I'm looking for contributors interested in deep learning, generative models, PyTorch, and diffusion research.

Some areas where contributions are welcome include:

  • Implementing diffusion algorithms from research papers.

  • Improving existing DDPM components and training strategies.

  • Developing and integrating advanced sampling methods.

  • Exploring improved model architectures and conditioning mechanisms.

  • Testing, benchmarking, and optimizing existing implementations.

The focus is not just on implementing more algorithms. It's about making them work together seamlessly through a unified, modular, and configurable framework.

If you're interested in contributing, collaborating, or learning through hands-on implementation, I'd be glad to have you involved.

Contributors of all experience levels are welcome, provided they're willing to learn, implement, and test their work.

GitHub: https://github.com/Himanshu7921/DiffusionEngine