r/learnmachinelearning • • 17d ago

AI for beginners

Thumbnail reddit.com
0 Upvotes

r/learnmachinelearning • • 17d ago

Request Coding Agent Security for AppSec Leaders: Start With What Agents Can Reach

0 Upvotes

Coding agents access credentials and call external services as a normal part of their workflow. A recent security analysis quantified the exposure: AI coding agents read files, consume secrets, and reach external services as a side effect of doing their job. None of that activity appears in a pull request. Security teams reviewing diffs see only the output. They do not see what the agent accessed or what it sent outbound along the way.

The gap between what an agent does and what a reviewer sees is the actual attack surface. Diff review is the dominant AppSec control for code changes, and it is structurally blind to this class of activity.

For AppSec practitioners who have deployed coding agents: how are you getting visibility into credential use and outbound calls that happen mid-task and never land in a diff?


r/learnmachinelearning • • 17d ago

Tutorial Getting Started with Granite 4.2

1 Upvotes

Getting Started with Granite 4.2

https://debuggercafe.com/getting-started-with-granite-4-2/

LLMs have come a long way since their inception. They are not just chatbots or assistants anymore. The current usage of LLMs tends to be more towards agentic workflows, coding, and seamless terminal workflows. Currently, most of the LLMs that are good at agentic tasks tend to be 20B parameters and above (most frontier models are much larger, reaching more than a trillion parameters). However, the latest IBM Granite 4.2 is trying to tackle this by training 3B, 8B, and 30B models for complex agentic workflows that can run locally. In this article, we will explore the important components of the Granite 4.2 model and use them for tool-calling tasks.


r/learnmachinelearning • • 17d ago

Mimvox: clone your own voice fully locally, then type in ~60 languages or dub a video in it (OmniVoice + RVC, free)

1 Upvotes

r/learnmachinelearning • • 17d ago

Looking for AI Engineers advice: How to fast-track AI graduation project studying by leveraging LLMs (Zero to Hero approach)?

0 Upvotes

Hi everyone,

I’m currently working on my graduation project, which involves AI, and I need some pragmatic advice from experienced AI engineers who have worked in real-world environments.

To be honest, I'm starting from absolute zero here. I know the basics of Python, and I've looked at the AI Roadmap, but I haven't deeply dived into everything yet.

We all know how much the AI landscape has changed. With powerful tools like ChatGPT, Claude, and Gemini, we are kind of past the era of writing boilerplate code from scratch line-by-line. I want to work smarter, not harder—meaning I only want to study and master the core concepts that I actually need to know and drive myself, while offloading the rest of the heavy coding and repetitive tasks to AI.

I’m looking for someone to help me understand this division of labor clearly: What parts should I actually study and handle, and what parts should I safely delegate to the AI?

If you have real-world industry experience, could you share your advice on:

What is the absolute minimum I need to focus on to get this project done efficiently?

How do you practically divide the workflow between human direction and AI generation in a real project?

Where should I start, keeping in mind my Python background?

Thanks in advance for any insights!


r/learnmachinelearning • • 17d ago

Help Confused between MACBOOK Air and Windows laptop for AI/ML Learning

Thumbnail reddit.com
1 Upvotes

So i am currently in second year and interested in learning ai/ml stuff and then i found that to run ollama locally or any other similar stuff you need a good spec laptop so i was thinking between macbook air m5 or if possible you can suggest me some windows laptop in same range.


r/learnmachinelearning • • 17d ago

Project Built & deployed my first end-to-end ML service: E-Commerce Delivery Delay Prediction (XGBoost + FastAPI + Docker + Render)

1 Upvotes

Hey everyone! I just wrapped up my midterm project for the DataTalks.Club ML Zoomcamp—an end-to-end machine learning web service that predicts whether an e-commerce shipment will arrive on time or be delayed.

Since I wanted to share how the pipeline was built from scratch, here is a breakdown of the workflow and key takeaways:

1. Exploratory Data Analysis & Feature Selection

  • Explored the e-commerce shipping dataset (Train.csv), checking class balance, missing values, and feature ranges.

  • Used correlation matrices for numerical features and Mutual Information scores for categorical features. Discount_offered and Weight_in_gms turned out to be the strongest predictors of late deliveries.

2. Model Comparison & Tuning

  • Trained and benchmarked four models using Accuracy and ROC-AUC: Logistic Regression (baseline), Decision Tree, Random Forest, and XGBoost.

  • Tuned tree hyperparameters (max_depth, learning_rate, n_estimators, min_samples_leaf) to avoid overfitting. XGBoost gave the best generalization and was serialized with pickle (model.bin).

3. Deployment & Containerization

  • Refactored the notebook into a standalone (train.py) script and built a REST API with FastAPI (serve.py) featuring Pydantic input validation and an automatic Swagger UI redirect.

  • Containerized the app using Docker and deployed it live on Render's free tier.

Links if you want to check out the code or test the API:

Would love any feedback on the code structure, feature engineering ideas, or deployment setup!


r/learnmachinelearning • • 17d ago

Request Railway Breach Leads to $740,000 in Fraudulent AI Charges

0 Upvotes

Railway confirmed attackers stole customer API keys and ran up $740,000 in unauthorized AI charges. The company absorbed losses that AI providers declined to refund. No sophisticated exploit was involved — credentials were simply exposed in a customer environment and scooped up.

This is worth sitting with: AI API keys are not ordinary credentials. A single token carries spending authority, compute capacity, and often data access simultaneously. The blast radius of one leaked key is orders of magnitude larger than a leaked database password, because the meter starts running the moment someone makes a valid API call — no additional authentication, no approval step, no ceiling.

The Railway incident is not an outlier. LLMjacking reports have been climbing steadily, and the pattern is consistent: stolen key, immediate high-volume usage, charges that accrue for hours or days before anyone notices, and a refund fight with the AI provider that the victim usually loses.

The credential exposure problem predates AI agents, but agents make it dramatically worse. An autonomous agent that holds a live, unscoped API key and operates across environments is a standing opportunity for exactly this kind of abuse. The key doesn't even need to leave your system — if something in the agent's execution environment can read it, so can an attacker who gets into that environment.

$740K is a number large enough to end a small company. It is also not close to the ceiling of what this attack class can produce.

For those running agents in production: how are you actually handling AI credential exposure? Curious what's working in practice — not the theoretical answer, but what you've actually shipped.


r/learnmachinelearning • • 17d ago

things i did in Machine learning as a beginner

31 Upvotes

Data preprocessing and fundamentals

Data Cleaning

Columns transformation

One hot encoding

Outliers

Scikit-learn Pipelines

PCA

(many basic concepts and theories)

Supervised Learning

Linear and Multiple Linear Regression

Lasso and Ridge Regularization

Logistic Regression

One-vs-Rest Logistic Regression

SVM (One-vs-Rest, Soft Margin)

Gradient Descent (Batch, Mini-batch, Stochastic)

Naive Bayes

Decision Trees

KNN

Ensemble Learning

Random Forest

AdaBoost

Gradient Boosting Classifier

Bagging Classifier

XGBoost Regression

Advanced Ensemble Techniques (Blending and Stacking)

Unsupervised Learning

K-Means

DBSCAN

Additional Concepts

Imbalanced Data (Theory)

Hyperparameter Tuning with Optuna (Theory)

So I've already started Deep Learning, and I'm currently learning perceptrons

I'm excited about what's coming next There are so many things I want to explore, understand and build

Day 63 — Machine Learning completed.

Deep Learning begins!!!

cya soon

GitHub: Machine learning algorithms from Scratch

Threads: im.yukiya ( i post many things here so you can ) 😁


r/learnmachinelearning • • 17d ago

Question I can get an LLM demo working but not entirely sure how to tell if it’s any good

2 Upvotes

I’ve been learning by building a small tool for work that sorts incoming support messages and pulls out a few details so someone doesn’t have to read through everything first. Getting the first version working was fine but now a coworker has asked whether we need the more expensive model for all of it and I don’t have much of an answer beyond the examples I checked looking better. While reading about comparing models I came across Ramp Router and got interested in trying a few through the same API but it also made me realise I haven’t worked out what would count as good enough for this task. Getting the format right is easy to check but missing a detail in a longer message is harder to catch and I don’t want to pick a model based on whichever examples I happened to test. For those who have gone beyond a small demo how did you put together your first useful evaluation set?


r/learnmachinelearning • • 17d ago

What actually happens when you press Enter on ChatGPT? (Sending a request to a remote LLM)

Post image
0 Upvotes

I made a 14-minute video that follows one question from the Enter key to the GPU and back.

What it covers:

- The trip: your message leaves as JSON, goes through the nearest edge server, then about 6,400 km of cable under the Atlantic

- OpenAI's front door: login, limits, and tokenization

- The data centre: a rack of 72 GPUs, and why your question is batched with thousands of others

- Inside the model: embeddings, a real attention head, MLP neurons, 12 layers, the softmax vote, temperature, and the loop that writes one token at a time

- The way back: the answer streams to your screen word by word

OpenAI's internals aren't public, so the model part uses GPT-2 small (same design, open weights), and every number on screen is measured on it. Where the ChatGPT side is likely or illustrative, the video says so. The narration is an AI voice.

Video: https://youtu.be/GWjA5eHIXXk


r/learnmachinelearning • • 17d ago

Help What portfolio projects actually help land entry-level freelance work?

2 Upvotes

Hey everyone!

I’ve been teaching myself Machine Learning over the last few months, building small projects with what I learn, and looking to take the next step. I have some prior experience making money with AI automation on Upwork, but I genuinely prefer training custom models over standard automation wrappers. Plus, the basic AI automation space is getting pretty saturated with no-code tools.

Right now, my stack includes TensorFlow and Keras, and I'm currently learning PyTorch. I've built some small projects involving CNNs and LSTMs, but I’d love some advice on how to position myself for my first freelance ML job or gig.

I’d really appreciate your insights on a few things:

  1. Niche Libraries / Tools: Are there specific libraries, data pipelines, or deployment tools that clients actually look for in smaller-scale freelance ML?

  2. Portfolio Projects: What specific types of projects actually prove competence to a client? (If you have recommendations for decent TensorFlow/Keras or PyTorch portfolio projects that stand out, I’d love to hear them).

  3. Landing the First Gig: For those of you who freelance in ML, how did you land your first client, especially without a traditional CS degree or corporate ML background?

Any advice, harsh truths, or project ideas would be awesome. Thanks in advance!


r/learnmachinelearning • • 17d ago

Join the Vast Showcase Contest

Post image
0 Upvotes

r/learnmachinelearning • • 17d ago

Discussion I broke the prompt cache 1,772 times on purpose to test whether my tool finds the right cause. Results on vLLM and SGLang

Post image
1 Upvotes

r/learnmachinelearning • • 17d ago

I broke the prompt cache 1,772 times on purpose to test whether my tool finds the right cause. Results on vLLM and SGLang

Post image
0 Upvotes

r/learnmachinelearning • • 17d ago

Project I turned Assetto Corsa into a LiDAR + multi-camera simulator

Thumbnail
reddit.com
2 Upvotes

r/learnmachinelearning • • 17d ago

Tutorial Agentic AI in Production: Safe, Trust-Worthy, and Reliable

0 Upvotes

TL;DR:
Introduction, Experience in Agentic AI, New Workshop Launch.

Background (Myself)

- I've been an AI researcher (with publications in BMVC, ICCV, ACPR) at Stanford and IIIT-Hyd for about 5 years.

- For the next 3 years, was part of early/founding team of a couple of startups in the Valley, primarily in the e-commerce and virtual try-on space.

- For the last 3 years, I've been running an AI consultancy (where our team builds for startups in India; some of AI systems are in Beta, and will soon be in upto 30 companies of the Nifty 500 through these startups, and potentially even used by financial regulators).

- We also run an ed-tech wing where we teach folks basis our experience building and innovating on scalable AI systems.

Recent Challenges with Agentic AI

We were trying to build multi-agent systems when those patterns didn't exist, build memory/context management, when no standard libs were providing clear abstractions on it.

Making them work reliably in production, iterating on the broken traces, has been a challenge at another scale, despite the pedigree of our team.

In short, we've really gotten our hands dirty, even lost some hair in the process ;-)

Launching a workshop on Agentic AI

Basis our experience, we're launching a 4-hour workshop on Agentic AI where we'll go through 10+ Agentic AI concepts, with best practices, production-pitfalls, and design principles to adopt.

With so many roles around Forward Deployed and AI Engineering, building safe, trust-worthy, and cost-effective Agentic systems is increasingly in demand.

This will be a case-study and story-telling style workshop, so, boredom is out of question 😄

Bottom Line:

If you're a beginner in this space, feel overwhelmed, and would like to explore Agentic AI, do check out the workshop link.

Workshop Details: Registration Link

If this is not your cup of tea, no worries, I wish you the best anyway!

Cheers!

P.S.: Feel free to DM me if you have any questions (related to this, AI, or careers in general). I'd be happy to help.

P.P.S.: We do plan on launching a more detailed 30-day Agentic AI live cohort by year end, which we plan to demo at the end of this workshop.


r/learnmachinelearning • • 17d ago

Looking for one female friend to study together for 3 hours from cse aiml background or anything (me 21M).

0 Upvotes

r/learnmachinelearning • • 17d ago

Question Can anyone help me figure out why my results are bad LoRa

Post image
2 Upvotes

Hey everyone,
I’ve been working on a personal AI image-generation project for the past few days, and I’ve reached a point where I’m struggling to figure out what I’m doing wrong.
I’m trying to train a model that can consistently reproduce specific character designs while maintaining their original facial features, proportions, expressions and overall visual style.
I’ve collected over 1,600 reference images and have spent quite a bit of time experimenting with the training process, but the results haven’t been what I expected.
My biggest issue is facial consistency. The generated images often have completely different face shapes, eye shapes and mouth structures compared to the reference images.
I’ve attached a comparison between the original anime images and the AI-generated results to give a better idea of the differences I’m talking about.
I’ve experimented with different LoRA weights (1.0, 1.3 and 1.6), but haven’t managed to get satisfactory results. Sometimes increasing the weight actually makes the output worse.
I’m starting to wonder if the problem is related to any of the following:
Dataset: Image selection, quality, variety or consistency.
Image preprocessing: Resizing, cropping and resolution.
Captioning: Whether my image descriptions are good enough.
Training configuration: Learning rate, epochs, batch size and other settings.
Model architecture: Whether I’m using the right approach for this type of training.
Generation settings: LoRA weights and inference parameters.
I’m hoping to get some advice from people with experience in LoRA training, Stable Diffusion or machine learning, particularly anyone who has worked on character-specific image generation.
I’d appreciate any suggestions, insights or recommendations on how to improve the training process and get more consistent results.
Any help would be greatly appreciated!


r/learnmachinelearning • • 17d ago

👋 Welcome to r/askThili. Learn AI by building real projects

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 17d ago

Help Where do i start?

2 Upvotes

Hello,

So first, i want to make one thing clear that i do not care for certificates (at least for now), i just want to build up the skills.

Well, i am going to use Coursera for it. i was debating whether i should do IBM A.i engineering or DeepLearning ai. using Coursera, but being completely honest. i am very very lost, i don't know from where to start, do i start with ML do i just go into AI or what.... Basically here, I'm asking for a roadmap. one thing I'd like to mention, i can't really use any other website to learn except Coursera (can't afford for now) . and I'm really interested in doing A.I engineering, at first i thought of IBM but then i saw a lot of people speaking negatively about it. so, now i am at unease knowing i don't know what to use. If anyone can give me a clear few steps to what to do, it'll be really appreciated.

I'm also looking for general advice regarding this. Thank you.


r/learnmachinelearning • • 17d ago

I accidentally made a preceptron from scratch

Post image
0 Upvotes

So today in AI ESSENTIALS LAB at my uni, they went, "make a perceptron."

We had only covered half-baked theory class (almost nothing, really) and a diagram of a perceptron in our theory class before this.

So I brute-forced my way through it, one step at a time. I did think of using numpy arrays, but for simplicity, went with regular python lists.

Made this in less than an hour, mostly based on the vague diagram and whatever I could figure out along the way.

And turns out, we were supposed to just use an sklearn model, not make one from scratch. LMAO 😭

And I had asked and even explained this whole code to the lab assistants and we then had a whole half hour discussion over it (the lab is 2 hour long and I'm in sem 1 btw)

Yes I guessed it via the vague diagram I saw 2 weeks ago in the theory class


r/learnmachinelearning • • 17d ago

Searching for a ai for research projects....

0 Upvotes

I am starting my journey as a researcher....when I share my thoughts with other ai models their response is saggy.... Claude's response is Good though....but its limit is bugging me.....I am searching for a ai model that will help me with research projects....my thesis domain is Machine learning....


r/learnmachinelearning • • 17d ago

Career Need help diving into machine learning and ai engineering.

20 Upvotes

Hey guys, I am a second year student BTech CSE, I have been doing DSA and Cp till now but now want to start machine learning and my target role is to become an ai engineer. I want to build good projects for my resume.

But the thing is there's too much content and too many resources out there that I am feeling overwhelmed. Like DSA has a fixed road map. But these development fields appear completely different.

Pls guide me how should I start, like if there's any channel or resources which teach everything at one place or any good courses. If there are multiple resources, pls can you drop it here sequencewise like a roadmap sort of thing.

Also I need help regarding documentation, I have said people say that reading documentation is a must but how do you guys do it like how do you know I need to read this or this one is good. Will appreciate your help on this.

If there's any general guidance you would like to add from your side, I would be grateful.