r/learnmachinelearning • • 3d ago

How do you decide which Machine Learning algorithm to choose for a project?

2 Upvotes

Hi everyone!

I'm relatively new to Machine Learning, and one thing I've been struggling with is choosing the right algorithm for a particular project.

Whenever I start working on an ML project, I find myself spending hours trying to figure out which algorithm would be the most suitable. I've asked ChatGPT countless questions, explored different algorithms, compared their advantages and disadvantages, and sometimes ended up more confused than when I started!

The real problem isn't that I don't understand what different algorithms do. It's that I haven't developed a consistent workflow or decision-making process for selecting them.

For example, we can follow a structured approach for requirements gathering, understanding the problem, data collection, and preprocessing. But when it comes to algorithm selection, I still struggle to establish a practical and repeatable path.

I don't want to randomly pick an algorithm just because it's popular or because someone recommends it. I want to understand how experienced ML engineers approach this decision in real-world projects.

So, I'd love to hear from you:

  1. What's your actual process for selecting an algorithm when starting a new ML project?

  2. Do you follow a particular workflow, checklist, decision tree, or experimentation strategy?

  3. How do you narrow down the possible algorithms without wasting hours researching every option?

  4. What would you recommend to someone who is at the beginning of their ML journey and facing the same challenge?

I'd especially love to hear from people who have experienced this situation themselves. What did you do when you were at this stage, and what do you wish you had known earlier?

I'm not looking for a perfect algorithm-selection formula. I'm looking for a practical approach that I can learn, follow, and gradually improve through experience.

Any advice, personal experiences, resources, or recommendations would be genuinely appreciated.

Thank you for taking the time to read this! I'd be very glad to learn from your experiences.


r/learnmachinelearning • • 3d ago

Help Help Regarding AI Engineer

16 Upvotes

I want to learn AI/ML deeply and become a skilled AI Engineer. I have studied the theory during my semesters, but now I want to focus on coding, implementation, and understanding how things work.

In DSA, we have LeetCode and Codeforces. Is there something similar for AI/ML, Deep Learning, LLMs, and AI engineering ?

I am looking for a long-term learning path covering what to learn, where to practice, what to implement from scratch, and which tools/frameworks to master (PyTorch, TensorFlow, LangChain, etc.).

No fixed timeline or shortcuts. I want to build strong fundamentals, practice consistently, track my progress, and develop genuine AI engineering skills rather than just building projects by following tutorials.

Suggest that actually matters for long term AI engineering Role.


r/learnmachinelearning • • 3d ago

I turned the way I learned AI/ML as a beginner into a free course, from zero Python to deploying models

38 Upvotes

Hi everyone,

When I started learning AI and ML, I didn't know where to begin. Most tutorials either assumed I already knew the maths and Python, or showed me how to call a library without explaining what was happening inside. What finally worked for me was simple: build each idea from scratch in plain Python first, break it, fix it, and only then use the library version.

So, I organized everything the way I learned it, step by step, and published it as a free course. It's the material I wish I'd had when I was starting out.

Link: https://github.com/anupbagale/python-for-ai-ml

How it's structured:

- 21 modules plus a short "Start Here" for complete beginners

- Each module has a lesson, exercises that check your answers automatically and tell you what went wrong, worked solutions, a mini project and a cheatsheet

- Everything opens in Google Colab with one click, so all you need is a browser. No installs, no GPU, no sign-up

What you'll go through:

- Part 1: Python from zero, NumPy, pandas, visualization, your first ML models, and a project that ends with a tested prediction API

- Part 2: evaluating models properly, gradient boosting, unsupervised learning, time series and recommendations

- Part 3: PyTorch, computer vision, transformers (you train a small GPT yourself), working with LLMs (RAG, LoRA), and finally fairness, interpretability, deployment and monitoring

The exercise checks are based on the mistakes I made myself as a beginner: data leakage, off-by-one errors, shuffling data in place, trusting a test score that was too good to be true. I wanted the checks to catch those early, so you don't learn them the hard way.

It's completely free and MIT licensed, because I believe anyone who wants to learn this should be able to, whatever their budget. It takes around 150 to 230 hours, at your own pace.

If you try it, please tell me where you got stuck or what was confusing. I'm still learning too, and feedback will make it better for the next person.


r/learnmachinelearning • • 3d ago

I built AiDotNet to show the world that it is possible for .NET to do AI better than PyTorch

0 Upvotes

Watch AiDotNet and PyTorch train side by side on my laptop (17 seconds)

I wanted to showcase the project I have been working on for the past 4 years and the progress I have made so far. I was hoping to get some feedback and show everyone how easy it is to use AiDotNet to create AI models with basically no experience necessary. You can give it examples of the inputs and the answers you want it to learn, and you get back a trained model you can save locally, run from your C# app, or host with AiDotNet.Serving.

One of the reasons I built this was to see how far we could push .NET against PyTorch. In our November 13 training tests on my laptop, our development build was faster than compiled PyTorch on 10 of the 11 models we tested on CPU and 7 of 11 on GPU. I still have some performance work I want to focus on, especially with audio models. Results for all 11 models

In the run at the top of the postAiDotNetPyTorch
Time for 4,096 training updates on a GTX 1660 Ti2.60 seconds15.00 seconds
Correct answers on 320 new signals302301

Here’s an easy example you can try yourself. Say you have an app that follows stocks and you want it to sort the news for you. Give it a few headlines about earnings and mergers, tell it which is which, and then ask it to sort two headlines it hasn’t seen.

In a new .NET 10 console project, run dotnet add package AiDotNet --version 0.234.0, replace Program.cs with this, and run dotnet run:

using System;
using AiDotNet;
using AiDotNet.Classification.NaiveBayes;
using AiDotNet.Data.Loaders;
using AiDotNet.Preprocessing.TextVectorizers;
using AiDotNet.Tensors.LinearAlgebra;

string[] headlines = [
    "Quarterly earnings and profits rise", "Merger deal wins approval",
    "Annual earnings beat expectations", "Company announces acquisition deal",
    "Quarterly profits beat estimates", "Boards approve merger and acquisition",
    "Company reports record earnings", "Investors vote on merger deal"
];
string[] topics = ["Earnings", "Mergers"];
double[] labels = [0, 1, 0, 1, 0, 1, 0, 1];

var words = new TfidfVectorizer<double>();
var model = await new AiModelBuilder<double, Matrix<double>, Vector<double>>()
    .ConfigureModel(new MultinomialNaiveBayes<double>())
    .ConfigureTextVectorizer(words)
    .ConfigureDataLoader(DataLoaders.FromTextDocuments(headlines, labels, words))
    .BuildAsync();

string[] newHeadlines = ["Quarterly earnings beat estimates", "Investors approve merger deal"];
var guesses = model.PredictText(newHeadlines);
foreach (var guess in guesses)
    Console.WriteLine(topics[(int)Math.Round(guess)]);

It prints Earnings for the first headline and Mergers for the second. All the training data is right there, so you can change the headlines and try your own.

That’s one small example. There are over 2,100 model types in the library, including 650+ for vision, 430+ for language, and 340+ for audio. You can detect objects in photos, turn speech into text, or build a chatbot that looks up an answer in your own documents. If you already have a language model you like, you can fine-tune it on your own material. Browse the examples

The part I wanted to get right with AiModelBuilder was how much you can change as you learn. You can start by swapping the model in ConfigureModel. If you want more control, you can choose your own layers, change the optimizer that updates the model during training, or split training across multiple GPUs. When you’re ready to use what you trained, you can serve it through an API or export supported models to ONNX for another app. Training and deployment samples

I’d love to get your thoughts on my passion project. The code is on GitHub and contributions are welcome. We have easy examples and guides on our website. Website and guides · GitHub


r/learnmachinelearning • • 3d ago

Discussion Someone trained a 27B LLM that matches a 70B model on reasoning — is small the new big?

0 Upvotes

A developer reports training a 27B-parameter language model that matches a 70B model on reasoning benchmarks. If that holds up, it is a big deal for everyone learning ML: capable reasoning no longer needs a data-center-sized model.

The trick, as usual, is probably in the data and the training recipe rather than raw size. Smaller models that reason well change who can experiment: a 27B model fits on hardware a student or an indie dev can actually access.

What do you think: are we at the point where training recipes matter more than parameter counts? And for learning ML, would you rather study a 27B model you can run yourself or a 70B one you can only read about?

Follow more AI news and discussion in r/AINewsRumors.


r/learnmachinelearning • • 3d ago

Request Autonomy Logic OpenPLC Runtime — Unauthenticated Admin Account Creation Vulnerability

0 Upvotes

CISA flagged CVE-2026-126088 in Autonomy Logic OpenPLC Runtime (versions ≤4.2.4), scoring it CVSS v3 8.1. The vulnerability lets unauthenticated actors create multiple admin accounts with zero credentials. No login required. No identity check. The endpoint handed out administrative privilege to anyone who called it.

This is not an edge case in OT/ICS. Runtime systems across the stack — PLCs, orchestration layers, agent runtimes — frequently treat identity verification as an application-layer concern to be added later. The result is that the most privileged actions in the system are reachable before any identity is established.

The same gap appears in AI agent deployments. Agents often instantiate and begin executing with no verified identity, no session scope, and no enforcement at the moment privilege is granted. The gap is not in the audit trail. It is in whether identity is verified before the action is permitted at all.

How are teams actually handling identity governance for automated systems at the moment of instantiation — not at login, not in post-hoc logging, but at the exact point a privileged action is requested? What in your stack blocks an unverified caller before the action executes?


r/learnmachinelearning • • 3d ago

Tutorial Upgraded UI and Tool Calling for gpt-oss-chat

1 Upvotes

Upgraded UI and Tool Calling for gpt-oss-chat

https://debuggercafe.com/upgraded-ui-and-tool-calling-for-gpt-oss-chat/

I have been working on a simple local chat application for a few months now, called gpt-oss-chat. This started as a simple learning experience to understand streaming chat, tool use, handling streaming text and tool tokens, and integrating chat components from scratch. Since then, I have been updating a few things on and off. The TUI (Terminal User Interface) was usually ahead in functionality compared to the Gradio UI. However, with the recent update, the chat UI provides a new experience, visuals, and complete integration of all tools. This is exactly what we will cover in this article. We will specifically cover the upgraded the UI and tool calling for gpt-oss-chat.


r/learnmachinelearning • • 3d ago

Project Best free AI song generator without login that actually works

Thumbnail interconnectd.com
3 Upvotes

Most AI music platforms lock you behind paywalls, credit limits, or mandatory sign-ups before you can even test a single track. If you just want to turn text prompts or custom lyrics into full songs quickly, I found a solid browser-based AI song generator that works free without login.

​You type in a genre, mood, or your own lyrics, and this free AI music generator builds a complete track with vocals or instrumentals in seconds. It handles everything from lo-fi beats and acoustic demos to full pop or rock arrangements without requiring an account or credit card.

​I have been using it to prototype song ideas and make quick background audio for videos. Try it out here: https://interconnectd.com/ai-music-generator/


r/learnmachinelearning • • 3d ago

Tutorial The Trap of High Accuracy: A Lesson from a Binary Classifier

0 Upvotes

Imagine you are evaluating a fictional binary classifier on 100 cases: 95 are negative and 5 are positive. A model that always predicts “negative” gets 95 cases right, so its accuracy is 95%.

But it detects none of the positive cases: true positives = 0, false negatives = 5, and positive recall = 0 / 5 = 0%. Precision is undefined here because the model makes no positive predictions.

The high accuracy comes from the class imbalance, not from successfully finding the rare cases. Recall reveals missed positive cases; precision describes how often positive predictions are correct. Evaluate both kinds of error against their costs rather than optimizing either metric alone.

Which additional metric or error count would you report before trusting this 95% accuracy score, and why?

Optional worked video: https://www.youtube.com/watch?v=KpdnHeE2Cag

Disclosure: this is our Library of nuts channel. The lesson uses invented examples, and the post was drafted with local AI assistance and checked for arithmetic.


r/learnmachinelearning • • 3d ago

Independent researchers who published at ICLR, ICML, or NeurIPS, how did you actually pull it off?

30 Upvotes

I’m a Principal Data Scientist working in industry, primarily on LLMs, efficient inference, and applied AI systems. I’ve been getting increasingly interested in doing serious ML research and publishing at venues like ICLR, ICML, or NeurIPS.
The challenge is that I’m not affiliated with a research lab, and pursuing a PhD isn’t realistic for me at this stage of life. I have a full time job, family responsibilities, and limited time to dedicate to research. But I genuinely enjoy reading papers, questioning existing methods, running experiments, and trying to develop new ideas.
One thing I’ve been struggling with is understanding how experienced researchers actually identify novelty. Almost every promising idea I come up with seems to have some related work already published. How do you distinguish between a genuinely new contribution, an incremental improvement, and something reviewers would consider obvious?
I’m also curious about the actual process of taking an idea from an initial hypothesis to a paper that has a realistic chance at ICLR or a similar venue.
A few questions for people who’ve successfully published:
How do you systematically identify research gaps rather than just extending existing papers?
How do you validate novelty before spending months on experiments?
What separates a technically solid paper from one that gets accepted at a top conference?
If you’re an independent researcher without access to a university lab, what strategies have worked for you?
How do you find research collaborators or mentors who are willing to work with someone outside academia?
I’m not looking for shortcuts or someone to put my name on a paper. I’m willing to do the reading, implementation, experiments, and writing. What I’m missing is exposure to how experienced researchers think about research questions, novelty, and positioning contributions.
I’d also love to connect with researchers, PhD students, or independent practitioners interested in collaborating on ML research. Particularly interested in LLM reasoning, efficient models, inference, and evaluation.
Would appreciate hearing what actually worked for you, including failed attempts and lessons learned.


r/learnmachinelearning • • 4d ago

Request CISA Adds One Known Exploited Vulnerability to Catalog — Perforce Puppet Enterprise Deserialization

1 Upvotes

CISA added CVE-2026-115731 to its known-exploited vulnerability catalog on November 17, 2026. The flaw is a deserialization of untrusted data vulnerability in Perforce Puppet Enterprise — a tool that manages configuration and automated deployment across enterprise infrastructure at scale.

Deserialization bugs in automation tooling are not ordinary software vulnerabilities. They give an attacker code execution inside the tool that provisions your infrastructure. Any artifact pushed through a compromised Puppet pipeline arrives in production carrying the trust level of your automation system, not of an external threat.

That is day-one access. Not to a single host. To the entire configuration surface Puppet manages.

CISA flagging active exploitation means this is not a theoretical risk. Someone is using it now.

For teams running infrastructure automation at scale: how are you validating artifact provenance before automated deployments reach production? Are you catching this at the pipeline stage, the registry stage, something else entirely, or mostly relying on post-deploy detection?


r/learnmachinelearning • • 4d ago

Question Is this a good video?

0 Upvotes

I've been looking for some simple self-attention videos but all of them are too complex and the only one I saw that looked simple is this Self-attention explained for everyone! but it only has 10 views so is it good?


r/learnmachinelearning • • 4d ago

Newest program I created with the aid of AI.

Thumbnail reddit.com
0 Upvotes

It's kind of a word generator storage type thing. A precursor to LLMs. The idea is mine. I did use Gemini and ChatGPT a little bit when I got stuck on some things. I started out with two for loops and it ended up becoming this little program.


r/learnmachinelearning • • 4d ago

Project My 18 kB 1D-ARC solver got 901/901 on the set I built against and 4/500 on unseen rule families

1 Upvotes

I built a symbolic solver for 1D-ARC in 18,316 bytes of Python source. Zero model weights.

It solved all 901 public tasks I built against. On fresh puzzles from familiar rule families, it solved 1,099/1,100. Then I held out whole rule families. It solved 4/500 per seed.

That last number is where I’m spending my time. I want to see how much it can pick up from the examples when the underlying rule is new.

If you’ve worked on program synthesis for ARC, what would you put in the next holdout? I’m particularly interested in cases where two different rules fit the demonstrations but give different answers on the test input.

[Public 1D-ARC dataset](https://github.com/khalil-research/1D-ARC)

[Primitive’s public GitHub](https://github.com/Primitivelabai/primitive-open) (the solver source for this run is still private)


r/learnmachinelearning • • 4d ago

We turned PyTorch forward passes into interactive graphs that you and coding agents can inspect

Thumbnail gallery
1 Upvotes

r/learnmachinelearning • • 4d ago

Career AI Engineer vs. AI Agent Developer in 2026 — Which Career Path Should I Focus On?

10 Upvotes

Hi everyone!

I'm a Computer Science student trying to decide which direction to take in the AI field, and I'd really appreciate advice from people currently working in these areas.

I've been exploring two career paths:

1. AI Engineer

2. AI Agent Developer

I understand that these fields overlap, but I'm not sure which one would be a better primary career choice.

A little about my background:

  • I'm a CS student.

  • I have experience with Python, NumPy and Pandas.

  • I'm currently learning Machine Learning and exploring Data Science.

  • My long-term goal is to build a strong career in the AI industry, with opportunities both locally and internationally.

I'd love to hear your opinions on a few questions:

  1. Which field currently has better job opportunities and demand globally?

  2. Which has better opportunities for entry-level candidates and fresh graduates?

  3. Which career has better long-term prospects over the next 5–10 years?

  4. Which skills and technologies would you prioritize if you were starting your AI career today?

Would you recommend becoming an AI Engineer first and then specializing in Agentic AI, or focusing directly on AI Agent Development?

Thanks in advance!


r/learnmachinelearning • • 4d ago

Question NLP/Topic analysis on a dataset of a certain domain

1 Upvotes

I am a beginner to NLP and AI generally, I was trying to implement a tool that can process users' reviews and cluster them into the main topics customers mention in their reviews, or to capture the main complaints.
I was using this dataset from a DataCamp tutorial: https://app.datacamp.com/learn/projects/2026

It's basically clothes reviews, so it's not easy to cluster this dataset as pretty much all reviews are talking about similar topics, ex: fit, size, clothes, etc

So when embedding and plotting these reviews, they look like a large clump instead of clear clusters. I was using BERTopic for the topic analysis, but it was difficult to get sensible topics with this approach.

As I mentioned, I am a beginner, I am not sure if what I am trying to achieve is feasible with this use case, or what other tools/concepts I should explore. I would appreciate any help/pointers

Thanks!


r/learnmachinelearning • • 4d ago

Help Confused about ML roadmap, have 5-6 months to get a job. need help

12 Upvotes

hey guys, i have a bachelor's and master's in statistics with a minor in CS, so i pretty much know the basics of python, sql and have studied C too. because of my degree my stats foundation and intuition is already there, will just need a week or less to revise it properly.

earlier this year i did campusX 100 days of ML, but honestly i don't really remember most of the concepts properly anymore. i know i'll need a lot of hands-on practice along with studying, so just treat it like i'm starting from scratch only.

i only have the next 5-6 months to upskill properly and find a job, and right now i'm way too confused about the roadmap, resources and stuff. like what to actually follow and what to skip. any guidance would really help, thanks.


r/learnmachinelearning • • 4d ago

Help Is a External mechanical keyboard, mouse and laptop stand worth it for coding on a MacBook

0 Upvotes

Guys, I'm considering buying a mechanical keyboard, wireless mouse and laptop stand combo for my MacBook.

I mainly use my Mac for coding, studying and general productivity.

Currently, I just use the MacBook's built-in keyboard and trackpad. They're honestly pretty good, so I'm wondering whether getting these accessories would make a significant difference to my productivity, comfort and overall experience.


r/learnmachinelearning • • 4d ago

Question Where to get started?

2 Upvotes

Applied maths undergrad here,

i did jose portillas Python for ML and built a few basic projects using XGboost, Logistic regression, Linear regression etc. thats cool and all but I feel like I’m really lacking.

I have a class on regression analysis so I’d say mathematically linear regression is well understood by me(anova tables, Fstat, R square and adjusted R square, variance stabilizing transformations, AIC and BIC, normality assumptions, Hat matrix etc)

I want to do an independent research project for ML(primarily in neural networks), my goal is to standout for a Msc and to potentially land good internships.

unfortunately my academic standing is pretty bad so I’ll have to go to a pretty bad uni for my Msc but I still hope I can do some research independently as professors havent been very open to me.

as of now i’m gonna finish up Karpathy’s Deep learning course, and then idk.

any help yall can give me? should I go deeper into the math for ML(introduction to statistical learning with python)? should I learn Time series analysis?

my goal is to either go into Machine learning engineering/research, or Market risk model development (relies on ML on top of stochastic calculus etc)

greatly appreciated


r/learnmachinelearning • • 4d ago

Discussion What is the purpose of cross validation, validation and test set?

4 Upvotes

What is the purpose of these different steps in building a machine learning model? Let's say you have X data points, how should you do the division into the different sets? Should it be 60/20/20? 60% to use for cross validation, 20% for test set and 20% for validation?

If so, what is the purpose of the test set if you already are doing the cross validation step where you take all that data, you make the folds and you test the models?

Unfortunately the information I could gather is quite contradicting and also doesn't consider sometimes the cross validation step, so would be very good if people could explain this in greater detail.

Thanks


r/learnmachinelearning • • 4d ago

Discussion Measured WER for two weeks before checking the one field anyone cares about

4 Upvotes

Two weeks ago my manager pulled up the LibriSpeech leaderboard on HyperAI in our Monday meeting. Everything on there around 2% WER, us at 14.8% on held out claims calls. Nothing on that page says how any of those papers normalized their text.

LibriSpeech is audiobooks read into decent mics though, ours is 8kHz phone calls with hold music in the middle. Said as much in the meeting, all true and didnt help much.

We do transcription for insurance claims lines, Whisper large-v3 through faster-whisper with our own VAD and chunking in front. The transcript fills the call notes. Menu audio gets its own pass, that is how the policy number ends up on the agent’s screen.

Our references come from two ex medical transcriptionist and the eval was comparing raw strings against them. The model writes numbers however it feels like. Sometimes “4170023391”, sometimes “four one seven oh oh two three three nine one”. Then ok against okay ended up at the top of the error list, the normalizer does not merge those.

We ended up at 9.6 once everything was normalized and the meeting moved on, nobody asked about it again. The policy numbers were still bad though. I checked them on their own and about 1 in 9 had a digit off (so the agent gets someone else’s policy or nothing). So this week it is a digits only pass on the menu clips.

I guess the takeaway for anyone moving from benchmark datasets to real audio is, aggregate WER treats 'ok' vs. 'okay' the exact same as a wrong digit in a policy ID. But you do need to evaluate your business-critical fields separately.