r/FunMachineLearning • u/Big-Throat-2813 • Jul 05 '26
Batch GD vs SGD vs Mini-Batch GD Explained with a Real-Life Netflix Example
For a deeper dive:
https://www.learnmlacademy.com/learn/gradient-descent
r/FunMachineLearning • u/Big-Throat-2813 • Jul 05 '26
For a deeper dive:
https://www.learnmlacademy.com/learn/gradient-descent
r/FunMachineLearning • u/gantred • Jul 03 '26
r/FunMachineLearning • u/DepartureNo2452 • Jul 03 '26
Liquid neural net that uses multi-dimensional vectorized hyperparameter search AND traditional neural net prediction of best walker candidates. No built in walking pacemakers. Biopsy / paste in json for LLM supported rapid testing (almost recursive self improvement.) If interested will put on github.
r/FunMachineLearning • u/Senior-Neck499 • Jul 01 '26
Hello Everyone!!, I just completed a BIG project I have been working for a month and i want your opinion about it.
It's a SpaceX Launch Predictor & Cost Optimizer (A full end-to-end ML system that predicts the probability of a SpaceX Falcon 9 booster landing successfully, enriches launch data with real weather conditions, and exposes the results through an interactive Streamlit web application with a business ROI calculator.)
It Includes Data Pipeline, Advanced Machine Learning Algorithms (with Hyperparameter tuning), Explainability AI (SHAP), MLOps (AWS S3, Docker) and Business Value (ROI Calculator = Financial Results).
FUN FACT: For this project i used my own Evaluation Metric library (standardizes supervised and unsupervised model diagnostics into a single, consistent API), that is also Verified and Published in PYPI Community.
Project Info: https://github.com/Alkiviadisss/SpaceX
r/FunMachineLearning • u/gantred • Jul 01 '26
r/FunMachineLearning • u/nai-official • Jun 30 '26
Hello everyone,
I wanted to share a simple showcase of a project I’ve been working on: a vision AI trained to track a moving ball with physics in a 2D world.
Tech stack:
- Core: Python & PyTorch for the training loop.
- Environment: A custom-built C++ wrapper/environment to feed data into the Python side.
The twist:
I am still figuring out the ropes of computer vision, so I heavily relied on Claude Code to help me bridge the gap, especially with building the custom C++ environment and connecting it with my Python scripts.
Reality check:
As you'll see at the end of the video, the model doesn't fully converge yet (it still gets confused in some situations). I wanted to share this raw progress anyway because the workflow of co-authoring a complex C++/PyTorch setup with an AI agent was incredibly interesting.
I would love some constructive feedback! Please let me know if you have efficient training techniques for faster convergence, ideas for other models to train, tools to build better environments, really, anything.
I'm incredibly new to this whole field, and I'm excited to chat with you all about it!
r/FunMachineLearning • u/nightmareofai • Jun 30 '26
r/FunMachineLearning • u/AlarmedVideo3084 • Jun 30 '26
Open-sourced a system I built to do honest ML research on crypto: XGBoost/LightGBM ensembles, strictly chronological TimeSeriesSplit, a benchmark gate (OOS AUC, calibration, net-of-cost Sharpe, stability, anti-leakage) a candidate must clear before promotion. Includes a self-improvement loop that sandboxes and tests its own proposed changes. Notably, the eval is designed so the system can't fool itself — and the honest findings are in the docs. 204 tests, MIT. github.com/samueljai120/QuantForge
r/FunMachineLearning • u/nightmareofai • Jun 29 '26
When I started learning machine learning, I kept asking "what actually changes when I move this slider?"
Most tutorials show the final result but not how the model gets there.
That led me to build Confluence.
It's an open-source platform where you can experiment with different algorithms, datasets, hyperparameters, and visualizations while seeing everything update in real time.
I'm still actively improving it, so I'd really love feedback from people who are currently learning ML.
What would make something like this more helpful for beginners?
Website:
https://confluence.website
r/FunMachineLearning • u/ResidentPitiful3131 • Jun 28 '26
Quick honesty up front so nobody wastes their time: this is the same space as tool-use, RAG and agent routing. LangChain and a dozen frameworks already do this, and at scale they do it better. I am not claiming anything new here. I just wanted a tiny, readable version that runs next to a small local model without dragging in half of PyPI.
Context: I run a small model locally (fits on a 4GB card). It has a personality I want to keep, but small models are unreliable at the dull stuff: arithmetic, recalling a specific fact, anything recent. The usual answer is "go bigger." I wanted to stay small and add reliable circuits around the model instead.
CybNodes is about 600 lines of Python, stdlib only, MIT. You bring any model as a callable. It wraps that model with "networks," one capability each:
A router tries the networks in order, rules first, model last. If none claim the question, your model answers as usual. The part I care about most is the weaver: when a tool answers, it re-speaks the result through a persona template, so the bot keeps its own voice instead of dumping a raw "1786" at the user.
from cybnodes import CybNodes
from cybnodes.networks import CalculNetwork, SavoirNetwork
cyb = CybNodes(conductor=my_local_model,
networks=[CalculNetwork(), SavoirNetwork(graph_path="facts.json")])
cyb.ask("what is 47 x 38?") # exact, from the calc network
cyb.ask("tell me a story") # no network fits, your model answersWhere the honest value is, if any: small enough to read in about 15 minutes, zero required dependencies, and built to run with a small local model. That is the whole pitch. If you need retries, eval harnesses, tracing, the big frameworks already have all of that.
It is v0.1 and parts are surely naive. I would really like feedback, especially on the router: it picks one network and commits, and the "none of these fit" path feels too blunt. Curious how people kept routing dumb-but-good-enough without bolting on a separate classifier model.
pip install cybnodes
Repo (MIT): https://github.com/Alex-Lou/cybnodes
If it is useful to anyone, a star helps me gauge whether to keep pushing. Happy to answer anything technical.
r/FunMachineLearning • u/unknown-7897 • Jun 28 '26
r/FunMachineLearning • u/Fabulous-Tip-8007 • Jun 25 '26
r/FunMachineLearning • u/Mas333oud • Jun 25 '26
r/FunMachineLearning • u/Pitiful_Message_6565 • Jun 24 '26
r/FunMachineLearning • u/CubionAcademy • Jun 23 '26
r/FunMachineLearning • u/EngineerCatttt • Jun 22 '26
I'm one of the authors. We put freephdlabor out last year. With all the automated-research stuff going around now, figured it was worth sharing here, because the design trap we ran into still seems underappreciated. Open source.
Freephdlabor is a lab of LLM agents that takes a rough research idea and runs the whole loop: ideation, designing and running experiments, analyzing results, writing it up. Built on HuggingFace's smolagents.
The interesting design problem: most systems like this are fixed pipelines, idea → experiment → write, always the same order, and the moment an experiment fails they break or loop. So we made the workflow dynamic. A manager agent picks the next step from what actually happened, so if a baseline crashes at 3am it can pivot, retune, re-run, and replot on its own.
Two things we learned the hard way:
- passing results between agents through chat history destroys information fast (telephone game) and blows up the context window. we moved to a shared workspace (agents read/write files) and that fixed most of it.
- you have to be able to interrupt it mid-run or it'll confidently produce garbage. non-blocking human steering mattered more than we expected.
It's not magic: token-expensive, default is GPT-5, good at the grind not the taste. But for the tedious parts of research it's been genuinely useful.
Repo + short walkthrough video: https://freephdlabor.github.io/. Happy to answer how any of it works.
r/FunMachineLearning • u/gantred • Jun 22 '26
r/FunMachineLearning • u/paimeg • Jun 20 '26
I’ve been toying around with a hobby project - ultra lightweight semantic embeddings on CPU. I made a model + tokenizer + Rust→WASM SIMD inference engine, all in one 7MB package. No API, no GPU, no ML runtime.
Check out the Live demo - semantic search over 2k React docs, fully on-device → https://ternlight-demo.vercel.app/
I used an aggressive BitNet-style ternary quantization on stacked encoders, distilled teacher model into a ternary student with QAT. A few highlights:
Planning to open source this, would love your thought... is this something you'd find useful as an npm package?
r/FunMachineLearning • u/Plastic_Elk8716 • Jun 19 '26
I am a highschool student looking for a decent paying job. I am proficient in linear algebra, Multivariable calculus, and differential equations. I have also made my own transformer neural network. Its simple, but what should I do to make myself stand out? What are my chances of getting into a good AI company/role? What should I do to increase my chances of getting a job?
r/FunMachineLearning • u/gantred • Jun 19 '26
r/FunMachineLearning • u/Puzzleheaded_Way9691 • Jun 19 '26
I wanted to learn how seq2seq + attention actually works, so I wrote the whole thing from scratch in NumPy — reverse-mode autograd, GRU encoder/decoder, dot-product attention, Adam. No PyTorch/TF.
The task: reverse compilation — read flat stack-machine bytecode and reconstruct the nested source expression. I targeted a real EVM (Ethereum) subset: genuine opcodes/bytes, 256-bit modular arithmetic, and real control flow (if → JUMP/JUMPI/JUMPDEST), so decompiling means recovering if/else structure out of jump-soup.
The part I'm actually proud of: verified decoding. At inference you don't have the source, but you do have the bytecode — so you can run it. The model only emits an answer it can prove matches the bytecode on random inputs; otherwise it abstains. So precision is 1.00 by construction — it never lies, unlike LLM decompilers that confidently output subtly-wrong code. Beam search lifts coverage without touching precision.
Honest scope: programs are bounded-depth arithmetic + comparisons + nested if/else. No memory/storage/loops yet — it's a learning project and a proof of the verified-decoding idea, not a Ghidra replacement.
Live interactive demo (watch it shred code to bytecode and rebuild it step by step): https://gursimran2007.github.io/neural-decompiler/
Code: https://github.com/Gursimran2007/neural-decompiler
Feedback welcome, especially on the verification approach
r/FunMachineLearning • u/Defiant-Leave-325 • Jun 19 '26
r/FunMachineLearning • u/Nearby_Indication474 • Jun 18 '26