r/learnmachinelearning • • 22d ago

Help Laid off after 8 years as a Python Backend Developer - Should I use this opportunity to transition into Applied AI / AI Engineering?

Thumbnail reddit.com
0 Upvotes

I was recently laid off due to company restructuring after around 8 years of working as a Python Backend Developer. I received 3 months’ salary as severance, so I have some time to rethink my career direction.

I’m considering using this opportunity to transition into **AI Engineer / Applied AI Engineer** roles instead of continuing with traditional backend development.
I have Python and backend experience but no professional AI/ML experience yet.

For those working in AI engineering:
\- What technologies and concepts should I prioritize?
\- What practical projects should I build?
Is this transition realistic within 2-3 months?
\- Which roles should I target given my backend background?
\- Would really appreciate honest advice, roadmaps, and suggestions!

I'd appreciate your honest opinion on whether I should make this transition.


r/learnmachinelearning • • 22d ago

Project Credit Card Intelligence Platform.

0 Upvotes

Hey!. I'm a final-year CS student planning to build a Credit Card Intelligence Platform.

Features:
Track cards, transactions, bills and due dates.
Analyze spending patterns and card profitability (rewards, cashback, fees, interest).
Predict future spending and upcoming liabilities.
Recommend monthly spending budgets.
Detect unusual spending patterns using ML.

Tech stack: Python, Pandas, Scikit-learn, PostgreSQL, FastAPl and React.

I feel that's a real world problem, that a credit card user may not know how to use it wisely, might over spend or something and eventually get stuck in a loan trap. So this project is meant to target such problems.

l'd appreciate honest feedback:
Is the scope realistic for an undergraduate?
Are the ML features meaningful, or will it end up being just a CRUD application?
Would you recommend pursuing it?


r/learnmachinelearning • • 22d ago

Request October 2026: 135 AI security incidents, 33 companies breached, 536M+ records — AI-agent exploits are now the #1 attack vector

Thumbnail
gallery
1 Upvotes

We tracked 135 AI security incidents across October 2026 — 33 named organizations, 536M+ records exposed, 101 high severity and 33 critical.

The thing that stood out most: AI-agent exploits are now the single largest attack-vector category we track (35 incidents), ahead of credential theft (24) and zero-days (24). That wasn't true three months ago.

The incident that defines the month for us: a nation-state actor used Claude Code itself — not a vulnerability in it, the tool working exactly as shipped — to build attack tooling against a government target. No exploit chain, no zero-day. Just a legitimate, powerful tool used by the wrong actor against a target nobody was specifically governing for.

Other notable incidents this month: Capcom (11.7M customer/partner accounts), Oracle Health (20M patient records), AngelOne (6.77M brokerage accounts), Crunchbase (559,908 records). Plus — not in the incident count above since it's not a classic "data breach" — Binance lost $6.3B in roughly 20 minutes, the largest crypto theft on record, which we broke down separately.

Full writeup with every incident, sources, and our take on what each one needed to be stopped: https://runtimeai.io/blog/2026-10-monthly-breach-report.html

Open to pushback, especially on the "AI-agent exploits are now #1" framing — curious if others are seeing the same shift in their own threat intel.


r/learnmachinelearning • • 23d ago

Help I need help with my first neural network

Thumbnail
gallery
172 Upvotes

Hello,
I like to code in my free time. I wanted to try to write my own AI and I decided to go for a deep learning neural network that recognises handwritten digits.

I wrote a document that explains how a DNN works containing all the mathematical formulas and notes. This is not a documentation more like personal notes.

I translated this in python and tried some training. I created a 784x15x10 neural network in python and trained using the MNIST database. But I couldn’t get it to work.

Do you have any ideas and tips on how to improve? Am I missing something? What am I doing wrong?

I will attach the file.

Thanks for your help


r/learnmachinelearning • • 22d ago

The Secret to Getting Your Next 100 Web Design Clients

0 Upvotes

When I started selling websites, getting the first few clients was all about proving that someone was actually willing to pay for what I offered.

I took almost every opportunity I could get. Every client mattered, every project taught me something, and most of the work came from reaching out and finding people who needed a website.

But once we started getting more clients, we realized something:

The approach that gets you your first 10 clients won't necessarily get you your next 100.

At the beginning, you can rely on manual prospecting, personal outreach, and referrals.

But when you want to scale, you need a repeatable system.

You need a consistent way to find businesses worth contacting, reach out to them, follow up, book meetings, close deals, and deliver websites without everything depending on you doing it manually.

That's when we started focusing much more on systems and automation.

The biggest shift wasn't becoming better at designing websites. It was becoming better at building a business around selling them.

Here's the process we used:

1. Find businesses that already have websites

We focused on businesses that had already invested in a website but whose current site could use an upgrade.

2. Analyze their websites and automate outreach at scale

We used Swokei to find businesses and analyze thousands of websites at once. We looked for outdated designs, poor SEO, slow loading speeds, and mobile issues.

Based on those findings, Swokei generated personalized cold emails for each prospect, allowing us to reach out to businesses at scale without manually researching every website and writing every email ourselves.

3. Book meetings

When a prospect showed interest, we'd move the conversation to a meeting to understand their business and what they needed.

4. Create a website draft

Before the meeting, we'd use AI to create a quick website draft. This allowed us to show prospects what their new website could look like rather than just describing it.

5. Close and deliver

During the meeting, we'd present the website draft, explain the improvements, answer questions, and close the deal. Then we'd build the actual website, handle revisions, and launch it.

If I were starting a web design agency today, I'd spend just as much time learning sales and client acquisition as I would learning web design.

Because being able to build a great website doesn't automatically mean you know how to sell one.


r/learnmachinelearning • • 22d ago

Unsupervised malware detection via reversible byteplots

Thumbnail
github.com
1 Upvotes

I wanted to build an unsupervised malware detector using reversible byteplots.

Most published byteplot pipelines do not record what is needed to invert the image, so the visualization ends up being one-way in practice. This one maps byte streams to grayscale pixel intensities (byteplots) while staying reversible by construction: the conversion preserves the byte stream sequence, so a tile set can be reassembled into the original executable and checked against its SHA-256 hash.

The codebase and evaluation notebook are available at https://github.com/HelixCipher/malware-detection


r/learnmachinelearning • • 22d ago

I made a 4-part miniseries building the intuition for how neural nets are able to understand text [in short 4min videos]

Post image
1 Upvotes

I made a free four-part mini series that builds an intuition for how neural networks understand text. Most explanations either start at backpropagation or jump straight to transformers and how to build them. I wanted the step in between: start from a single neuron and build up to why this machinery works so well.

The four parts:

  1. One neuron can act like an if-statement. You can hand-wire simple logic into a network (AND, OR, NOT) until you hit XOR, the rule a single neuron can't write, and a second neuron fixes it.
  2. Neural bag-of-words: rules are cheaper than lists. A network that reads a sentence as a bag of word votes can express almost any rule and learn it from examples. One vote per word handles sentences it has never seen, which a lookup table of examples can't.
  3. Embeddings. How meaning gets encoded at the word level, learned from nothing but a fill-in-the-blank game, and why that's useful.
  4. Emergent concepts. OpenAI's 2017 sentiment neuron, which grew in a model trained only to predict the next character of Amazon reviews, and what that hints at for bigger models.

Apart from the hand-set weights in part 1, every number on screen comes from a real run: a training run on 60 labeled sentences, a fill-in-the-blank run on a toy corpus, real GloVe vectors, and OpenAI's released model.

Each part is a ~4-minute video, an article with interactive figures (if you'd rather read than watch) and an exercise to test your understanding. No math beyond simple sums. The videos are generated from code: the narration's timing drives the animation, the sound and the captions.

A note on "understand": I mean it in the functional sense (chinese room argument style), that the network builds internal features that track meaning, like that neuron.

Disclosure: I'm building zairai, an AI coach. I'd love to hear where it loses you, or where anything needs correcting.


r/learnmachinelearning • • 22d ago

Discussion With AI tools making ML experimentation easier, are strong fundamentals becoming even more important?

3 Upvotes

With AI tools now helping people write code, build models and experiment faster, learning machine learning has become more accessible. But does easier access necessarily mean better understanding?

While hands-on projects and experimentation are important, having a structured approach to learning the fundamentals, understanding the underlying algorithms and knowing why a model behaves a certain way still matters.

For those learning or working in ML, how do you strike the balance between building things quickly with AI tools and taking the time to develop a strong conceptual foundation?


r/learnmachinelearning • • 22d ago

[Research] Does LeWorldModel preserve local action geometry? Implications for model-based RL and planning

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 22d ago

Bro code is helping me out

Post image
0 Upvotes

r/learnmachinelearning • • 22d ago

AI Education for Everyone—Start Wherever You Are

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 23d ago

Project ML - curriculum on GitHub

Thumbnail
gallery
120 Upvotes

If you remember this curriculum from a few days it’s on GitHub now and you can make it your own.

Best of luck on your ML journey

repo-link


r/learnmachinelearning • • 22d ago

I built a CNN from absolute zero (pure NumPy, hand-derived backprop) — then asked: can you make it recognize letters by tuning weights alone, with no letter data? (No. Here are the numbers.)

1 Upvotes

What I did

I built a handwritten-digit CNN from absolute zero on a Windows laptop: no PyTorch, no TensorFlow, no PIL — literally just Python stdlib + NumPy. Everything is hand-written and auditable: im2col/col2im conv layers, max-pool routing, softmax-cross-entropy, the Adam loop, even the MNIST IDX parser and a PNG codec for feeding real images in. Weights are random init — nothing pretrained anywhere.

Result: 46,730 parameters, 4 epochs, ~12 min on CPU, 98.74% MNIST test accuracy. A numerical gradient check (worst relative error 3.05e-4) runs before training, because from-scratch code fails silently in cute ways. Same toolchain then read all 8 digits (94–100% confidence) in a 2496×1664 real handwritten photo it never saw — connected-component segmentation + normalization, no vision model.

The actual question

So here's the fun thought experiment, which a lot of "models are just files of numbers" people get wrong in both directions:

If you can read the network structure, can you make it recognize letters a/b/c/d by just adjusting the weights — with no letter data at all?

Six controlled experiments, all self-generated data (zero downloads):

  • Blind tuning, zero samples: randomize the readout layer, 2000 tries → mean 24.51%. That's chance for 4 classes. No data = no information channel into the weights. (The "best of 2000 = 72.5%" is pure selection overfitting — picking it requires the test set you don't have.)
  • Borrowing the old decision layer: feed the pretrained digit prototypes {9,6,6,9} into letter slots → 48.75% ceiling, and the errors land provably on exactly the two collapsed pairs {a,d} and {b,c}. The old weights encode 10 digit prototypes — that's the resolution limit of the letter manifold through them.
  • What actually transfers: the digit model "sees" letters confidently as digits (a→9 at 86%, b→6 at 79%) — edge/curve features transfer, decision boundaries don't.
  • Refitting the boundary is absurdly cheap: freeze the conv trunk, refit only 260 parameters with 5 self-drawn samples per class → 87.5% under heavy style perturbation, 100% under light. Refit fc1+fc2 → 100% in 0.5s.

Takeaway: weights are compressed statistics of the training distribution, not rules. The structure and low-level features are readable, inheritable assets; the decision boundary can never be tuned blind — but redrawing it costs ~260 numbers and 20 sketches.

Honest caveats: my synthetic stroke-font letters are easier than real handwriting; the from-scratch baseline (B3) also scores high on this 4-class task, so the trunk-transfer advantage here shows up as parameter/time efficiency (260 params/0.1s vs 46,730/47s), not accuracy. Every number in the paper traces to a log file, line by line.

A from-scratch pure-NumPy CNN hits 98.74% MNIST. Feeding it a real handwritten photo reads 1979/0924 correctly. Then the transfer experiment: blind weight tuning = chance (24.5%), reusing old decision boundaries = provable 48.75% ceiling, but 260 refit parameters + 5 hand-drawn samples/class = 87.5–100%. Model ≠ structure. Model ≠ the numbers. Model = the distribution those numbers compress.


r/learnmachinelearning • • 22d ago

Tried Claude + ElevenLabs to turn my article into a video - here's the summary at the end, full video link in the description

0 Upvotes

r/learnmachinelearning • • 22d ago

Research Discussion: Bounding Sequence Hidden State to O(1) via Dissipative Adaptation and Landauer Constraint Minimization

0 Upvotes

I am an independent technology developer looking at the O(1) scaling limits of sequence modeling architectures. To address the quadratic O(T^2) self-attention bottleneck, I have engineered a framework
—the Entity-Relation Delta Engine (ERDE)—that maps sequence history dynamically into isolated geometric subspaces using a Gated Parallel
Associative Scan.

This allows distributed GPUs to compute history simultaneously in O(log T) parallel hardware steps while forcing the hidden memory state to remain at a strict O(1) size invariant.

I want to present the underlying non-equilibrium thermodynamic optimization framework driving this low-rank bottleneck, which treats sequence historical processing as a physical state-settling mechanism within a high-dimensional energy landscape rather than a deterministic digital storage array.

The Problem of Capacity Limits and Lossy Compression

Because a strict O(1) hidden state cannot store infinite raw token fidelity without immediate informational saturation (the Pigeonhole Principle), the ERDE architecture explicitly operates as a lossy compression loop. To maintain the O(1) invariant across deep context horizons without experiencing associative mis-binding or factual blurring, the network utilizes a data-dependent, time-varying decay matrix coupled with low-rank projections.
The system enforces an adaptive informational bottleneck constrained by a variational free energy minimization loop:

min [ I(X; S) - beta * H(S) ]

Where the input density boundary of the bottleneck is dynamically bounded by a physical Landauer thermal threshold condition to prevent systemic thermal collapse on the underlying in-memory hardware substrate:

dQ_diss / dt >= k_B * T * ln(2) * [ dI(X; S)/dt - dH_prune/dt ]

Algorithmic Mechanics via Dissipative Adaptation
In practice, the gating mechanism drives a process of dissipative adaptation: environmental input patterns actively force unaligned informational entropy—such as repetitive syntax tokens, structural noise, and irrelevant context—to zero out (dH_prune).

Instead of accumulating raw sequence tokens, the engine continuously projects incoming historical data into compressed, isolated geometric subspaces, retaining only the high-signal, static relational invariants (the core entities). Local benchmarks log an arrested numerical diffusion at a 94% signal clarity threshold over a continuous 64,000-token stream.

Automated, containerized hardware audits and stress-profiling telemetry loops on my local setup have verified a precise 0-byte memory leak profile across sustained processing cycles and zero thread locks under multi-threaded flood tests (sustaining a processing velocity of 0.066 seconds per thread).

The mathematical formulation successfully clears ahead-of-time graph serialization, exporting directly into a hardware-agnostic Intermediate Representation (IR) graph.

The system is mathematically wired to minimize this energy equation to remain within a strict Landauer thermal budget. Rather than relying on static software rules, the physical or analog substrate self-organizes its state configuration to disperse heat efficiently, treating data-pruning as a physical survival mechanism against hardware overheating.

I am posting this here to get strict, text-based peer review from chip architects, physicists, and machine learning engineers on the theoretical viability of this non-equilibrium framework. I prefer to communicate my technical work through written documentation and am looking forward to a rigorous discussion of these mechanics in the comments.


r/learnmachinelearning • • 22d ago

Discussion A scheduling benchmark that never invoked the subagent: reading DeepSeek's Super-agent ablation

Thumbnail
the-agent-report.com
1 Upvotes

Worth reading as a methods example rather than a product announcement.

DeepSeek's Super-agent splits coordination from execution: a router session handles incoming requests, separate worker sessions do the tasks. The evaluation simulated coding with a tool that only consumed time, so what is measured is scheduling, not code quality. Four designs, five runs each, about 300 messages per run, roughly 20 of them work requests. The router-and-worker design came in at 12.4 min median and 15.7 min p95, against 20.4 and 29.5 for a single session.

But the neutral-prompt baseline never called a subagent in any of the five runs, so it was not really a delegation baseline. With a delegation-first prompt it reached 13.8 min median, p95 still 29.0. That reframes the headline saving as a comparison against an under-configured control, which is exactly the detail worth checking before citing the number.

Resource use also moves the wrong way: 23.2M cache-read tokens per run versus 6.1M, and disabling direct pass-through pushed that to 31.8M.


r/learnmachinelearning • • 22d ago

Brief history of word embeddings

Thumbnail
gallery
1 Upvotes

A few weeks ago I posted about finally finding the courage to start a YouTube channel. A lot of you replied and I honestly didn't expect that, so thanks.

Video #3 is out, this time on word embeddings.

I study this stuff mostly on my own. I'll read a paper in the evening and then there's nobody to talk to about it. My friends are great but they're completely outside this world. After a while studying alone starts to feel kind of aimless. Making these videos gives me a reason to actually finish things and explain them properly, and I've found I really enjoy sharing what I learn.

This one is based on Speech and Language Processing by Jurafsky & Martin. Instead of jumping straight to word2vec, I tried to show embeddings from an angle most tutorials skip.

If you work in NLP/ML I'd really appreciate your feedback, especially if I got something wrong or oversimplified it. I'm aiming for one video a week, so honest criticism genuinely helps.

Link here: https://youtu.be/vv9iXNcPSnY?is=SOWNBFE9DSMS1GLc


r/learnmachinelearning • • 22d ago

Is there anyone who has purchased Campus X insider course can u please tell is it worth it or asiprant will be optimal for me

1 Upvotes

r/learnmachinelearning • • 22d ago

Project Best layer to detect refusal ≠ best layer to remove it (Qwen2.5-1.5B, replicating Arditi et al.)

1 Upvotes

I reproduced the single-direction refusal result on Qwen2.5-1.5B-Instruct and noticed something I didn’t expect. Harmful and harmless prompts separate most cleanly at layer 26, but removing the direction there did worse than layer 21, which stopped refusals with less change to normal answers.

Caveats: one small model, 64 held-out prompts per set, keyword-based refusal detection, and KL on the first token only.

Does this match what others have seen on bigger models, or is it probably an artifact of the size or my eval? Code and write-up:

https://fahd-blog.vercel.app/blog/ai-systems/where-refusal-lives


r/learnmachinelearning • • 22d ago

Governing Clinical AI Deployment: A Mathematical Framework for Transparency-Dependent Autonomy

Thumbnail
mdpi.com
1 Upvotes

New publication: Governing Clinical AI Deployment

When should clinical AI be trusted to act autonomously, and when should human oversight remain mandatory?

Our new study proposes a mathematical framework for governing clinical AI deployment using transparency, confidence, and guideline alignment.

Across MIMIC-IV, eICU, and MIMIC-III, we found an important insight: transparency may be more useful for setting system-level safety boundaries than deciding whether individual predictions can be automated.

We also evaluated finite-sample error guarantees to help make autonomous deployment more accountable and statistically defensible.

The central takeaway: Clinical AI autonomy should be earned through calibrated confidence and measurable safety guarantees—not transparency scores alone.

I welcome feedback and discussion from the clinical AI, machine learning, and healthcare governance communities.


r/learnmachinelearning • • 22d ago

Tool Calling Explained Visually | How LLMs Use APIs & Functions (2026 Guide)

Thumbnail
youtube.com
0 Upvotes

The absolute number one rule when designing systems where an LLM uses external tools is this: The language model does not execute your application code.

Instead, it acts strictly as an intent generator—producing a structured JSON payload based on a schema you define—and relies entirely on your application logic to execute the function securely and safely under the hood.

I put together a comprehensive 16-minute visual systems design masterclass breaking down the engineering contract step-by-step.

💡 What's covered inside this visual breakdown:

• Tool Calling vs. Function Calling: Unpacking platform-specific terminologies.

• The 5 Core Components: Tracing the complete end-to-end request/execution loop.

• Error Handling & Resiliency: Production strategies for recovering from malformed JSON and hallucinations.

• Security Engineering: Guarding your architecture against prompt injection risks hidden within untrusted external inputs.

I'd love to hear your feedback on the visual layout, and let me know what stack you're currently leveraging to enforce strict JSON validations on your tool execution loops!


r/learnmachinelearning • • 23d ago

A lightweight deep learning framework built from scratch in NumPy (published in JOSS)

Thumbnail
reddit.com
2 Upvotes

r/learnmachinelearning • • 22d ago

Question Self studying deep learning

1 Upvotes

Hi i would like to self study deep learning. I already studied bishop pattern recognition (not all of it), and I like the probabilistic approach. I ask for a suggestion for a book in deep learning with similar approach. I'm aware of deep learning book by goodfellow but it doesn't cover most recent architectures so i don't know if it is worth it. I also looked at murphy's probabilistic machine learning, but it seems more of a reference book. Thanks in advance!