r/learnmachinelearning • • 3d ago

Highschool student , need guidance and direction

2 Upvotes

Hey, I am a grade 11 student that wants to build a ML model for a extracurriculars for university.

I am already comfortable with basic fundamentals of programming such as lists, loops, functions n variables, logic and I also know file handling, errror handling and object oriented programming in python.

I want to know what should I learn next. So that I can eventually be enough skilled to build a ML model


r/learnmachinelearning • • 3d ago

Project Kapso: Evolving harness by learning from experimentation

1 Upvotes

Hey guys!

https://github.com/Leeroo-AI/kapso

We built Kapso, an engine that runs experiments toward an objective, deploys the best solution on your stack and learns from every run into a bank of lessons with a credence score and a boundary.

You can view a video walkthrough here: https://www.youtube.com/watch?v=W4FHlza1fRs

Here’s how it works…

Kapso has a bank of lessons that are induced or deduced from the past experiments, and each carries a credence score, conditions on where it applies, and the evidence behind it.  For each new experiment, an ideation module proposes ideas considering the earlier lessons, re-ranks them by expected return against the budget each would use, and sends the top-ranked ones to the implementor. Because the bank keeps learning from the past experiments in that environment, the proposed ideas are better suited to it than generic hypotheses from an LLM or RAG. Also, results of each experiment are verified by a verifier module that no experiment can access and cheat. As we’ve found when building such systems, sometimes the success criteria and evaluation tests need to be evolved. The experimentation modules can propose updates to the metrics and criteria for the verifier to approve or reject.

After each run, learn() updates the bank of lessons’ scores and boundaries using the evidence from that run. Changes to the bank can also be A/B tested by running otherwise identical builds with the previous and updated banks. The bank is built on git, so you can share your experience with others, list the banks available to you, and update them (`kapso experience share/list/update` in CLI). The system is model-agnostic and coding-agent-agnostic.

kapso.deploy(solution, target_stack) follows the same workflow, runs a shorter experimentation loop to adapt the best solution to the target stack (e.g. Docker, Modal, BentoCloud, LangGraph). Every domain has a harness to start from, you can write your own domain harness with /kapso:harness in the plugin or through CLI (kapso harness new <name>), and compound over that by running experimentations.

We ran it on some public benchmarks and live competitions, with the following results…

- Predictive modelling on relational databases: first on RelBench, Kumo AI (now Nvidia) and Stanford's benchmark, ahead of the best tabular foundation model (https://star-project.stanford.edu/relbench/leaderboard/). This shows that keeping the learning in the harness-level can beat foundational table models. Updating a bank of lessons costs far less than retraining a tabular foundation model.

- ML Engineering: First on OpenAI's MLE-bench at submission, still among the top open-source systems (https://github.com/openai/mle-bench/pull/107).

- AI competitions: ahead of the best agent the ALE-Bench authors at Sakana AI reported, and running autonomously at the live International Olympiad in AI 2026, above all 471 human contestants and in the top three AI systems (https://ioai-official.org/ai-models-track/ioai%c2%b2-2026-report/).

We have a public bank for ML and Data at Leeroopedia (https://leeroopedia.com/): around 100k pages extracted by experimenting on papers and repos, about 6M requests a month, about 28% from AI agents.

We would like to get your feedbacks on how to improve our learning!


r/learnmachinelearning • • 3d ago

B.Pharm student looking for help with a CNN-based project in Pharmacognosy!

1 Upvotes

Hi everyone!

I'm a final-year B.Pharm student working on my final-year project in Pharmacognosy, and I've decided to explore using Convolutional Neural Networks (CNNs) to detect adulterants in powdered crude drugs through microscopic images.

The idea is to train an image classification model that can distinguish genuine crude drugs from adulterated samples, potentially making herbal drug quality control more efficient.

Here's the catch: I'm a complete beginner when it comes to coding and machine learning!

I've tried a small experiment on Google Colab (black pepper vs. papaya seeds), but I have a LOT to learn.

I'm looking for help from:

  • IT/CS students or professionals familiar with Python, CNNs, and image classification.
  • Anyone experienced with machine learning, microscopy, or image datasets.
  • Pharmacy/Pharmacognosy researchers who could offer guidance on the scientific side.

I'm willing to put in the work and learn. I'm not expecting anyone to do the project for me; even a little guidance, useful resources, research papers or suggestions would mean a lot.

I have around 7 months to work on this, and I'd love to connect with anyone who might be interested in helping me navigate this journey.

Any help is genuinely appreciated. Thank you! :)


r/learnmachinelearning • • 3d ago

I made a tutorial covering some really cool Computer Vision architectures

Thumbnail
youtu.be
2 Upvotes

Video covers:

  1. Photo library search, text removal, label generation
  2. Document layout detection models and RT-DETR (D-Fine) architectures
  3. Tennis ball, player, courtmap tracking system with CenterMap-style heatmap prediction
  4. And my favourite: World Models/Neural Computers with VQ-VAE + Spatio-temporal Transformers

Project repo: https://github.com/avbiswas/computer_vision_recipes

Video: https://youtu.be/mPmdI-0ISx4


r/learnmachinelearning • • 4d ago

I wrote a free, interactive book that goes from linear algebra to frontier AI.

Post image
59 Upvotes

URL:   https://zerotofrontier.app

- 38 chapters, from tensors and gradients to LLMs, RL and reasoning, inference, interpretability, agents, vision, diffusion, and speech

- Every idea explained, derived, coded, and tested. Python runs right in the page.

- Coding exercises with hidden tests, plus interview questions

- An AI tutor that knows the section you're reading, a smart study planner, and notebooks for your notes and code

Reading and running code is free. The tutor and the interactive extras use your own API key (Gemini, OpenAI, or Anthropic), so there's nothing to buy.

It's one person's attempt at the resource I wanted when I started. Tell me what's confusing, what's missing, what's wrong, and whether you'd actually use it :)


r/learnmachinelearning • • 3d ago

How important system design knowledge is for entry level roles..??

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 3d ago

Discussion i started ml last week as an intermediate web developer! not sure if im even improving?

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 4d 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 • • 4d 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 • • 5d 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
428 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 • • 4d 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 • • 4d 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 • • 4d 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 • • 4d 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 • • 4d 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