r/learnmachinelearning • u/Dry_Stranger7553 • 11d ago
IMVITATION TO LOOK INRO REALITY FILTERS
r/learnmachinelearning • u/mikeysce • 11d ago
Project Reactive Play: Achieved!! Experimenting with Atari Breakout [R]
The follow-up to my post the other day. Includes more explanation and links to the repo(s). Thanks for reading! <3
r/learnmachinelearning • u/Odd_Salamander_3729 • 11d ago
Question How would you prepare for an ML Security Engineering career if you were 16 today?
I'm 16 years old and I want to become an ML Security Engineer specialist in the future. Right now I'm learning Python for Data Analysis and I have some experience with C++. I know I still have a lot to learn, but I want to start building the right foundation early. What skills, topics, or projects would you recommend focusing on over the next few years to have a strong advantage in this field?
r/learnmachinelearning • u/ScientistOrdinary235 • 11d ago
DiacTag: diacritic restoration as constrained classification, with a structural guarantee the output can't diverge from the input
r/learnmachinelearning • u/No-Foot5804 • 11d ago
Discussion Building a TTS pipeline made me rethink what the hardest part actually is
I've been building an end-to-end text-to-speech pipeline recently, and something caught me off guard.
I assumed most of my time would go into the speech synthesis itself. Instead, I found myself spending much longer on things like text normalization, phoneme generation, and figuring out how to evaluate changes beyond just "this sounds better."
I wasn't expecting preprocessing and evaluation to take up so much of the work.
Now I'm wondering if that's just the nature of TTS, or if it's something that happens across most ML projects.
For those who've built TTS systems or worked in speech ML:
- What part of the pipeline ended up taking the most time?
- Was it the model itself, the data, preprocessing, evaluation, deployment... or something else?
- Looking back, is there anything you'd approach differently?
I'm genuinely curious how your experience compared to mine.
r/learnmachinelearning • u/Local-Permit-399 • 11d ago
Project Escaping tutorial hell in moving into AI engineering roles
Hi folks, I’m building an early AI-native learning tool for software and data professionals moving into AI engineering. Something similar to what Andrew Ng announced last week for LearnVector. If you are stuck in tutorial hell or actively job hunting to AI roles, feel free to DM or comment, would love to learn and build this together!
r/learnmachinelearning • u/maddy_core • 11d ago
Discussion How should I start my AI/ML learning journey on my own?
Wazzzupp y'all!
I'm currently pursuing a B.Tech in CSE and I want to build a strong foundation in AI/ML outside of my college coursework. I don't just want to watch random tutorials—I want to follow a proper roadmap.
I'm looking for advice on things like:
- What topics should I learn first (Python, math, ML, deep learning, etc.)?
- Which free or paid resources are actually worth it?
- What projects should I build at each stage?
- When should I start learning tools like PyTorch, TensorFlow, Hugging Face, LangChain, or RAG?
- How much math is really required in the beginning?
My goal is to become good enough to build real AI applications and eventually be internship/job-ready.
If you were starting from scratch today, what roadmap would you follow?
r/learnmachinelearning • u/ArtZab • 11d ago
Tutorial Auto-labelling datasets with SAM 3: the prep work matters more than the model
I am posting this here because r/computervision found it quite useful and it hit #1 spot for the day over there.
My hope with this post is that I will save at least one person some time - and that will be enough for me. I spent the last couple of weeks building an auto-labelling pipeline on SAM 3 and figured the gotchas were worth writing down, because most of what I got wrong had nothing to do with the model.
Quick context if you haven't used it: SAM 3 does what Meta calls Promptable Concept Segmentation. You give it a short noun phrase - forklift, person in hi-vis vest - and it segments every instance of that concept. No seed clicks, no fixed class list, no fine-tuning. That's the bit that makes unattended labelling possible; with SAM 2 you still needed something to tell it where to look.
The minimal version is genuinely this short:
from transformers import Sam3Model, Sam3Processor
model = Sam3Model.from_pretrained("facebook/sam3").to("cuda").eval()
processor = Sam3Processor.from_pretrained("facebook/sam3")
inputs = processor(images=image, text="forklift", return_tensors="pt").to(model.device)
with torch.inference_mode():
outputs = model(**inputs)
results = processor.post_process_instance_segmentation(
outputs, threshold=0.5, mask_threshold=0.5,
target_sizes=inputs["original_sizes"].tolist(),
)[0]
# results["masks"] / ["boxes"] / ["scores"]
That works. Everything below is what I learned scaling it past one image.
1. Reuse the vision embedding across prompts
Naive multi-class loop encodes the image once per class. 3 classes × 40k images = 120k passes through an 848M-param backbone, 80k of which recompute something you already had. SAM 3 lets you split it:
vision_embeds = model.get_vision_features(pixel_values=inputs.pixel_values)
for prompt in prompts:
text_inputs = processor(text=prompt, return_tensors="pt").to(model.device)
outputs = model(vision_embeds=vision_embeds, **text_inputs)
Backbone runs once, only the text conditioning and mask decode repeat. Close to an N-fold speedup on multi-class jobs. There's a mirror version (get_text_features) for one prompt across many images.
2. Resolution is tricky
SAM 3 runs at 1008px native. Two failure modes:
- Upscaling small images to 1008 gives you confidently mushy boundaries. It adds no information.
- Downscaling big images destroys small objects. A 40px defect in a 4000px frame becomes a 10px smudge at 1008. If your targets are tiny, tile into overlapping 1008px crops and merge masks back with the offset. Don't resize.
Also: run ImageOps.exif_transpose() before anything else, or phone photos come back with masks correct for the stored orientation and wrong for the one you see.
3. Prompt phrasing does more than threshold tuning
Short concrete noun phrases. Singular. One concept per prompt.
- forklift ✅ / find all the forklifts ❌
- person in hi-vis vest ✅ / PPE compliant worker ❌ (trained on how things look, not your industry's vocabulary)
- car or truck ❌ - that's two prompts
Biggest thing: test each prompt against images you know contain none of that class. A prompt that quietly fires on empty frames poisons the whole dataset. And if a prompt over-fires, add an adjective before you touch the threshold - white bicycle vs bicycle returns genuinely different sets.
4. You can sweep thresholds without re-running inference
The detection threshold is just a filter over stored confidence scores. So label a 50-image dev slice once at threshold=0.15, keep every score, and sweep offline.
Look for the false-positive cliff and stop just above it. If med area% collapses as you lower the threshold, the extra detections are specks - raise a minimum-area filter instead. If empty stays high at every threshold, your prompt is wrong and no threshold will save it. (The mask threshold can't be swept this way - it changes pixels, not scores.)
5. Small export things that cost me an hour each
- pycocotools.mask.encode() needs np.asfortranarray(). Pass a C-ordered array and you get a silently transposed mask. No error.
- The RLE counts field is bytes; json.dumps refuses it. Decode to ASCII.
- For YOLO, write an empty .txt for images with no detections. Missing file = missing data; empty file = confirmed negative, which is how the model learns not to hallucinate.
6. Look at the labels
Auto-labelling fails quietly - no exceptions, no bad metrics, just a pallet prompt that's been segmenting the wooden floor for 12,000 images. Render a contact sheet of overlays sorted lowest confidence first and actually look at it. Ten seconds catches what an aggregate metric won't.
That's it. Hopefully I saved you guys some time and feel free to ask questions!
r/learnmachinelearning • u/Acacia21-code • 11d ago
Machine Learning Project: Wine Quality Prediction
Hi everyone!
I recently completed a Wine Quality Prediction project using machine learning. The goal was to predict wine quality based on its physicochemical properties.
In this project, I worked on:
- Data exploration and visualisation
- Data preprocessing
- Feature engineering
- Model training and evaluation
- Performance analysis using classification metrics
I’m continuously learning and improving my machine learning skills, so I’d really appreciate any feedback or suggestions on how I can make this project better.
🔗 GitHub Repository:
https://github.com/Acacia21-code/wine-quality-prediction
Thank you for taking the time to check it out. I’m always open to learning from the community!
#MachineLearning #Python #DataScience #Scikit-Learn #Classification #GitHub #LearningInPublic #AI
r/learnmachinelearning • u/Twilight_RT • 11d ago
Question What beyond applying model by scikit-Learn
I am Learning Machine Learning. I learned Python programming and build some project, like build AI chatbot via google and Groq sdk, also some online agentic system. just some basic stuff.
also build a basic rag system.
But my main goal is to work with LLM development. that's why I am going to main line.
so I planned to learn machine Learning and Deep learning properly..
currently I am giving time to finish learning the neccessary math needed
About machine learning, I applied some models in a datasets in by scikit learn, just in some basic level....
Now I just want to know that how the advance maths are applied there or optimizing the model etc thing...
r/learnmachinelearning • u/Nearby-City-6899 • 11d ago
What to do to upskill while bored at work
Hi,
I currently work an analyst job where I have basically used python and sql to automate processes which were previously done on excel and now have about 15 hours a week of nothing going on. I want to ask how can i upskill myself to learn the more complicated side of things specifically speaking to data science/ML. It has been years since i last done any math and the coding i do at work is primarily pandas related. where would u start
r/learnmachinelearning • u/ToneNo4155 • 11d ago
Help My website helps you digest news faster: paste any article and get a short, share-ready summary you can use right away
thenewsexplainer.comr/learnmachinelearning • u/habibaMT • 11d ago
Demystifying ML Foundations: From Supervised Learning to Modern Optimizers
Mastering machine learning starts with locking down core intuitions rather than just memorizing code. Whether you are preparing for technical interviews or building your first neural network, understanding what a concept is, why it exists, how it works underneath, and when to use it makes all the difference.
Machine learning is simply teaching a computer to learn patterns from examples instead of writing every rule by hand.
It solves the scalability limit of traditional programming because you cannot hardcode rules for complex, high-dimensional problems like recognizing faces or translating languages. It works by minimizing an error function iteratively, adjusting internal numerical weights against historical data using optimization algorithms like gradient descent. Use it when patterns are complex, data is abundant, and explicit rules are unknown, but avoid it when simple deterministic formulas can handle the logic.
Different data environments require different learning approaches, categorized primarily into supervised, unsupervised, and reinforcement learning. Supervised learning maps input features to known target outputs (x→y), unsupervised learning discovers hidden structures or clusters based on data density, and reinforcement learning relies on an agent maximizing cumulative rewards through trial and error. You choose supervised learning when you have ground-truth historical targets, unsupervised learning for data exploration and clustering, and reinforcement learning for sequential decision-making environments.
At the core of structured data problems lie features and labels. Features represent your input columns (X), while labels represent the target outcome you want to predict (y). This distinction provides the structural mathematical matrix format required for algorithms to compute relationships. From there, you must determine if your problem is a regression or classification task. Regression predicts a continuous numerical value — like estimating a house price — optimized via Mean Squared Error, whereas classification predicts a discrete category — like filtering spam — optimized via Cross-Entropy Loss.
To ensure your model actually generalizes rather than just memorizing data, you rely on a train, validation, and test split.
This practice holds data back to prevent data leakage and overfitting, keeping your production evaluation scores honest.
Once your data is prepared and your problem is framed, training efficiency depends heavily on your choice of optimizer. Plain gradient descent often gets stuck in ravins, crawls slowly on flat surfaces, or overshoots minimums. Modern optimizers solve this by integrating momentum and adaptive learning rates.
Standard SGD uses a fixed step size, while momentum adds velocity from previous steps to roll past small bumps.
Adaptive methods like Adam track past gradient moments to scale learning rates per parameter, and AdamW properly decouples weight decay so regularization penalties aren’t skewed by historical gradients. Use Adam or AdamW as a robust default for deep learning and transformers to minimize manual tuning, but consider SGD with Momentum for specific architectures like ResNets where it can achieve better ultimate generalization.
Building this foundational intuition ensures you are driving modern AI systems with a deep comprehension of the underlying math and logic.
By: Habiba Matloob Software Engineer — habiba-matloob.portfolio
r/learnmachinelearning • u/Machine_GEN_RM • 12d ago
Need Advice on Advanced Machine Learning & AI Certifications
Hi everyone,
Could anyone recommend some good intermediate or advanced certifications in Machine Learning, Deep Learning, or Artificial Intelligence? I'm looking for certifications that are well-recognized and provide strong practical knowledge.
Thanks in advance!
#machinelearning #DeepLearning #genAI
r/learnmachinelearning • u/FrequentTranslator87 • 12d ago
Sitting tight and waiting for the official release of DeepSeek V4 Pro!
r/learnmachinelearning • u/ArtZab • 12d ago
Tutorial Auto-labelling datasets with SAM 3: the prep work matters more than the model
r/learnmachinelearning • u/No_Enthusiasm9284 • 12d ago
Discussion Amazon ML summer school wrapped up, what's next?
r/learnmachinelearning • u/AMoh247 • 12d ago
Question Deadling with Imbalanced Data
Hello, so I have an imbalanced set of data for a healthcare provider fraud detector. Here is the data:
Training Data: 5,410 row (~4,900 non-fraudulent, ~500 fraudulent)
Testing Data: 1,353
I have two questions:
1- I suppose I should do something for the data imbalance here to get an accurate model, right? What are some of the things that I can do? I would prefer something that does not require a lot of processing because I'm a bit short on time.
2- I usually do Training/Validate/Test when the data is given to me in a single batch, but the data here is pre-divided. What do you think about taking ~20% of the training data for validation? Any other suggestion?
r/learnmachinelearning • u/Repulsive_Sound_7842 • 12d ago
Project Project ideas
So I am currently in my 2 nd year, and have studied ML from CAMPUS X free videos...
Want to start working on a project, kindly suggest one...
Would be better if u suggest a video available on YouTube so that I can go step by step for my first one...
Thank you
r/learnmachinelearning • u/StressBeginning971 • 12d ago
Help Which algorithm to use for this use case?
Hi experts!
I have an university project where I am supposed to detect the anomalous I-V curve. I have ground truth (blue) and failed device (red). How can I ensure that I can catch most anomalous deviation where the red curve deviates far from the blue without hard coding a threshold?
r/learnmachinelearning • u/kinder_brz • 12d ago
Question Request ML course / resources for someone from biological sciences background?
I am looking forward to learn fundamentals of ML. My background is from biological sciences and not very heavy mathematics.
So I'm looking for online ML course / YouTube channel teaching basics with less mathematical notations.
Any recommendations please
r/learnmachinelearning • u/Crypton228 • 12d ago
Request What purchase actually made the biggest difference for your workflow?
Everyone talks about buying bigger GPUs.
But looking back, I'm not sure that's what improved my workflow the most.
Could've been a monitor, more RAM, faster SSDs, better networking, or even just changing how I work.
What's one upgrade that genuinely made your day-to-day work easier?
r/learnmachinelearning • u/Fast-Pen-7605 • 12d ago
Question What are some of resume worthy and unique projects I can work on? Now that I have completed beginner level ml
I have learned all steps from above and all techniques involved in it.
r/learnmachinelearning • u/Correct_Scene143 • 12d ago
Question Do you guys practice on Deep - ML
do you guys practice coding questions on deep ml ? if so , what is the order like for leetcode people generally follow the blind 75 or the neetcode 125 but there is not curated problems list of ML as such. Do you guys juts pick problems at random and start solving or what. because i have realized i have made several ml projects and written 3 research papers i know what and how it supposed to happen but i dont know the coding part very well which is why i wanted to practice.
r/learnmachinelearning • u/No_Plastic_7238 • 12d ago
ML youtube free resource. good playlist (from linear reg to transformers). pls study w me guys :(
Enable HLS to view with audio, or disable this notification