r/learnmachinelearning • u/RelevantEmergency707 • 20d ago
Weight-Space Programming Explained
r/learnmachinelearning • u/RelevantEmergency707 • 20d ago
r/learnmachinelearning • u/UnderstandingOwn2913 • 20d ago
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}}
\resumeItemListEndr/learnmachinelearning • u/AutoModerator • 21d ago
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:
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 • u/information-net • 20d ago
r/learnmachinelearning • u/RepresentativeNo1518 • 20d ago
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:
I'd really appreciate any advice. I don't want to waste this opportunity by asking generic questions. Thanks!
r/learnmachinelearning • u/GeekFromTheStreet • 20d ago
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 • u/Content_Gas7043 • 21d ago
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
•
u/hayAbhay
•
22d ago
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.
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 • u/not-okarun • 22d ago
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 • u/Jazzlike_Steak_6031 • 21d ago
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:
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 • u/No-Conclusion3720 • 20d ago
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 • u/EmuAfter5933 • 20d ago
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,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 • u/Nearby_Ad_1427 • 21d ago
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 • u/AdExpress9197 • 21d ago
r/learnmachinelearning • u/gautamrbharadwaj • 21d ago
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 • u/Worried_Mud_5224 • 21d ago
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 • u/PaintingMoney5807 • 21d ago
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:
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 • u/sooham • 21d ago
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 • u/International-Bus822 • 21d ago
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 • u/arnav2345 • 20d ago
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:
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 • u/CelebrityChess • 21d ago
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 • u/Fury_0710 • 21d ago
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 • u/kratosthegodiscute • 21d ago
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 • u/parvkhatri • 21d ago
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.