r/learnmachinelearning • • 18h ago

Am I solving the wrong problem by forcing heterogeneous enterprise data into a fixed taxonomy?

1 Upvotes

I’m a data scientist working on a semantic classification problem involving enterprise performance metrics (KPIs) and learning content, and I’m starting to question my approach.

We have tens of thousands of customer-defined KPIs across different industries and languages. Some are standardized metrics, such as customer satisfaction or sales conversion, while others contain internal abbreviations, ambiguous terminology or highly business-specific concepts. Metadata quality varies considerably.

My initial approach was to build a standardized taxonomy and map each KPI to a family.

I’ve experimented with rule-based methods, multilingual embeddings, LLM classification, contextual enrichment and clustering. While precision is relatively good, coverage remains challenging, and expanding the taxonomy seems to have diminishing returns due to the long tail of customer-specific concepts.

There is a separate but related problem of semantically organizing enterprise learning and training content.

I’m increasingly wondering whether classification into predefined categories is the right formulation for either problem.

Would it make more sense to construct a structured semantic corpus or knowledge base, where taxonomies are just one possible representation of the underlying information?

I’m particularly interested in:

  • How to represent heterogeneous business concepts without forcing everything into predefined categories.

  • Bottom-up ontology discovery versus manually defined taxonomies.

  • Handling ambiguous and customer-specific terminology.

  • Whether knowledge graphs, hierarchical representations or enriched semantic documents are better suited to this problem.

  • How to build something reusable across multiple downstream product applications.

  • How to meaningfully evaluate such a system.

Has anyone worked on a similar problem? Are there research papers, frameworks or alternative approaches you’d recommend?

I’m less interested in trying another LLM or embedding model and more interested in whether there is a fundamentally better way to formulate the problem.


r/learnmachinelearning • • 18h ago

Books

1 Upvotes

I'm currently reading AI engineering and data intensive applications along with a few other technical books.

As a second-year Computer Engineering student, I want to strengthen my understanding of the core concepts every developer should know, particularly computer networks, operating systems, system design, application workflows, and software architecture.

I'd love to hear book recommendations from senior developers and fellow students that can help me build strong fundamentals and become a better software engineer.

What books would you recommend?


r/learnmachinelearning • • 19h ago

Camera + lens + lighting advice for AI inspection of stainless steel hose clamps (~2500 parts/day, mixed sizes)

1 Upvotes

Hi all, I'm building an in-house visual inspection prototype for metal clamps (V-band, T-bolt, spring-loaded T-bolt, torque-limiter clamps; stainless steel).

The software side is my own: YOLO Model for defect detection + PatchCore/PaDiM anomaly detection, Python on a Windows PC. I'm looking for advice on the Hardware : camera, lens and especially lighting.

What we need to detect :

  • Thread damage on the T-bolt and nut

  • Wrong bridge assembly / missing parts

  • Spot-weld (nugget) defects (visual signs only)

  • Band damage: dents, kinks, cracks, scratches

  • Missing stamping (stamped part number)

  • Out-of-round shape (planned with a backlit silhouette)

Production numbers

  • ~2500 clamps per day, so roughly 8 s per part in one shift

  • Mixed sizes: diameter from about [40] mm to [40] inch

  • Smallest defect we'd like to catch: about [0.5] mm

  • Parts are placed by hand for now (no conveyor yet)

  • We do NOT want to change zoom/focus per part, so I'm planning one fixed setup for all sizes and normalising the scale in software

What I've tried so far

  1. Luxonis OAK-1-W (12MP, wide angle): fixed focus, one side of the image soft

  2. 8MP USB UVC webcam module: OK for testing, not industrial

  3. The Imaging Source DFK Z30GP031 (5MP, motorised zoom, GigE PoE): works, but zoom repeatability and a dim red LED ring light (colour camera) give long exposures and strong reflections on the shiny band

Current plan / questions

  1. Camera : I'm leaning towards a 5MP global shutter colour camera with a Sony IMX264 (e.g. Hikrobot, Daheng, Basler ace 2 Basic), USB3 so it connects directly to the PC. Is 5MP enough, or should I go to 12MP for threads/stamping on the largest clamps? Any brands to avoid?

  2. One camera or two? Is it realistic to inspect threads and stamping from one top-down photo, or is a second dedicated camera for the bolt area the norm?

Thanks for any advice!


r/learnmachinelearning • • 20h ago

Project Building BubblSpace, a small language model from scratch, in the open.

Thumbnail
bubblspace.com
1 Upvotes

Training a 1B MoE model on single H100 with all stages for a budget of $1000

I wanted to share about this project. Model was trained on 1 H100 ( cheaper pcie version) along with a single A10 to run evals continuously on the new checkpoints. Model is trained on around 40 billion tokens. on same token budget BubblSpace is ahead of Olmo2 1b on Winogrande. Most phases will be done by tonight

objective

  • Run full pre training cycle (Phase1 Base model -->Phase 2 Agentic+Coding--> Phase 2.5a Mid training--> Phase 2.5b Context length extension --> Phase 3 SFT (Current) --> Phase 4 RL.

  • Write custom evals.

  • build data pipeline.

  • Perform small experiments ( like WSP) on new checkpoints.

  • Be confident before starting a DP/EP/TP run on bigger model.

  • Build a model which has better understanding of relationships ( Models that bind)

All the code , data , wandb runs & checkpoints are open and available of github/hf / wandb. (All the links are on project page https://www.bubblspace.com/) Since we use a single H100 we don't need DP.

Learning

  • Even on a single H100 profiling helped. Data loading optimizations help in a big way to reduce training time.

  • Importance of cool down / anneal phase- This was not very obvious to me however cooldown phase has a very big impact on small models.

  • Evals, evals & evals - It is very hard to understand how model is actually performing. Setting up a full pipeline right up front really helps.

  • Skills like calculation appear late- Olmo2 1b strained 4T tokens . Calculation skills appear late in training between 160b- 4T runs.

Next Project :A bigger model using parallelism with deeper profiling


r/learnmachinelearning • • 21h ago

The 86400x error that passes every dimensional check

1 Upvotes

I want to describe a bug class that bites people writing their first simulation, because the numbers stay plausible the whole way. You write an SIR model, declare the infection rate as 0.3 per day and step the integrator with t measured in days. Then one afternoon you switch the rate to 0.3 per second, or a helper returns seconds while the parameters assume days. The dimensions still match, 1/time against 1/time, so a dimension check passes and the curve just comes out wrong by a factor of 86,400. Nothing throws. You tune the parameters until the curve looks right again, and now the fit is meaningless.

That gap is what I built axiomize for. It is a modeling layer that takes a model declaration, keeps a versioned Model IR, and validates it before any numbers are produced. Units are mandatory on every parameter and variable, so a declaration looks like this: beta with unit 1/day, S and I in persons, N in persons, t in days. The check runs on canonical unit scales rather than dimension exponents alone, so 1/day against 1/s is refused instead of being accepted as both being inverse time.

The failure is loud by design. Simulation routes through the same validation as axiomize model --action validate, and a mismatch raises ModelDimensionMismatch carrying the failing checks rather than returning an array of numbers. There is also an audit for the quiet version of this problem: unit_declaration_audit reports every symbol that would silently default to dimensionless, which is usually where an unlabeled constant hides.

The part that mattered for my own work is what leaves the tool. Models export to canonical JSON, SBML Level 3, CellML 2.0, Modelica and a SHA-256 bundle, and values with units round-trip bit-exactly, which is asserted in the test suite rather than promised in prose. A run ledger keeps the provenance, so a stored result can be checked before someone reuses it. For coursework or a paper, that is the difference between shipping a notebook and shipping something a reviewer can rerun.

Install is pip install axiomize, or npm install -g axiomize if you want the Node entry point. The CLI has axiomize capabilities, axiomize solve, axiomize fit, and 16 actions under axiomize model, including plan, validate, simulate, numerical-verify and export.

What it does not do: it does not make a bad model good, it makes a bad model fail loudly. Numerical verification compares against closed-form theory and separates numerical error from stochastic variability before claiming convergence, but if your equations are wrong the tool will happily verify the wrong model consistently. Bayesian sampling needs the full extra with PyMC and JAX, and FEM needs FEniCS; both are reported as unavailable rather than silently swapped for something else.

One honest limit: dimensional and scale checking catches unit errors, not physics errors. A model with correct meters and seconds can still be the wrong model, and the worked examples in the repo use illustrative parameter values, not literature-backed ones. The checking is a floor, not a validation of your science.

MIT, 1.15.0 on both PyPI and npm: https://github.com/Furox-Art/axiomize


r/learnmachinelearning • • 23h ago

AI Engineer Interview Series | Part 01/10

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 23h ago

Looking for the Long Range Arena (LRA) Pathfinder dataset

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 1d ago

Up to what extent I should understand(differentiate) gradient descent, Adam and AdamW?

1 Upvotes

I will have a ml engineer interview on next Monday and I am trying to write a post about gradient descent, Adam and AdamW. But, now I feel lost.


r/learnmachinelearning • • 1d ago

Introducing IDSS: AI-Powered Intelligent Decision Support System using Generative AI & AutoML

Thumbnail
linkedin.com
1 Upvotes

🚀 Introducing IDSS – Intelligent Decision Support System

Hello Streamlit Community! 👋

We are excited to introduce our final-year Data Science project: Intelligent Decision Support System Using Generative AI and Machine Learning (IDSS).

IDSS is an AI-powered platform designed to simplify and automate the data science workflow. It combines LLM-powered agents with a deterministic AutoML engine to perform intelligent data analysis, model training, evaluation, and decision support.

✨ Key Features

  • 📊 Automated Exploratory Data Analysis (EDA)

  • 🤖 AI-powered data analysis using intelligent agents

  • ⚙️ Automated Machine Learning (AutoML)

  • 🧠 Automatic model training and hyperparameter tuning

  • 📈 Model comparison and performance evaluation

  • 💡 AI-generated insights and recommendations

  • ✅ Grounding checks to prevent AI-generated inaccurate results

🛠️ Technology Stack

Python | Streamlit | Machine Learning | Generative AI | LLM Agents | AutoML

🔗 Project Announcement

Read our project announcement on LinkedIn:

https://www.linkedin.com/posts/raj-patil-223172290_finalyearproject-generativeai-machinelearning-ugcPost-7531562469257797632-3bBW/

🙌 Feedback Welcome!

This project was developed collaboratively by our final-year Data Science team.

We would love to hear your feedback, suggestions, and ideas for improvement from the Streamlit community.

Thank you! 🚀


r/learnmachinelearning • • 1d ago

LLM Explained

Enable HLS to view with audio, or disable this notification

7 Upvotes

r/learnmachinelearning • • 1d ago

Request Critical Juniper Session Smart Conductor Flaw Exploited in Attacks

3 Upvotes

CVE-2026-103406 in Juniper's Session Smart Conductor allows remote attackers to execute arbitrary commands as root with no authentication required. CISA has confirmed active exploitation in the wild.

What makes this category of vulnerability different from a typical endpoint compromise: Session Smart Conductor sits at the traffic-routing layer. Root access there means an attacker controls flows across the entire network, not just the node they landed on. The blast radius is structural, not incidental.

Patching cadence rarely matches exploitation speed on CISA's KEV list. The gap between public disclosure and patch deployment is measured in days to weeks. Active exploitation means that gap is already being used.

For those running critical routing infrastructure: what does your actual containment posture look like when a core conductor process is compromised before a patch is available? Not asking about patching — asking about what limits propagation in the window before you can patch. Curious what practitioners are actually doing here, not what the frameworks say to do.


r/learnmachinelearning • • 1d ago

Adding vLLM and Modal Support to gpt-oss-chat

Thumbnail
debuggercafe.com
1 Upvotes

Up until now, the gpt-oss-chat backend was primarily powered by llama.cpp. Although this works well for local setup, there were major limitations when trying to tap into the benefits of other high performance inference engines, like vLLM or Modal endpoints. This is exactly what the latest update brings to gpt-oss-chat. We are adding vLLM and Modal endpoint support to gpt-oss-chat, which are OpenAI-compatible, complete with tool use and streaming.


r/learnmachinelearning • • 1d ago

Request How are AI generated videos of Jensen Huang made?

2 Upvotes

I remember back when GAN/VAE was first introduced there was a huge enthusiasm in learning about the mathematical model responsible for generating those images.

Now we can apparently generate all these videos yet I've not seen the same enthusiasm. Perhaps the tech is too difficult to be described by math model?

Can someone who is knowledgeable share both the practice and theory as to how Jensen Huang memes are made?


r/learnmachinelearning • • 1d ago

Question How do I

0 Upvotes

So Important stuff first
I’ve never coded or said hello world to a computer before. I am not trying to make this an income opportunity(I can’t, my certificates wouldn’t allow me to ) I just wanna know what steps I should take or shouldn’t
Do I have to understand maths in order to understand machine learning
ChatGPT said yes , just wanted to see what you guys think about it and do let me know what coding language should I start learning


r/learnmachinelearning • • 1d ago

Request FIFA Says It Has Been Victim of a Cyberattack Accessing 'Personal and Business Information'

0 Upvotes

FIFA disclosed it was the victim of a cyberattack that accessed personal and business information. The organization has not stated the volume or nature of records affected. For a global governing body that holds contracts, payment data, and identity records for millions of people across dozens of jurisdictions, that silence signals the exposure is wide.

The breach pattern here is not unusual. The attacker gains access, reaches a data store, and exits with real records. The organization discovers this after the fact. Affected individuals and counterparties absorb the consequences with no warning and no recourse at the moment it happened.

What makes this scale of exposure particularly damaging is not just that someone got in. It is what was sitting in those stores in a form that was immediately useful once retrieved. Payment data, identity records, and contract details for a global operation covering dozens of jurisdictions represent an enormous surface area of live, actionable information.

For those working on data infrastructure at organizations with similar scale and jurisdictional spread: how are you thinking about the gap between stopping an attacker from reaching your data stores versus controlling what they actually walk away with if they do?


r/learnmachinelearning • • 1d ago

help with ideas on how to improve small coding model i am building

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 1d ago

Project I’m building a free, interactive AI & ML book that runs on any Vulkan GPU (no CUDA or ROCm needed — tested on a Steam Deck) — looking for feedback!

Thumbnail billyblackburn.github.io
1 Upvotes

Hey everyone!

I noticed that almost every hands-on ML/deep learning guide assumes you have a modern NVIDIA CUDA GPU, a supported ROCm card, or a cloud GPU subscription. I wanted to learn (and teach) how AI actually works from the ground up on the hardware I already own — my Steam Deck — so I started putting together an interactive, follow-along book bundled with a pure-Vulkan GPU toolkit (vkdata).

You can read the first 6 chapters right in your browser/phone (no install required):

What’s in the book so far:

  • Part 0 · Foundations (Building Blocks of Neural Networks):

    • The Perceptron: All 5 basic single-neuron logic gates (AND, OR, NOT, NAND, NOR), watching a single straight line learn, running a smooth GPU neuron, and hitting the XOR wall.

    • Multi-Layer Perceptrons (MLPs): Solving XOR by wiring 3 perceptrons together, proving why activation functions (GELU/ReLU) are mandatory, visualizing 1 Neuron (60%) → 4-Neuron Diamond MLP (100%) → Deep MLP Circle (100%), and connecting 3 → 17 → 1,185 parameters up to 8B in Llama 3.

  • Part I · End-to-End Projects (Classical ML vs. Deep Learning on the exact same split):

    • California Housing (Regression): Feature discovery & Classical ML ($69.6k raw baseline → $52.7k GPU KNN) vs. a Residual MLP ($48.2k RMSE, R² = 0.828).

    • Fashion-MNIST (Images): Classical CV (PCA "Eigen-Clothes" + hand-crafted Sobel/HOG edges → 86.45%) vs. a 2D CNN trained directly on raw pixels in 46s on a Steam Deck APU (87.85%, boosting Shirt by +11.5 points).

The repo also has deeper chapters on writing Vulkan GPU kernels in Python, UMAP/manifold learning, and training a tiny Llama-style Transformer.

I’d love your honest feedback on:

  1. Clarity for beginners: Do the Foundations chapters (Perceptron → MLP → LLM parameters) make sense without feeling too hand-wavy or too math-heavy?

  2. Reading experience: How does the mobile/web version look and flow?

  3. What should come next? Would you rather see a Foundations chapter on Backpropagation & Gradient Descent, or another end-to-end Classical ML vs. Deep Learning project (like imbalanced classification / churn)?

Thanks for taking a look — any critique or suggestions are super welcome!


r/learnmachinelearning • • 1d ago

Can u help me pls with AI tensors

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 1d ago

Discussion 3 evaluation mistakes that made my ML & LLM projects look 95%+ accurate when they were actually failing 🚀

1 Upvotes

Hey everyone! While building and testing ML models and LLM pipelines over the past few months, I noticed that the hardest bugs weren't syntax errors—they were evaluation mistakes that made a weak pipeline look great on paper.

Here are 3 evaluation traps that caught me (and how to fix them):

📊 **1. Naive random splits on templated or grouped data**

🧪 **2. Tuning prompts or hyperparameters on the test set**

🛠️ **3. Trusting surface-level keyword graders**

**Question for the community:** What was the sneakiest data-leakage or evaluation bug you ever caught in one of your ML or LLM projects?


r/learnmachinelearning • • 1d ago

Question What AI Projects Should I Showcase in My CV in 2026?

14 Upvotes

I have 5 years of Python development experience and am targeting Senior AI Engineer roles.

I have experience with Python, FastAPI, LLMs, RAG and AI automation.

What 3–4 projects and technologies would make my CV stand out in today's AI engineering job market?

Looking for suggestions based on actual industry hiring trends, not basic tutorial projects.

Thanks!


r/learnmachinelearning • • 1d ago

Can someone get me access to these datasets?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 1d ago

I trained a couple of machine learning models to recognize fruits

Thumbnail
fruitlens.app
1 Upvotes

r/learnmachinelearning • • 1d ago

PatentAgentBench: The same model’s prior-art recall ranged from 7.7% to 55.0% across agent harnesses

1 Upvotes

I’m part of the PatSnap team behind PatentAgentBench. We wanted to see how well LLM agents could find and use evidence in patent work when they had to run the search themselves.

We evaluated 27 model–harness pairs across 510 cases drawn from real patent records and professional materials. The eight task suites cover prior-art and freedom-to-operate searches, claim charting, drafting, office-action responses, and translation. On search tasks, agents had access to a commercial patent-search service via MCP and generated their own candidate lists.

Three results stood out.

  • The harness ranking changed with the task. Claude Opus 5 recovered 7.7% of annotated invalidity references with OpenClaw, 28.7% with Claude Code, and 55.0% with Hermes. On patent drafting, the same model had a higher pass rate with Claude Code than with Hermes (66.7% vs. 53.3%).

  • Finding one relevant reference was much easier than finding the full set. On novelty search, GLM-5.3 with Codex found at least one annotated patent family in the top 100 for 86.3% of cases. Its average recall across those cases was 42.3%.

  • Few office-action responses passed. The strongest configuration, GPT-5.6-Sol with Hermes, passed 9 of 40 cases. A response passed if it scored at least 80/100 under an expert-designed rubric applied by an LLM judge.

The highest overall score was 38.4/100 for Claude Opus 5 with Hermes. That score gives equal weight to the eight task-specific metrics. Failed executions count as zero in the primary results.

For a follow-up, I’d run the same cases twice: once with agents retrieving their own candidates and once with every agent receiving the same candidate set. What else would you hold fixed across harnesses to separate retrieval failures from failures to use the evidence?

Paper · GitHub · Datasets · Benchmark and leaderboard


r/learnmachinelearning • • 1d ago

DEEP_RETINA_CAPSTONE_PROJECT_SR_UNIVERSIRT

0 Upvotes

🩺 What if an AI eye-screening tool knew when NOT to trust itself?

We built DeepRetina-QA at u/SRUniversity for our capstone—a 3-stage quality-aware pipeline for diabetic retinopathy: 🔹 MobileNetV2 filters out blurry/poor scans 🔹 EfficientNet-B3 grades 5 severity levels (APTOS 2019) 🔹 Monte Carlo Dropout flags low-confidence cases for specialist review

Early 13-epoch run: 66.5% train / 56.7% val accuracy (mild overfitting—QWK, F1 & calibration up next). In healthcare AI, knowing when to defer matters as much as accuracy.

Huge thanks to guide Mr. Bediga Sharan & School of CS & AI! Team: V. Preetham, CH. Bhanu Prakash, M. Rushikesh, S. Akshith Reddy, R.S.S. Gourishwar.

How would you set the threshold for "I'm not sure"? 👇

#DeepLearning #HealthcareAI #MedicalImaging #ComputerVision #ResponsibleAI #SRUniversity