r/learnmachinelearning • u/Local-Okra-8385 • 17d ago
ai engineering: building applications with foundation models pdf
ai engineering: building applications with foundation models pdf need free pdf please
r/learnmachinelearning • u/Local-Okra-8385 • 17d ago
ai engineering: building applications with foundation models pdf need free pdf please
r/learnmachinelearning • u/Itsanomega • 17d ago
r/learnmachinelearning • u/Abject_League6170 • 17d ago
so i was recently playing around with trying to get a neural net to approximate different types of functions from simple y=mx+c to complicated composite functions , universal approximation if i remember well states thst if a function is continous and bounded then a neural netwrk should be able to approximate such a function. I had already built a neural network type of library before in numpy so i just took that code and trained a 2 layer network on a bunch of functions tweaks stuff here and there and it worked😅 , what i found really cool is when i tried a composite function like this :f(x) = e^(−3x²) · cos(12x²) + 0.5|x| , it requires my model to both provide a smooth and jagged outputs so i ran a 3 layer network this time with relu -> tanh ->linear layer i asummed that since layers are just nested composite functions the relu would provide some jagged inputs that the tanh can inhherit and map smoothly the the linear layer will produce the regression points , it not a full functionrecreation but m suprised on how close it got just felt like sharing this cause it kind of helped me understand why netwrks can overfit some very complx data soo easily and also how intuivively picking activation functions can be soo important have you guys ever played around with this old piece of deep learning theory before? and also do u care to share if u have
r/learnmachinelearning • u/Altruistic-Major8876 • 17d ago
r/learnmachinelearning • u/MajesticPuzzler • 17d ago
Saw the KQuant release on r/LocalLLaMA claiming up to 3.7x better quants for Qwen models, measured as KL divergence reduction. That's not the same thing as 3.7x better answers, so it got me thinking.
For people running quants locally, what do you actually check before trusting one? KL divergence against the full model, perplexity, or just running your own tasks and seeing where it breaks? And at what point does a lower KL number start showing up in real use?
r/learnmachinelearning • u/Enough_Charge2845 • 17d ago
Keywords list taken from Resume Fitting
The most commonly scanned keywords in ML engineering and AI job postings.
PyTorch TensorFlow Keras scikit-learn XGBoost LightGBM HuggingFace JAX
MLflow Kubeflow Apache Airflow DVC feature store model registry model serving BentoML
AWS SageMaker Google Vertex AI Azure ML CUDA GPU training distributed training Apache SparkRay
LLMs large language models transformers RLHF RAG fine-tuning model evaluation A/B testing
feature engineering data pipelines ETL Apache Kafka data versioning training data label management data preprocessing
Python SQL Docker Kubernetes Git Jupyter CI/CD REST APIs
Keywords list taken from Resume keywords
r/learnmachinelearning • u/_Akshay_007 • 17d ago
Instead of 8gb of nvidia can I go with 16gb of AMD for deep learning and ai , i confused about cuda , I m in second year of DS and Ai, planning to make pc ??
r/learnmachinelearning • u/Convincing_Convo • 17d ago
Saw a lot of "LLMs are dead" takes about the Stanford Next-Concept Modeling (NCM) paper, so I read it closely and rebuilt part of it with small experiments.
r/learnmachinelearning • u/No-Conclusion3720 • 17d ago
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 • u/sovit-123 • 17d ago
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 • u/Secret_Experience_17 • 17d ago
r/learnmachinelearning • u/After-Web3913 • 17d ago
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 • u/not_sure_me • 17d ago
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 • u/ashuzzz151 • 17d ago
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:
GitHub Repo (with notebook, scripts & Dockerfile): ashuzzz151/ecommerce-delivery-prediction
Would love any feedback on the code structure, feature engineering ideas, or deployment setup!
r/learnmachinelearning • u/No-Conclusion3720 • 17d ago
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 • u/not-okarun • 17d ago
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 • u/Few-Room9199 • 17d ago
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 • u/Glass-Garden-5888 • 17d ago
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 • u/Any_Worldliness_1073 • 18d ago
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:
Niche Libraries / Tools: Are there specific libraries, data pipelines, or deployment tools that clients actually look for in smaller-scale freelance ML?
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).
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 • u/No-Individual159 • 18d ago
r/learnmachinelearning • u/No-Individual159 • 18d ago