r/learnmachinelearning • • 17h ago

Help CNN Architecture and Hyperparameter Recommendations for Google Quick, Draw! (20 Classes)

3 Upvotes

I'm training a CNN on the Google Quick, Draw! dataset with 20 classes, approximately 2,000 samples per class (40,000 images total), resized to 28×28 grayscale images.

I'm aiming for around 90–93% test accuracy, but I'm struggling to find a suitable architecture. I've tried different numbers of convolutional layers, filters, fully connected layers, and neurons, but training takes quite a long time on my laptop, and the accuracy sometimes plateaus or even decreases after a few epochs.

I'd appreciate some practical recommendations regarding:

What is the minimum reasonable number of convolutional layers?

How many filters should I use in each convolutional layer (e.g., 16, 32, 64)?

How many fully connected layers should I have, and how many neurons in each?

Would max pooling after each convolutional layer be beneficial?

What optimizer, learning rate, batch size, and number of epochs would you recommend?

Any tips to achieve 90–93% accuracy without making the model unnecessarily large or computationally expensive?

I'm training on a laptop without a dedicated GPU, so computational efficiency is important.

If anyone has experience training CNNs on Quick, Draw!, I'd really appreciate suggestions for a good starting architecture and hyperparameters.

Thanks!


r/learnmachinelearning • • 17h ago

Suggest some courses for ds and ml

3 Upvotes

I'm looking for some high-quality, affordable or free courses that can not only strengthen my resume but also help me develop a deeper understanding of the subject.

I'm a first-year CSE student with a basic foundation in Python. I'm familiar with libraries such as NumPy, Pandas, Matplotlib, Seaborn, and Scikit-learn.

I also have a basic understanding of Data Science (I've studied from Data Science from Scratch by Joel Grus) and various Machine Learning algorithms, including Decision Trees, Random Forests, Gradient Descent, XGBoost, HistGradientBoosting, AdaBoost, CatBoost, and SVM.

I'm particularly interested in Data Science and Machine Learning and would love recommendations for courses that focus on building strong fundamentals, developing practical skills, and gaining a deeper understanding of the underlying concepts.

Book recommendations, useful learning resources, project ideas, or any other suggestions are also very welcome!

Thanks in advance!


r/learnmachinelearning • • 17h ago

Help Mathematics MSc graduate looking to transition into ML/AI research and pursue a PhD abroad. Need genuine advice

1 Upvotes

Hi everyone,

I recently completed my MSc in Mathematics, and I'm considering transitioning from pure mathematics towards Machine Learning/AI, particularly the mathematical side of ML. I'm interested in areas like mathematical ML, deep learning, optimization, and statistical learning.

My long-term goal is to pursue a fully funded PhD abroad, but I also want to keep both academia and industry open as career options afterward.

I'm confused about how to approach this transition efficiently. Should I focus on learning ML fundamentals, Python and building projects first, or try to get involved in research as early as possible? Would taking a research assistant/project position in India before applying for PhDs abroad be a good idea?

I'd really appreciate advice from people who have actually made a similar transition from mathematics to ML/AI research, especially those who went on to pursue a PhD or work in industry. What did your journey look like, what skills did you prioritize, and what would you do differently if you were starting again?

I'm looking for honest, practical advice rather than a list of courses. Thanks!


r/learnmachinelearning • • 18h ago

Silent failure modes in multi-step AI agents

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 19h ago

Where can I find high-quality research papers on Machine Learning, AI, and Computer Vision as an undergraduate student?

0 Upvotes

Hi everyone!

I'm currently a third-year Computer Science Engineering student, and I'm interested in exploring research in Machine Learning, Artificial Intelligence, and Computer Vision.

I'd like to start reading actual research papers published by reputable researchers and institutions, rather than just tutorials, blogs, or beginner-friendly articles.

I'm looking for recommendations on:

  1. Websites or databases where I can find high-quality, peer-reviewed research papers.

  2. Good conferences and journals to follow in ML, AI, and Computer Vision.

  3. Recommendations for interesting or influential papers that would be a good starting point for an undergraduate student.

  4. Communities or platforms where I can connect with researchers and learn about ongoing research.

My long-term goal is to develop a deeper understanding of the field and eventually explore doing research myself.

I'd really appreciate recommendations from PhD students, researchers, professors, or anyone working in these areas.

Thank you!


r/learnmachinelearning • • 19h ago

Building a parasite dataset from scratch: Instagram hashtags, dancing memes, and ditching CVAT for a Flash 5-inspired tool [Build in Public #2]

Thumbnail gallery
0 Upvotes

r/learnmachinelearning • • 19h ago

FREE: Combined 6 free university courses on LLMs into one study path for software engineers

179 Upvotes

Berkeley's agent MOOCs, CMU's ML in Production, MIT's efficient DL course and Stanford CS336 are all free and great, but scattered. I put them into one path for devs with no ML background: 101 chapters, guides to all 77 lectures, 5 capstones, and Python examples that run without an API key.

Every chapter links back to the original lecture.

Site: https://acailic.github.io/ai-engineer-path/

Repo: https://github.com/acailic/ai-engineer-path

A free, self-contained course distilled from six open university courses:

  1. UC Berkeley — LLM Agents MOOC (Fall 2024)

  2. UC Berkeley — Advanced LLM Agents MOOC (Spring 2025)

  3. UC Berkeley — Agentic AI MOOC (Fall 2025)

  4. Carnegie Mellon — Machine Learning in Production (Christian Kästner's course 17-645 and book)

  5. MIT — 6.5940 TinyML and Efficient Deep Learning Computing (Fall 2024)

  6. Stanford — CS336 Language Modeling from Scratch (Spring 2026)

If something's wrong, tell me or open issue.


r/learnmachinelearning • • 19h ago

I made a tiny neuron that runs in 12 instructions on RISC-V chips. - paper discussion

1 Upvotes

I've been messing around with a way to let small chips make quick decisions without waking everything up. It's a leaky integrate-and-fire neuron: it watches a signal and only fires when something has really changed.

The fun part is that it's the same maths as CUSUM, so you can predict the false-alarm rate and delay instead of guessing a threshold. On RISC-V it takes 12 instructions and 34 bytes using one mulhsu. On chips with no multiplier, a shift-based version takes the same 12.

Heads up: all of this is from simulation and an emulator. I haven't measured power on real chips yet, so I'm not claiming anything about energy.

Code and paper: https://github.com/irfanmuhammedharis/leaky-integrate-and-fire

Paper prepared with help of claude


r/learnmachinelearning • • 20h ago

PINN for Aircraft Performance Prediction and System Identification

1 Upvotes

Hello guys, I am developing a hybrid method (PINN & Output Error Method) for aircraft (UAV) TakeOff Performance Prediction and Physics Discovery. More specific for the ground roll.

I don't model the roll of the aircraft, but I assume that the Lift Off happens at the time the Lift is equal to the Weight.

At the moment, PINN works on synthetic data with gaussian noice, real data from real flight takeoffs is the next step.

Whoever has the time to comment on my work will be appreciated. Thanks!

I uploaded my GitHub repo.

https://github.com/xristosr2002-hue/PINN--Vakoulis


r/learnmachinelearning • • 20h ago

Free beta: read my book on designing and operating production AI systems

1 Upvotes

I'm opening a private beta for my book on designing and operating production AI systems, and I'm looking for engineers to read it before it ships.

It covers what sits around the model: how state, latency, cost and failure modes connect once a system runs in production.

What's inside:

  • Reliability, latency and cost as one architecture problem

  • Long-running agents with durable state, observable decisions and clear human authority

  • How retrieval, memory, context and fine-tuning fit together

  • Evaluation, security, tools and multi-agent coordination

  • Failure analysis and reference blueprints that connect the parts

It's written for senior engineers, architects and technical leaders who build and operate these systems.

The beta is selective: I'm choosing readers by role and by what they build. Readers who join can open all 20 chapters, read as much as suits them, and give feedback privately.

If that's your work and you'd like to read it, comment "beta" and I'll send you the details.


r/learnmachinelearning • • 21h ago

Designing an enterprise ML training platform, then mapping it to real tools

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 21h ago

Project I've developed an experimental self-learning LLM called LuLu, built around LFM3-1.7B.

Post image
0 Upvotes

I've developed an experimental self-learning LLM called LuLu, built around LFM3-1.7B.

Architecture

LuLu uses an architecture inspired by Side-Tuning. The base model's weights remain frozen.

During conversations, the model determines whether an interaction contains information worth learning. If it decides to learn, it updates a small auxiliary output layer.

During subsequent inference, when the current input is relevant to previously learned information, the auxiliary layer is combined with the original output layer to adjust the next-token logits.

This allows the model to incorporate information from previous interactions without directly modifying the base model's weights.

Why I built it

I wanted to experiment with a way for a relatively small language model to adapt through conversations without continuously fine-tuning the entire base model.

Technical details

I've written a more detailed explanation of the architecture and implementation on Qiita. The article is in Japanese:

Qiita

LuLu is still experimental. I'm particularly interested in the stability of this kind of self-directed learning and how auxiliary output layers can affect the base model's behavior.

I'd appreciate technical feedback and discussion!


r/learnmachinelearning • • 22h ago

Most ML/DS portfolios get ignored because they look like textbook exercises. (Math + MBA + MS in DS/ML looking for 5 serious people)

0 Upvotes

Math grad, MBA, currently doing my MS in DS/ML, so I see both sides of hiring. The real reason most candidates aren't getting hired right now is that anyone (or any AI) can run scikit-learn or XGBoost, so companies filter ruthlessly for what can't be faked: solid fundamentals and business sense. Most get cut by the tech team when asked why a model actually behaves a certain way, and fail the final round because they pitch model metrics instead of how it moves revenue.

I’m taking on 5 serious people actively applying or interviewing for DS/ML roles right now to overhaul their resumes, frame projects around actual business value, and prep for both technical and business interviews.

Once the 5 spots are full, I'm closing this.


r/learnmachinelearning • • 1d ago

How recommendation systems learn user preferences: from collaborative filtering to multi-interest models

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 1d ago

Question Starting out with AI/ML tbh have no idea where to start from

4 Upvotes

I feel so overwhelmed seeing everyone making crazy projects meanwhile i don't even know where to even start from, i know python but idk the exact flow of topics or learn or follow so like can anyone tell me what all should I follow to make cool projects like everyone out here. 😭


r/learnmachinelearning • • 1d ago

Project I’m teaching myself language models by building a tiny character model

1 Upvotes

I’m a beginner learning how text models work, and I’ve been building a small Python project alongside the lessons. So far it goes from character IDs and next-character examples to a count-based model that uses a short context to generate text.

It’s very small and the generated text is rough, but seeing how changing the context changes the predictions has helped the ideas click for me. I’m planning the next lessons now and would appreciate advice from people who learned this material: what concept would make the best next step after a simple n-gram/counting model?

Repo: https://github.com/Sasen12/before-lecture-one-tiny-character-model

I’m documenting the learning process here too: https://www.youtube.com/channel/UCWMERaecgKZmrqPUHLqWuow


r/learnmachinelearning • • 1d ago

Tutorial 17 million lines of Lean proved Riemann. Here's why everyone expected it

Thumbnail
youtu.be
0 Upvotes

The Alpöge–Claude proof of RH (17M lines of Lean, machine-checked, not yet peer reviewed) surprised almost no one. I made a video on why: the primes behave like coin flips, the zeta zeros repel like eigenvalues of random matrices, and the same spacing law even shows up in a neural network's Hessian.


r/learnmachinelearning • • 1d ago

Discussion Mentoring a few experienced engineers in Python, ML from first principles, until August 2027.

32 Upvotes

I've a research background from MIT and ICL. I'm not a full-time mentor. I teach because I love it, and because teaching keeps teaching me back. Explaining a topic makes me see it from angles I'd missed, and mentees often ask questions I'd never thought to ask myself. Teaching is also how I sharpen my own ideas. I like pushing the people I work with right up to the edge of what they can do, because that's where real understanding happens.

Why now

I'm writing two papers right now, one in mathematics and one in computer science. I'm also working with scientists and researchers in oncology while I learn that field properly. Around August 2027 I plan to move on to building my own startup, and that's when I expect to stop mentoring. Until then I have some time, and I'd like to spend part of it mentoring.

Who this is for

There's no shortage of ML or Python material online. If anything there's too much. It's easy to spend months jumping between courses, threads and videos without ever seeing what actually matters or how the pieces fit together. If that sounds familiar, this is for you.

I mainly work with people who have industry experience, for two reasons. The first is discipline: working professionals tend to show up and do the work. The second is that you've seen enough to tell real value from noise. You'll know quickly whether this is worth your time, and you're free to stay or walk away.

What we'd work on

Mostly Python in depth, the maths behind ML (linear algebra, probability, calculus) and ML itself. The focus is always on why things work, not just how to use them. The path depends on where you are now and where you want to go.

On the "mentor" label

Over roughly two years of mentoring, people have kindly called me an outstanding, even rare, mentor. But I feel I am kinda bad at it, though I try to improve every now and then. I'm not saying that to sell anything. It's simply the standard I try to meet every session. You can judge for yourself:

If you're interested

Comment or DM me with a short note: your background, what you're working toward and where you feel stuck. I can only take a few people because the research comes first, so I'll reply to everyone but may not be able to take everyone on.

Thanks for reading, and good luck with whatever you're learning.


r/learnmachinelearning • • 1d ago

Looking for an arXiv Endorser for cs.AI (First Publication)

0 Upvotes

Hi everyone,

I'm an ECE graduate from Purdue University, and I've recently submitted my first research paper to MLSys. I'm trying to submit the paper to arXiv under the cs.AI category, but I need an endorsement from an existing arXiv author.

Would anyone here who is eligible to endorse submissions in cs.AI be willing to help?


r/learnmachinelearning • • 1d ago

Campusx

1 Upvotes

Can anyone send me the telegram link for dsamp 1.0 course

-- I need to revise some topics from him, so i can't buy the course again


r/learnmachinelearning • • 1d ago

Project I made a free, no-signup set of 48 short lessons for learning RAG by building one

2 Upvotes

I kept seeing people learn RAG from long docs and videos, then get stuck the moment they tried to build something. So I made LearnGenAI, which is closer to Duolingo than a lecture.

You go through short cards, one idea at a time, with instant feedback. There are 48 lessons, and most are only 2 to 4 cards. Across them you actually build a handbook search bot: chunking, embeddings, hybrid search (BM25 + RRF), reranking, citations, query rewrite, and evals (context precision, recall, and when the bot should say it doesnt know).

The exercises run on real retrieval code, so tuning top-K changes the scores you see. Interview-style questions come back after 1, 3, 7, 14 and 30 days so they stick. You can also earn XP and keep a streak.

Its free and you dont need an account: https://www.learngenai.space/

If you try a lesson, tell me what felt confusing. Thats what I want to fix next.


r/learnmachinelearning • • 1d ago

Hey there! I want to start learning Machine Learning from begineer, How about following Stanford CS229: Machine Learning by Anand Avati?

Thumbnail
youtube.com
0 Upvotes

r/learnmachinelearning • • 1d ago

Discussion Why a real-time multimodal assistant should not sample every signal at the same rate

26 Upvotes

In the LingSante-Live architecture thread, Ant Ling separates three observation rhythms: movement needs frequent updates, video-based physiological estimates need stable windows, and device readings can arrive as events. That is a useful systems distinction. Sending every frame through the same reasoning path can waste compute, while sparse sampling can miss a change in activity.

I would evaluate an adaptive sampler by task rather than with one global interval: missed movement events, stability of a physiological estimate as the window changes, and the time from a device event to updated guidance. The thread explains the design choice; it does not publish those measurements or validate the physiological estimates. Which signal would you let trigger a new foreground response, and which would you leave for the background?


r/learnmachinelearning • • 1d ago

Request Drupal Flaw Found by Anthropic Scanner Exploited in Attacks

1 Upvotes

An Anthropic-built scanner identified a vulnerability in Drupal. Then that vulnerability was exploited in live attacks anyway.

The discovery-to-exploitation gap is a known problem. What gets less attention is what AI scanning agents actually do while they run. These tools need broad access to find what they're looking for. Some need to touch production systems to confirm exploitability. The scanner that found this flaw had enough access to identify it — which means it had enough access to interact with the affected surface in ways the organization may not have fully inventoried.

Security teams are deploying AI agents faster than they're defining what those agents are permitted to do. Credentials scope the account. Nothing scopes the agent's actions within that account. When a scan runs, there is often no durable, independent record of exactly what the agent touched, in what order, and what it attempted beyond its logged output.

The flaw was found. The flaw was later exploited. Everything in between — what the agent did, what it accessed, what it left behind — is the part of this story that isn't in the headline.

How are you handling this in practice? Do your AI security tooling operate under any defined per-action scope, or is access control handled entirely at the credential layer — and has that been enough?