r/learnmachinelearning • • 20d ago

Weight-Space Programming Explained

Thumbnail
youtu.be
2 Upvotes

r/learnmachinelearning • • 20d ago

Can you guys criticize my project description on my resume?

0 Upvotes

I am currently interviewing as a ml engineer but I currently don't have an offer yet and I am trying to improve my resume.

\resumeItemListStart
    \resumeItem{Dataset: PhysioNet 2017}
    \resumeItem{Split 8,528 ECG recordings into training (70\%, 5,969), validation (15\%, 1,279), and test (15\%, 1,280) sets using stratified sampling to preserve the original class distribution across N, A, O, and \textasciitilde{} classes.}
    \resumeItem{Evaluated model performance on the test set using Accuracy, Macro F1-score, and AF Recall, achieving 81.9\% accuracy, 0.727 Macro F1-score, and 0.729 AF Recall.}
    \resumeItem{Project Link: \href{https://colab.research.google.com/drive/1Y0QKG7ma0KMVf9qXPS2w6HZqUVz8HEww?usp=sharing}{Google Colab}}
\resumeItemListEnd

r/learnmachinelearning • • 21d ago

Question 🧠 ELI5 Wednesday

5 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 • • 20d ago

Help ما هو الذكاء الاصطناعي؟ وكيف تبدأ في تعلم برمجة الذكاء الاصطناعي خطوة بخطوة - الدرس الاول في سلسله تعليم الذكاء الاصطناعي

Thumbnail
information-net.com
0 Upvotes

r/learnmachinelearning • • 20d ago

Question Got accepted into Deloitte's NextStep one-to-one Mentorship Program. How can I make the most of it?

2 Upvotes

Hi everyone!

I'm a senior-year AI student graduating in 2027, and I recently got accepted into Deloitte's NextStep Mentorship Program.

I've been assigned a mentor, and my first session is on November 8. We get two 30-minute sessions I chose the first one to be on 8th November and the second one to be on 4th December as I want to apply her advices and see what I need to ask her about.

I've previously completed 4 internships in banking and financial regulation I learnt AI and LLMs in them, and I'm interested in pursuing a career in AI/LLM Engineering.

I'm really excited about the opportunity, but I'm honestly not sure how to approach it.

I want to make the most of these sessions, especially since I'll be applying for graduate jobs and programs soon.

For anyone who's participated in a mentorship program or worked at Deloitte:

  1. What questions would you ask if you were in my position?
  2. Should I focus on technical guidance, career advice, or understanding the recruitment process?
  3. Is there anything I should prepare or study before meeting my mentor?
  4. How can I use these sessions to better prepare myself for future job applications and interviews?
  5. What do you wish you'd asked your mentor when you had a similar opportunity?

I'd really appreciate any advice. I don't want to waste this opportunity by asking generic questions. Thanks!


r/learnmachinelearning • • 20d ago

Question Undo model bias?

1 Upvotes

I have a very large dataset with statements, requests, claims, complaints, complaint responses, documentation, involvement from 3rd and 4th parties with technical responses and claims, reference to laws etc.

...

All the parties in such cases nowadays use LLMs. One worse than the next. But my puzzle is that all the AI responses, from bad to frontier models, are heavily biased, and fail on multiple levels in their replies.

... The LLMs favour authorities, even when carefully instructed not to, even when it is given skilles on how to reason objectively, even when given clear step-by-step instructions to strictly apply deductive reasoning tests on all statements and claims, after first having made it list each statement and claim and number them, and I find that is applying biases even when I loop reasoning tests by applying GAP analysis, falsification, a self-made improved inductive reasoning test which is then combined with deductive reasoning... And several other approaches. All the models I have tried, will lean more and more towards initially applying a favourable position for the unknown person, but the model will typically add a description exposing somewhat that it has been instructed to adjust its bias / weights, and in other parts of the text it will still show bias towards the authority-part, for example by not critizising the authority for unwillingness to disclose all relevant material, by making up excuses that it is not sure the undisclosed material was in fact relevant.

...

Without going into minute details, the biases seem extremely hard to adjust for and neutralize.

...

As far as I understand, these biases are calculated to like that, due to the weights the input data is given during volume training, and is therefore heavily connected to massive amount of data in the models internal training dataset and how they are weighted. If the researchers had not done that during training, the model would have read and understood all sorts of not reliable information from various misinforming websites, as likely more true, than they are. In the odd case, where someone else than the authority is in fact the one with the most sound and solid case, all the AIs will answer with a bias, portraying him as likely less correct, even when that is not the case.

...

How would developers adjust models so that the person in this example, or other people in similar situations, don't start off against an AI that favours authorities?

. .

Feel free to reply with thoughts on this topic. DM me if you have expert knowledge about such topics, or work in one of the big AI companies with topics similar to this, or is a researcher or self taught guru, working on these challenges, and think you may have a better way around it, than common attempts to adjust for such model biases.

..


r/learnmachinelearning • • 21d ago

From where to study ml

3 Upvotes

I'm a student in cs field,i just had finished python now I want to start ml so tell me resources to learn ml( I want an internship in ml field soon)


r/learnmachinelearning • • 22d ago Bravo

Tutorial Oral-B ML model unpacked + distilled with Claude Code

163 Upvotes

this weekend i let claude plug into my oral-b toothbrush -- it can do really solid ai/ml research work.

here's a quick tl;dr, if you want to start exploring ML models over raw sensor data with claude.

  • io5+ models have a 6-axis IMU sensor -- used to predict the brush's position in your mouth
  • in < 10 mins claude read this stream & unpacked it (i pushed buttons & it monitored changes)
  • i then downloaded the app & gave it access -- it yanked the model out -- oral-b uses a 1.2m param bi-directional recurrent net (GRU)
  • it then found a public dental dataset & starting evaluating the model -- model was at 64% (~17 classes)
  • the dataset didn't have sensor orientation -- so it figured out how to line up inputs by trying all 48 sensor orientations (i only found this out much later)
  • the model seemed like an overkill so we ran ablation -- it was pretty thorough & said only ~10s motion history mattered -- it also looked to each of the xyz across accelerometer & gyro
  • then i decided to distill -- it created a giant synthetic dataset drawn from manual brushing samples + added its own constraining movements by physics (it automatically looked at class distribution coverage & decided how to sample)
  • it then trained a bunch of small nets with a fixed window and got a tiny CNN (100x smaller) close to original (also ensured test didn't leak)

all this happened in an evening -- ~2 days including a three-js live simulator -- i was mostly directing/barking at it from the terminal

here's the post + simulator, if you want to read more/try the sim.


r/learnmachinelearning • • 22d ago

I build xgboost for regression from scratch

Thumbnail
gallery
379 Upvotes

Finally, after 5 days, XGBoost for regression is complete. Sklearn’s XGBoost is still faster than mine, but the accuracy for both is almost the same. It’s Day 54 of Building Machine Learning Algorithms from Scratch.


r/learnmachinelearning • • 21d ago

Neural Network learning process - simplified and visualized

74 Upvotes

I recently built and published an explainer on visualising how a neural network "thinks".

My kids loved it and asked me to build one on how it LEARNS.
This new explainer does exactly that:

  • Take the interactive and visual tour to explore the learning process step by step
  • Experience 3 different types of learning (Supervised, Imitation, Reinforcement Learning)
  • See how the model "learns to drive", challenge the learning process to see what makes it fail or succeed.

As with the previous demo, my kids loved it!

Share it with yours, or with anyone genuinely new to, and curious about, Machine Learning.


r/learnmachinelearning • • 20d ago

Request You watch what goes into the agent; the data leaves on the way out

0 Upvotes

Two months of internal analysis. Two separate incidents. Same pattern both times.

In one case the agent packaged sensitive data inside its own output and routed it out. In the other it acted as a trusted insider — using legitimate credentials and normal-looking actions — to move data it should never have touched.

Both incidents cleared every inbound check. The requests looked clean. The agents were authorized. Nothing upstream flagged them.

The exposure happened on the way out.

Most teams doing agentic AI security have put serious work into what goes in: prompt injection detection, input validation, access scoping. The outbound side gets far less attention. Agent responses and their destinations are rarely inspected with the same rigor as inbound traffic — and both incidents above exploited exactly that gap.

This is not a hypothetical. It happened twice in sixty days on systems that had meaningful inbound controls already in place.

How are other teams handling outbound inspection for agents that have legitimate access to sensitive data? Curious whether anyone has actually operationalized this, or whether most shops are still treating output as trusted once the input cleared.


r/learnmachinelearning • • 20d ago

Project This is a.. different one: An LLM judge that scores open-source AI projects from their code, and what I learned making its scores stable

Post image
0 Upvotes

I'm a 17 yo solo founder and built AI-Atlas. It reads a GitHub account, selects the files that explain each AI project, and has an LLM judge score it on a fixed rubric, with every score citing the files behind it.

The parts I think are interesting for this sub and I want to genuinely teach you guys from what I went through during the creation of it:

  1. Stability: Low temperature wasn't enough. What helped was a fixed rubric with anchored levels, verified facts computed deterministically (test files, CI commands, parsed Python imports) that the judge must accept, and an evaluator fingerprint (model + prompt + rubric version) so a score is only compared with scores from the same generation.
  2. Coverage beats cleverness: A bug in file selection meant TypeScript/Java projects were judged from READMEs; their mean merit was ~14 points lower than same-language projects whose code was read. The judge was fine, the evidence wasn't.
  3. Honest claim checks: The judge reads a bounded digest, so "not found in the files read" has to stay separate from "contradicted by the code".
  4. Not calibrated yet: There's no human-labelled set; the methodology page says so.

~1,871 projects scored so far. Happy to go deep on any of it, and I'd love to hear where people think LLM-as-judge breaks for code.


r/learnmachinelearning • • 21d ago

Help Best resources to learn ML and AI engineering from scratch in 2026

74 Upvotes

Hey guys! Software dev here, always interested in ML, AI, and data science, but mostly a hobbyist in all of them. This end of the year, I want to really study this in a structured manner. Which platform or free resources? Books? (My attention is fried, but I can try), Also, to recover the math concepts needed for this, I know I don't need to remember how to multiply matrices


r/learnmachinelearning • • 21d ago

When a neural network updates its weights and biases, does the loss landscape change?

Thumbnail
medium.com
1 Upvotes

r/learnmachinelearning • • 21d ago

Stock llama.cpp OOMs on a 22 GB MoE with 16 GB RAM. My open-source engine runs it 2.2x faster at prompt processing, same exact output

1 Upvotes

Hey everyone,
I kept hitting the wall where a Mixture-of-Experts model almost fits in RAM but not quite, and mmap paging makes it crawl. So I built Banach, an open-source engine on top of llama.cpp that streams MoE experts from NVMe on purpose instead of leaving it to the OS.
The test: Qwen3.6-35B-A3B Q4_K_M (22 GB) on a 4-core VM with 16 GB RAM, no swap, cold start.
Stock llama.cpp, default settings: killed, out of memory
Prompt processing: 7.64 s stock vs 3.44 s Banach (2.2x faster)
Generation: 4.89 vs 5.40 tok/s
RAM for experts: capped at 10 GB
Output: byte-identical to llama.cpp, every token and every logit
(The OOM comes from llama.cpp's weight repacking copying experts into RAM. The speed comparison uses llama.cpp with repacking off, to keep it fair.)
How it works: MoE models only use a few experts per token. Kimi K2 has 1 trillion parameters but uses about 32 billion per token. Banach fetches whole experts in parallel the moment the router picks them, keeps the frequently used ones in a RAM budget, and evicts cold ones in the background. No quantization tricks.
My favourite part: "banach plan" reads only the model headers (16 MB) and estimates the speed on your machine before you download anything. For Kimi K2 (1T parameters, 382 GB) on a 64 GB RAM + RTX 5080 desktop, it estimates about 3.6 tok/s. That's an estimate, not a run, but on the model I did run it predicted 2.1 tok/s and I got 5.4.
Also included: OpenAI and Anthropic compatible API with tool use, start chatting while the model is still downloading, and GPU offload. Runs on Linux, Windows and macOS.
pip install banach
GitHub: https://github.com/gautam1858/banach
If you have a big-RAM machine or fast NVMe, I'd love to see your numbers. I'll add measured community results to the README with your username.


r/learnmachinelearning • • 21d ago

Help Writing skills

0 Upvotes

In one job requirement, i saw writing skill is required. It is mainly doing data collection job. I wonder just how is this written? If you have similar experience could you please describe it.


r/learnmachinelearning • • 21d ago

Question Which AWS certification should I start with

2 Upvotes

I'm based in Saudi Arabia and I'm planning to start my AWS certification journey. I have no prior experience in AI/ML or hands-on cloud work, so I'm starting from scratch.
I'm considering these two certifications:

  1. AWS Certified Solutions Architect – Associate (SAA-C03)
  2. AWS Certified Machine Learning Engineer – Associate (MLA-C01)

Which one should I take first, given that I'm a beginner? Is it better to do SAA first to build a cloud foundation before the ML certification?

What are the best resources for preparation (courses, practice exams, labs, YouTube channels)?

Are there any tips specific to taking the exams from Saudi Arabia (Pearson VUE test centers, online proctoring, exam vouchers or discounts)?


r/learnmachinelearning • • 21d ago

Looking for research team / lab

0 Upvotes

Hi all,

I’m currently waiting till september 2027 for my masters to start and till then I would like to help contribute with research. I have written my own research papers preprints before and I am willing to meet frequently, rent GPUs etc.

I did my undergrad at University of Toronto. My prior research was in mech interpretability.


r/learnmachinelearning • • 21d ago

i need help with my project

2 Upvotes

i am to design a personamlized strees identifying model , can i use data from one austic child i create a dataset for my training, please i need advice because this is my research work


r/learnmachinelearning • • 20d ago

[Open Source] Built a "Girlfriend Emotion Tracker" using Python/LLMs—Looking for help solving long-term context retention and model hallucinations.

0 Upvotes

Hey everyone,

I recently open-sourced my side-project: Girlfriend-emotion-tracker. The premise is simple but the implementation has run into standard LLM agent constraints. It parses incoming texts to accurately classify tone, flag passive aggression, and suggest context-aware responses.

Right now, it works great for a couple of exchanges, but collapses under real-world conditions:

  • Context & Memory Drift: Handling long-term texting logs causes the agent to lose its state tracking. I want to build a better rolling memory window or a lightweight vector store architecture for relationship context history.
  • Hallucinations: In longer threads, the model starts misinterpreting subtle phrasing or making up assumptions out of context.

If you are an ML Engineer or hobbyist looking to contribute to a fun open-source repository to test out RAG, context pruning, or conversational state management, I'd love your help!

Repo Link: https://github.com/ovoarnav/Girlfriend-emotion-tracker.git
Feel free to open an Issue or pull a branch!


r/learnmachinelearning • • 21d ago

Help why is the gradient of softmax plus cross entropy just p minus y?

2 Upvotes

i was working through backprop by hand for a tiny classifier and the gradient with respect to the logits came out as predicted probs minus the one-hot label. it's so clean that it feels like i must have made an error, because softmax has that ugly jacobian with p_i(delta_ij - p_j) in it.

i can follow the algebra when i write it all out but i don't see why the mess cancels. is there a reason it works out like that, or is it just a lucky coincidence of using log loss with softmax?


r/learnmachinelearning • • 21d ago

i want to start my coding career . i want to know the fields i can pursue in computer science field and how to start my career in them

2 Upvotes

i am a 2nd year student pursuing computer science . i know the basics of C++ and i also know some basics of python ( I studied it well in my 12th class ) . i also completed about 30% DSA topics by a paid course . and already passed out DSA subject in my 2nd semester.
Currently i am thinking of pursuing career in AI/ML .
i don't know much about this field but as AI is taking over i have interest in exploring this field .
Can anyone tell me the basics this field demands and how much time it will take for me to get a job in AI/ML in offcampus placement
i will be very pleased if someone also tells other fields i can pursue , with their pros and cons


r/learnmachinelearning • • 21d ago

Discussion ML is broad, how do we start?

0 Upvotes

so, i’ve been learning about ml a lot and i see people building projects and even regression models from scratch using C/C++ and even python and call it done via maths.
how can i actually go that deep? how can someone code all this using C and all from scratch?
although i know this is done using maths, especially statistics. i didn’t really follow a tutorial yet but actually wanted to discuss on how to begin and where to go?


r/learnmachinelearning • • 21d ago

Project Do you need an LLM to know why your sources disagree?

Thumbnail
youtube.com
1 Upvotes

Do We Need an LLM to Know Why Sources Conflict? Decision models for knowledge-conflict typing in RAG ?

When a RAG system retrieves sources that disagree, the right answer depends on why they disagree: several valid answers, a matter of opinion, outdated information, or a false source. The usual approach asks a generative LLM to work out the conflict type in text.
We tested whether typed decision models can do this step instead. These models pick one of a fixed set of options in a single forward pass. We ran 11 of them from 7 providers on the CONFLICTS benchmark (406 test queries, the original prompt word for word):

- 10 of 11 match or beat Gemini 2.5 Flash (61.3%); the best scores 67.0%

- The paid ones cost 4–39× less, and all 11 are 2.6–6× faster

- End to end, answers using a decision model's conflict type match the original LLM pipeline for 10 of 11 models

The limitation: Gemini 3.8 Flash reaches 70.0% and is significantly better than 8 of the 11. A cascade that sends the 25% least confident queries to it ties with it for 8 of 11 models, at 25–37% of its cost.

Code, prompts and every model output are open, and all numbers can be reproduced without API calls.

Paper: https://arxiv.org/abs/2610.36915

Code: https://github.com/Parv17k/decision-models-conflict-typing

Happy to answer questions. Feedback on the setup is very welcome.