r/learnmachinelearning • • 3d ago

Looking for a few like-minded people to learn AI engineering together

15 Upvotes

Hey everyone! I've been out of a tech job for a while and I'm getting back into it by learning AI properly, with the goal of becoming an AI engineer. Python first, then LLMs, RAG, agents, deploying projects, all of it. I've put together a roadmap and I'm aiming to finish it in 4 to 6 months, or however long it takes.

I'm not trying to start a big group or anything. I just think I'd stay way more consistent with a couple of people who are on the same page and want to upgrade their careers too.

If that sounds like you, just message me. We can have a quick chat, see if we click, and then decide if it makes sense to learn together.


r/learnmachinelearning • • 3d ago

I built a local Qwen3.5-9B lossless Arithmetic Coding visualizer (vs zlib -9) — watching pretraining memorization vs. real generalization live

2 Upvotes

Inspired by 3Blue1Brown's information-theory video and Giacomo Magnanini's pdoom-video visualizer, I built a local Python + llama-cpp-python pipeline on a single RTX 4060 (8 GB) that compresses song lyrics with exact 62-bit lossless arithmetic coding using Qwen3.5-9B-Base (Q4_K_S GGUF) softmax CDFs, verifies 100% lossless round-trip decompression via SHA-256, and renders the live probability intervals & bitstream side-by-side against traditional zlib -9 (ZIP).

What surprised me most is how clearly pretraining memorization vs. real generalization shows up in bits-per-byte:

• Rick Astley – Never Gonna Give You Up (video above): 1,777 B → 45 B LLM (0.20 bpb · 39.5×) vs 358 B ZIP (7.96× smaller — almost pure memorization; whole lines collapse to ~0 bits) • Queen – Bohemian Rhapsody: 1,864 B → 77 B LLM (0.33 bpb · 24.2×) vs 831 B ZIP (10.79× smaller) • Daft Punk – Around the World: 2,519 B → 29 B LLM (0.09 bpb · 86.9×) vs 53 B ZIP (1.83× smaller) • Eminem – Rap God (1,542 words): 7,755 B → 1,284 B LLM (1.32 bpb) vs 3,752 B ZIP (2.92× smaller) • A Capella Science – Evo-Devo (less-memorized biology parody): 2,962 B → 610 B LLM (1.65 bpb) vs 1,538 B ZIP (2.52× smaller) • I'm Upping My P(doom) (newer / out-of-distribution generalization benchmark): 1,326 B → 294 B LLM (1.77 bpb) vs 772 B ZIP (2.63× smaller)

How it works:

  1. Word-level alignment: faster-whisper large-v3 (CUDA int8_float16) + monotonic DP over ground-truth lyrics.
  2. Exact lossless arithmetic coding: single-pass Qwen3.5-9B-Base.Q4_K_S via llama-cpp-python (float64 softmax -> monotonic int64 CDF + 62-bit integer arithmetic coder + SHA-256 decode verification).
  3. Live rendering: 2-worker Playwright Chromium RGBA Canvas2D stream piped into ffmpeg at 1080p60 / 4K60.

Full-length videos & code: • Realistic generalization benchmark — P(doom) (4K60, 294 B): https://youtu.be/SdPMF5OY_U0 • Memorization extreme — Rick Roll full song (45 B): https://youtu.be/gH8xmJAJaKo • MIT-licensed fork: https://github.com/TryCatchIgnoreDev/pdoom-video


r/learnmachinelearning • • 3d ago

I built LightsToFlag, an F1 race predictor in Python and Streamlit. Tonight’s Vegas pick: Verstappen from P2

4 Upvotes

What my project does
LightsToFlag predicts the full finishing order of the next F1 race and gives each driver a win, podium and top-10 chance from 5,000 simulated races.

  • Data: race results and grids from the free Jolpica F1 API
  • Model: a scikit-learn gradient-boosting model trained on 2022–2026 results
  • App: a Streamlit dashboard with a race list, season charts in Plotly, editable “what-if” grids for penalties, a chat page to ask questions about the data, and synthesized engine sounds

Target audience
F1 fans who like data, and anyone learning ML who wants a real-world project. It’s a learning project, not betting advice.

Comparison / what I learned
I tested it fairly: each race is predicted using only earlier races, and 10 races were held back for a final check. On those:

  • The tuned model got 83% of podium finishers right, against 60% for “everyone finishes where they start.”
  • Picking the winner barely beats “pole wins” (6/10 vs 7/10). Results data alone can’t do much better than that.
  • Leaving crashes and breakdowns out of training was the single biggest improvement.
  • My win percentages were too cautious. Calibrating the simulation’s randomness made them more honest on the held-out races too.
  • I also tried a LightGBM ranking model. Alone it was worse, and blended with the original it only tied on the held-out races, so I didn’t ship it.

Tonight (Las Vegas GP): Verstappen 45% from P2, Antonelli 33% from pole. I’ll report back after the race.

Feedback is welcome, especially ideas for adding practice pace with FastF1.


r/learnmachinelearning • • 3d ago

Should I start with Data Science or Backend Development to get into ML?

10 Upvotes

I want to get into Machine Learning, and I'm not sure where to start. Should I learn Data Science first (data analysis, stats, training models) or Backend Development first ?(APIs, databases, software engineering)

For people already working in ML, which path do you think makes it easier to break into the field?


r/learnmachinelearning • • 3d ago

Request AI Joins the Industrial Attack Workflow - Recorded Future

1 Upvotes

Recorded Future published a report this week documenting AI agents actively participating in industrial cyberattack workflows — not as an emerging risk, but as a current operational pattern they're observing in the wild.

The shift that stands out: threat actors are deploying agents that autonomously sequence attack steps, pivot across systems, and exfiltrate data without waiting for a human operator to approve each move. The agent acts. Then it acts again. The human reviews logs later.

This creates a speed asymmetry that most enterprise security architectures weren't designed for. A compromised or weaponized agent can chain multiple tool calls — lateral movement, credential access, data staging — before a SOC alert even fires. By the time a human sees the first indicator, the second and third actions have already landed.

The Recorded Future finding is notable because it moves this from theoretical red-team scenario to documented adversarial tradecraft. Industrial environments are a specific concern because the blast radius of autonomous action on OT/ICS adjacent systems is not the same as a misconfigured S3 bucket.

For those working in enterprise security or agentic AI deployment: how are you currently handling the gap between when an agent takes an action and when a human can evaluate whether that action was legitimate? Curious whether teams are approaching this at the network layer, the orchestration layer, somewhere else, or accepting that the detection window is just going to be longer for autonomous workloads.


r/learnmachinelearning • • 3d ago

Evolution of the 2D Walker | Vilvik Optimization in the Cloud

0 Upvotes

Evolution designs a car to drive over rough ground. Its genes are the car's body, wheels and motor.

The first cars are random and get stuck early. Over the generations the cars change shape and drive farther and farther.

Try this demo free at https://vilvik.com


r/learnmachinelearning • • 4d ago Bravo Heartwarming

Project Pick any ML concept and get a learning reference, in order, down to the maths (301 concepts, free, no sign up, no ads, work in progress)

Thumbnail
gallery
409 Upvotes

A hard part of learning ML is knowing what to learn before what. So I built a reference around that: every concept lists what it's built on, in 8 layers from linear algebra to applications, and any concept turns into a study list.

The first GIF is the Transformer's study list: the 36 concepts underneath it (self-attention, softmax, layer norm, backprop, the chain rule...) in 14 stages, with checkboxes that remember what you've done. The second is the whole map filling in from 1940 to now, and the third traces chat assistants back to matrix multiplication.

It's open source (code MIT, data CC BY 4.0): https://github.com/aravpanwar/dsmai

Some uses:

- Open any concept's study list and copy it as a checklist (the Transformer's: https://dsmai.aravpanwar.com/#study:transformer)

- Trace a path between any two concepts (matrix multiplication to chat assistants passes through 41)

- Click a concept to see everything built on it too (65 things rest on the Transformer)

https://dsmai.aravpanwar.com (free, no sign-up, no ads)
If a dependency looks wrong to you, I'd like to know.


r/learnmachinelearning • • 3d ago

Request WhatsApp Patches 3 Security Flaws, Including Android Bug Suspected of Use in Scams

1 Upvotes

WhatsApp patched three security vulnerabilities this week, including an Android flaw researchers suspect was actively exploited in scams.

The patch addresses the mobile surface. It does not address what happens when agents run over that surface.

Automated pipelines increasingly use WhatsApp, Telegram, and similar messaging platforms as their operational layer. Customer service agents, workflow bots, and agentic finance tools receive and act on messages through these channels. A vulnerability in the channel is a vulnerability in everything the agent does based on what comes through it. The agent has no way to know the input was manipulated. When a human gets a scam message, they can pause. An agent executes.

The three patched flaws are a concrete instance of a broader unresolved problem. Messaging platform CVEs are written from a user threat model, not an agent threat model. The fix stops the user-side exploit. It says nothing about what an agent already did while exploitation was live.

For teams running agents over messaging infrastructure: what does your posture look like when the compromise is at the channel level rather than the agent level? Are you catching this before actions fire, after the fact, or not at all?


r/learnmachinelearning • • 3d ago

How should I start learning Machine Learning through projects as a complete beginner?

15 Upvotes

I'm planning to start learning Machine Learning and would like to follow a project-based approach rather than spending months learning theory before actually building something.

I know how to code in Python and have some basic experience with libraries like NumPy and Pandas, but I don't know the mathematics behind Machine Learning yet.

I'm a bit confused about where to start and, more importantly, how to choose the right projects.

A few questions I have:

1)What is the best way to start learning ML from scratch if I want to learn primarily through projects?

2)Should I learn the mathematical concepts first, or learn them alongside projects whenever I encounter them?

3)How do I choose projects that help me understand different ML concepts rather than just following tutorials and copying code?

4)What should be the ideal progression of projects, from beginner to intermediate and eventually advanced?

5)Are there any good resources, courses, YouTube channels, or GitHub repositories that follow this approach?

I'd appreciate advice from people who have learned ML this way, especially those who started with little mathematical knowledge.

My goal is not just to complete projects for my resume, but to actually understand how ML algorithms work and eventually become capable of building projects independently


r/learnmachinelearning • • 3d ago

Sm_120 RTX 5070 causal conv1d and Ssm wheels

0 Upvotes

RTX 5070/5080/5090 (sm_120, compute 12.0) currently fails with "no kernel image is available" because setup.py only builds for 70;80;90.

I built working wheels for Blackwell:

- Patch: TORCH_CUDA_ARCH_LIST=12.0 and replace sm_70/sm_80/sm_90 with sm_120 in setup.py

- Tested on 5070 WSL2 + torch 2.11.0+cu128 + py3.10

- Wheels here for anyone stuck: https://github.com/Rapa2026/mamba-ssm-5070-blackwell-wheels

Happy to PR the sm_120 fix if you want it.

Test: Mamba2(d_model=64).cuda() -> OK


r/learnmachinelearning • • 3d ago

Before trusting a model score, check where preprocessing was fitted

0 Upvotes

A useful beginner check for a suspiciously good validation score: did preprocessing learn from held-out data?

Split first. Fit the scaler, imputer or feature selector on training data only, then transform the test data using that fitted step. For cross-validation, pass the whole preprocessing-plus-model Pipeline into cross-validation rather than preprocessing the full dataset first.

The scikit-learn guide demonstrates the trap with feature selection: an impressive score can appear even with random targets if test information leaks into training.

Source and examples: https://scikit-learn.org/stable/common_pitfalls.html

Which preprocessing step first made leakage click for you?

AI-assisted learning note, checked against the linked documentation. Not a personal experiment.


r/learnmachinelearning • • 3d ago

Tutorial I have created a video on how to build small language models

Thumbnail
youtu.be
1 Upvotes

I would love to get your feedbacks guys


r/learnmachinelearning • • 3d ago

Question Where do I start

7 Upvotes

I'm a complete newbie to anything coding related or AI related but I know it's the future I'm 23 basically broke asf I'm thinking if I learn more about AI I can change my dismal situation and go from broke to at least a couple thousand dollars in my pocket. I'm looking for advice on where to start with machine learning I heard some people say learn python and some say it's not necessary any advice on this situation would be greatly welcome. Thanks in advance!


r/learnmachinelearning • • 3d ago

Question ECE student with Python/ML projects aiming to become an AI Engineer — What learning path, courses and certifications would you recommend?

4 Upvotes

Hi everyone!

I'm currently finishing my 5-year Electrical and Computer Engineering degree, and my goal is to become an AI/ML Engineer or Software Engineer working with AI.

I already have some experience with Python and Machine Learning:

  • Completed Harvard's CS50P (with certificate).
  • Built a CNN from scratch using NumPy.
  • Worked on university projects involving PyTorch, Keras, CNNs, SVMs and Autoencoders.
  • Currently building an AlphaZero-style Chess Agent using Python and PyTorch.

What I want to do next:

I want to improve my software engineering skills, especially REST APIs, backend development, databases, automation, Docker, cloud technologies and deployment. At the same time, I want to keep learning ML, deep learning, LLMs and AI applications.

I'd also like to start freelancing on Upwork, mainly to gain real-world experience, build my portfolio and hopefully earn some money along the way.

I've been looking into a few courses:

Software Engineering:

  • Microsoft Python Development Professional Certificate (especially Automation and Scripting, Web Development and Advanced Python).
  • University of Michigan's Python for Everybody.
  • Harvard CS50 Web.
  • FastAPI official documentation/tutorials.

AI/ML:

  • IBM AI Engineering Professional Certificate.
  • IBM Generative AI Engineering Professional Certificate.
  • Hugging Face LLM and Agents courses.

I'm considering getting Coursera Plus for around €200/year, but I'm not sure if it's worth it...

My main questions are:

  1. Would you recommend starting with any of these courses, or are there better resources?
  2. Should I focus on backend/software engineering first and then move deeper into AI?
  3. Are Coursera certificates actually useful when applying for jobs, or should I focus on projects and official industry certifications?
  4. What skills would help me start getting small Upwork jobs while also preparing for an AI engineering career?

I don't mind paying for good learning resources, and I'm willing to put in the time. I just want to make sure I'm learning useful skills instead of spending months collecting certificates. As you can tell, it is all fumbled in my head, and I don't know where to start....

If you were in my position, what would you focus on first?

Thanks in advance!


r/learnmachinelearning • • 3d ago

Looking for a study buddy for DSA, System Design & Al System Design

2 Upvotes

Hey folks!

I'm a working professional with \*\*10+ years of experience\*\*, having a \*\*M.Tech in Al from one of the IIT\*\*. Planning to switch jobs in the next 6 months and looking for someone with a similar goal to prepare together.

Planning to focus on:

  1. DSA and problem solving
  2. System Design
  3. Al System Design

Looking for fellow working professionals who are seriously preparing for a switch. We can keep each other accountable, set weekly targets, discuss problems, practice mock interviews, and share resources.

Would prefer someone from \*\*Odisha\*\* (Bhubaneswar/Cuttack would be great), but that's not a requirement.

If you're in the same boat, drop a comment or DM. Let's keep each other consistent!


r/learnmachinelearning • • 3d ago

Help DS /ML- Refresher Resources

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 4d ago

Looking for 3 comprehensive courses to build strong foundations in AI, ML, and Deep Learning before starting projects

27 Upvotes

hi everyone

so im a computer science graduate looking to rebuild my foundations in artificial intelligence, machine learning, and deep learning

ive studied some of these subjects before but ive forgotten quite a bit so id like to start again with a structured learning path

my goal is simple

complete three comprehensive and affordable courses, one for each subject, and then start building projects, reading research papers, and conducting literature reviews

ideally im looking for

1 artificial intelligence fundamentals

a course covering the major concepts and branches of ai including classical ai, search algorithms, knowledge representation, reasoning, planning, and an introduction to modern ai

2 machine learning fundamentals

a course covering the major ml approaches including supervised learning, unsupervised learning, reinforcement learning, regression, classification, clustering, decision trees, ensemble methods, model evaluation, and other essential concepts

3 deep learning fundamentals

a course covering neural networks, backpropagation, optimization, cnns, rnns, lstms, attention, transformers, generative models, and other major deep learning architectures

my preferences

  • coursera, edx, university courses, or any reputable platform
  • courses must be affordable and preferably free or reasonably priced
  • preferably taught by respected university professors or established ai researchers
  • beginner friendly explanations but with enough technical depth to understand research papers
  • a balance of theory, mathematics, and practical programming
  • preferably one comprehensive course per subject but im open to specializations if a single course isnt sufficient

im not trying to become an expert in every ai subfield before starting projects

i just want a solid broad foundation so i can understand the terminology, read academic literature, conduct literature reviews, and independently learn more advanced subjects when needed

for those who have taken these courses which three would you recommend and why

id particularly appreciate recommendations based on firsthand experience including any important topics the courses leave out

thanks


r/learnmachinelearning • • 3d ago

AAAI membership is still been pending approval for 9 days after the successful $18 payment. Has anyone experienced this?

Thumbnail reddit.com
2 Upvotes

r/learnmachinelearning • • 3d ago

Do you guys have jobs or you got laid off?

1 Upvotes

r/learnmachinelearning • • 3d ago

Project Our 2026–2027 Technical Roadmap for an Agentic Network: MCP, ARD, and Verifiable Agent ID

Thumbnail interconnectd.com
2 Upvotes

r/learnmachinelearning • • 3d ago

80 downloads on my tiny vision model so i made v1.0, now it lets claude “watch” videos (36M params, runs on laptop cpu)

1 Upvotes

so few days back i posted my tiny vision model that i built just for learning (v0.1), and 80 people downloaded it on huggingface which honestly shocked me lol. people in comments gave really good feedback so i actually worked on all of it, and now v1.0 is out.

main thing: claude (and many other assistants) can look at images but cant open a video file. so tiny-vision runs locally next to it, breaks the video into scenes and gives the assistant a scene by scene breakdown. then you just ask “what happens in this video” and it actually answers. nothing gets uploaded, all on your machine. i tested it with a 10-15 min youtube video and it still works fine.

works through MCP so it runs in claude desktop and claude code (tested both), and should work in cursor, vs code, lm studio etc (havent tested those yet). if your app dont have MCP you can just pipe the text into ollama or paste it anywhere.

what changed from v0.1 (thanks to the comments):

  • someone said the “a man in a blue shirt” thing is probably the encoder not the decoder. i tested it and yaar they were right. my from-scratch encoder only saw 29k images, so i switched to a frozen pretrained DINOv2-small (meta’s) and trained the adapter + decoder myself (14M params) on COCO
  • it picks frames on scene changes now instead of one every 2 sec, like someone suggested. so the timestamps land on the actual cuts
  • real benchmarks this time, not vibes

numbers (COCO test):

  • v0.1: CIDEr 0.06 💀
  • v1.0: CIDEr 1.16

vs florence-2-base (231M) on the same 1000 images:

  • ~89% of its caption score
  • 6x smaller
  • 8x faster on gpu
  • 75x faster on cpu (54ms per image vs 4 sec)

not saying its better than florence, its not. it just does a lot with very little.

honest stuff:

  • encoder isnt mine anymore, its DINOv2. i tried my own and it just cant compete without millions of images
  • no audio yet, so it describes what it sees, not what is said. speech is coming next
  • captions are COCO style, so no OCR, no names, no counting
  • and like last time, i took a lot of help from claude to build this, so its not entirely mine

previous post: https://www.reddit.com/r/computervision/comments/1xyuaia/built_a_tiny_vision_model_from_scratch_just_for/
code: https://github.com/amar683/tiny-vision
model: https://huggingface.co/amartomar683/tiny-vision

anything you want me to try next? still learning so all feedback welcome


r/learnmachinelearning • • 3d ago

How to compare a new ML model vs an old one in an unbiased way?

1 Upvotes

Let's say that you have an old ML model that was built in the past. Now you set up to develop a completely new model, different architectures, methodologies, etc, etc. How do you compare the models to know which is is better?

Because when I'm building the new model of course I'm optimizing it vs the test set, so it's going to perform better than the old one for that test set, so then how can I decide the new model is better in un unbiased way?


r/learnmachinelearning • • 3d ago

please guide me for ai

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 3d ago

[D] Can AI learn to sleep like the brain does?

1 Upvotes

The brain replays memories during sleep, which is one reason we don’t forget old things when we learn new ones. Neural nets don’t have anything like that, so they forget badly (catastrophic forgetting).

I went through some of the papers that try to borrow this idea (generative replay, LAMOL, van de Ven et al. 2020) and ran a few small experiments on GPT-2 to see how it plays out on a language model.

One thing surprised me: where the “dreams” come from matters a lot. When the model generated replay from a frozen copy of itself, it kept about 58% of the old facts, vs 6% with no replay. When it dreamed from the version that was still training, the dreams turned into false facts and it barely helped (9%).

It’s a small setup (GPT-2 small, made-up facts, 3 seeds), so I’d love to hear if this matches what others have seen, or if there’s work I missed.

Write-up here if anyone’s curious: https://evo-quest.github.io/can-ai-learn-to-sleep/