r/learnmachinelearning • u/Own-Jackfruit-2557 • 6d ago
r/learnmachinelearning • u/Primary-Medicine-131 • 6d ago
I built AiDotNet to show the world that it is possible for .NET to do AI better than PyTorch
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 post | AiDotNet | PyTorch |
|---|---|---|
| Time for 4,096 training updates on a GTX 1660 Ti | 2.60 seconds | 15.00 seconds |
| Correct answers on 320 new signals | 302 | 301 |
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 • u/No-Act-8939 • 6d ago
Question Where to get started?
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 • u/vbmhfuk • 6d ago
Question NLP/Topic analysis on a dataset of a certain domain
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 • u/Dense_Primary629 • 6d ago
Discussion Someone trained a 27B LLM that matches a 70B model on reasoning — is small the new big?
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 • u/PresentationNew9527 • 6d ago
A synthetic patient record is a useful way to make an LLM extraction test checkable
A synthetic history can come with an answer key generated from the same underlying data. This example uses 334 visits over 71 years and asks AntLing's Ling-3.0-flash-Sante to extract current medications, allergies and active disorders, including dates, from all 130,993 input tokens at once.
The reported scores keep the categories separate: allergies 7/7, disorders 8/10, dental codes 2/7 and medications 2/5. The returned active lists keep stopped items out. The medication key includes an item dating to 1954, a restart in 1966 and three restarts on the last encounter date.
That gives you several things to preserve when making a similar test:
- The generated history and its underlying structured data.
- The date at which an item counts as active.
- The expected items in each category.
- The evidence location and start, stop or restart dates.
This run used official FP8 on two DGX Spark machines with MTP enabled. Input reading took 61 seconds, followed by about eleven minutes of thinking. The original test-post preview preserves the category results and date-boundary findings; the timing chart records input processing and generation speed. Together they make the evaluation process inspectable.
r/learnmachinelearning • u/BackgroundCrow2017 • 6d ago
Tutorial The Trap of High Accuracy: A Lesson from a Binary Classifier
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 • u/PatronusProtect • 6d ago
What we learned choosing a threshold for our new text-moderation models
We released Tiger Guard, two mmBERT classifiers for English and German text moderation. I'm Dominik from Casdo Labs. One part of the release that might be useful here is how the same model changes with the decision threshold.
For the 308M model, our default UNSAFE threshold is 0.5. On a balanced 1,500-prompt development benchmark it catches 83.7% of unsafe prompts and flags 46 of 750 harmless ones.
At a threshold of 0.891 it flags only 5 of those harmless prompts, but recall drops to 63.6%. The model hasn't changed. We've changed the cost we're willing to pay in missed cases versus false alarms.
The 0.891 threshold corresponds to a 1% false-positive rate on our validation data. It does not mean you'll get 1% on every new dataset. Even the default threshold produces different false-positive rates across English, German and different types of text.
There's another evaluation lesson here: we removed benchmark texts from training, but looked at benchmark errors while improving the model. We therefore label that suite as a development result. The card reports separate held-out results and documents data overlap on additional public tests.
The 308M and 141M weights are Apache 2.0, with Transformers examples and ONNX exports.
We'll publish the full training and dataset pipeline in a follow-up release.
Tiger Guard, 308M: https://huggingface.co/patronus-studio/tiger-guard-content-moderation
Tiger Guard Small, 141M: https://huggingface.co/patronus-studio/tiger-guard-content-moderation-small
Happy to get feedback. If you use the examples for an experiment, comparing thresholds on your own validation split is a useful place to start.
r/learnmachinelearning • u/Ok_pettech • 6d ago
Project Free AI Video Generator From Image With No Signups or Watermarks
reddit.comr/learnmachinelearning • u/im_doing_my_thing • 6d ago
Help me Please someone review this guide https://pythonguides.com/ Spoiler
I want to learn python from scratch to job ready meas complete all fundamentals to done the learning of python for job and never leave any basic fundamentals incomplete
r/learnmachinelearning • u/ImaginaryLocal3002 • 6d ago
Made a free site that lets you scroll short clips of lectures instead of doomscrolling (feedback wanted)
Made a free site that lets you scroll short clips of lectures instead of doomscrolling (feedback wanted)
I kept losing evenings to short-video apps, so I built a feed made only of study videos: machine learning, CS, math, science, engineering, business, arts. Clips are 90 seconds, you can speed them up to 2x, and there's a timecode box to jump around.
What would make this actually useful for you: a "next lesson" order, difficulty tags, or something else? Link: https://studytube-36f.pages.dev
r/learnmachinelearning • u/notanhumanonlyai25 • 7d ago
How to desgin test
How dose ai researchs affter coming with an idea they test it how do they design these tests and how to if my tests are enough
r/learnmachinelearning • u/timothybabu123 • 6d ago
Help Is a External mechanical keyboard, mouse and laptop stand worth it for coding on a MacBook
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 • u/ShakeAgreeable1988 • 7d ago
Help How should i continue teaching my project?
I am "working" on a project that has to do with SNNs, i am using ai to help me alot but thats because i dont want to go insane writing a complex Neural network. anyhow i managed to make it replicate early human behavior and learns like a child would. but im unsure how to expose it to a genuine stream of input from people that would allow it to develop a non skewed personality not doctored by me. i want to run a community but i am unsure of how to set that up (i run it in godot while the brain runs on a rented droplet and on pytorch)
r/learnmachinelearning • u/oversolan007 • 7d ago
Fazendo fine tune no modelo de 100 milhões de parâmetro usando LoRa
r/learnmachinelearning • u/westonmickey • 7d ago
Six Days of Friction: What Actually Happened Across the November Outages
reddit.comr/learnmachinelearning • u/Ok_pettech • 7d ago
Project list of Unlimited free AI Premium tools online
interconnectd.comr/learnmachinelearning • u/No-Conclusion3720 • 7d ago
Request CISA Adds One Known Exploited Vulnerability to Catalog (Perforce Puppet Enterprise Deserialization)
CISA just added CVE-2026-115731 to its Known Exploited Vulnerabilities catalog — a deserialization flaw in Perforce Puppet Enterprise that is actively being exploited right now.
Puppet Enterprise is not a niche tool. It manages server configurations, container deployments, and CI/CD pipelines across entire enterprise environments. A single compromised Puppet server can push malicious configuration to every node it manages — that is not a one-system incident, that is an organization-wide incident.
The AI angle makes this worse in a specific way. Agents increasingly use build and deployment pipelines as action surfaces — triggering jobs, modifying configs, initiating rollouts. If the pipeline is compromised at the infrastructure level, an agent calling into that pipeline is not just executing a task. It is operating inside attacker-controlled infrastructure, with no visibility into what the pipeline is actually doing downstream.
The numbers matter here. Puppet Enterprise deployments typically manage hundreds to thousands of nodes. Active exploitation means attackers are already in some of those environments today.
For teams running agents that interact with CI/CD infrastructure: how are you handling this right now? Are your agents blocked from pipeline calls until the CVE is patched, are they still running with added monitoring, or is there some other approach your team has landed on? Genuinely curious what the operational reality looks like across different orgs.
r/learnmachinelearning • u/Ok-Size-7176 • 7d ago
Looking for AI Engineer Internship or Junior AI/ML Role | Python, Agentic AI, RAG, LangGraph
Hello everyone!
I'm an Electronics and Communication Engineering undergraduate at NIT Raipur (graduating in 2027), currently looking for AI/ML Engineer Internships, Generative AI Internships, or entry-level AI engineering opportunities.
My primary interests are in building practical AI systems, particularly Agentic AI, Multi-Agent Systems, RAG pipelines, and LLM evaluation.
Technical Skills:
- Programming: Python, C++, SQL
- AI Agents & LLMs: LangGraph, LangChain, Multi-Agent Orchestration, Tool Calling, Prompt Engineering
- RAG & Evaluation: FAISS, Semantic Retrieval, Multi-Query Retrieval, RAGAS, Hallucination Analysis
- Backend: FastAPI, REST APIs, PostgreSQL, MySQL, SQLite
- ML/DL: PyTorch, TensorFlow/Keras, Scikit-learn, OpenCV
- Tools: Git, Streamlit, Render, Pandas, NumPy
Some projects I've built:
1. OpenRAG-Inspector – Explainable, Self-Evaluating RAG System
- Built a document question-answering system using RAG.
- Implemented query rewriting and multi-query retrieval.
- Added transparency by exposing retrieved chunks, similarity scores, context, and latency.
- Integrated RAGAS for hallucination analysis and answer evaluation.
2. AtlasMind AI – Multi-Agent Travel Planning System
- Built a multi-agent architecture using LangGraph and LangChain.
- Developed specialized agents for flight research, hotel discovery, and itinerary generation.
- Integrated external APIs for flight information and accommodation discovery.
- Built a FastAPI backend with PostgreSQL-backed conversation state.
3. Sales Demand Forecasting using GRU
- Developed a time-series forecasting model using a 12-week historical sales window.
- Achieved MAE of 13.08 and RMSE of 19.85.
- Deployed the model using Streamlit.
Previous Experience:
AI Intern at Edunet Foundation (May–June 2025)
- Developed a crop recommendation system.
- Performed EDA, data preprocessing, feature scaling, and model comparison.
- Evaluated Random Forest, Decision Tree, KNN, and Naive Bayes.
What I'm looking for:
- AI Engineer Intern
- Generative AI / Agentic AI Intern
- Machine Learning Engineer Intern
- Junior AI/ML Engineer
- Research or project-based opportunities
I'm open to remote opportunities as well as opportunities in India. I'm also interested in collaborating with early-stage startups and developers working on AI products.
I enjoy building actual working systems and understanding their reliability, evaluation, and failure modes.
If you're hiring, know about relevant openings, or are working on something interesting in this space, please feel free to comment or DM me.
Thank you!
r/learnmachinelearning • u/Independent-Ad1984 • 7d ago
My colleague says Europeans don't care about AI, even in manufacturing. Is that true
reddit.comr/learnmachinelearning • u/dice299 • 7d ago
Discussion is apna collage couse is good?
reddit.comr/learnmachinelearning • u/Gege-max • 7d ago
At what point can we say that we master linear regression? And that we can move on to the classification
r/learnmachinelearning • u/FishermanResident349 • 7d ago
Looking for self-learners to join BlueprintML
BlueprintML: https://github.com/AbhinandanMandal/BlueprintML
Discord: https://discord.gg/RR5XhNhH4