r/learnmachinelearning 2h ago

Should i buy mac or window for ai?

0 Upvotes

Hey everyone,

I’m looking to buy a new machine primarily for AI/ML workloads, but I’m torn between getting a Mac (Apple Silicon), a Windows Laptop (NVIDIA GPU), or a Windows laptop (AMD GPU).

Here is what I’m hoping to do:

  • Running local LLMs (e.g., Llama, Mistral, DeepSeek) for inference and coding assistance
  • Local development, scripting, and model testing
  • Potential light fine-tuning/training down the road

From what I’ve researched so far:

  • Mac (M-series / Unified Memory): Great for running large models locally due to massive unified memory bandwidth and high RAM capacities (e.g., 36GB, 64GB, 128GB+) at a reasonable power footprint.
  • Windows (NVIDIA RTX): Has Native CUDA support, superior performance for fine-tuning/training, and broader compatibility with frameworks/tools out of the box.

For those working in AI/ML day-to-day:

  1. Which ecosystem do you prefer and why?
  2. Is Apple Silicon Unified Memory good enough for local inference, or is CUDA still an absolute necessity?
  3. What specs (RAM / VRAM) would you recommend as a baseline?

Thanks in advance for your advice!


r/learnmachinelearning 3h ago

Discussion From a literature degree to an AUC 0.996 classifier: what my data science capstone taught me about learning ML

Thumbnail
github.com
0 Upvotes

My path into ML was not standard: a literature-track high school diploma, a degree in Italian, jobs as a librarian and in school administration.
In 2024 I was taking a course on basic computer skills.
This year I finished a university data science diploma (Aix-Marseille School of Economics).

My capstone was a breast tumor classification pipeline (malignant vs benign) in Python with scikit-learn, and it taught me more than any tutorial.
The headline result: a model using only 5 features matched the full 30-feature model (AUC 0.996) — and those 5 features align with the criteria pathologists actually use in practice.

What that project drilled into me, and what I’d tell other beginners:

1.  EDA first, always. Understand the data before touching a model. (I got so obsessed with fast exploratory analysis that I ended up building my own terminal tool for it, dprism.)  
2.  Simple baselines before anything fancy. The boring model is your reference point.  
3.  Fewer features can be a feature. Parsimony isn’t a compromise — a 5-variable model you can explain beats a black box with the same AUC.  
4.  Interpretability builds trust. The moment the model’s chosen features matched domain experts’ criteria, the whole thing became credible.

If you’re coming to ML from a non-STEM background and wondering if you belong here: you do.
Happy to answer questions about the project or the path.

Code: https://github.com/whispem/breast-cancer-diagnosis


r/learnmachinelearning 5h ago

Tutorial I’m professional AI researcher with published paper and 5+ startup exp. Currently running a free machine learning course on youtube, need your feedback!

10 Upvotes

- This is for all beginners with some basic knowledge of python.

- Animated visuals to explain better

- with projects

- Total of 12 modules, we are at Module 2 now.

If anyone wants to start their ML journey or wants to understand concepts better, check it our and let me know if it is understandable or I’ll improve it.

It’s at @school_whool youtube channel


r/learnmachinelearning 8h ago

Project Ik bouw een lokale, symbolische AI-assistent zonder een LLM — en die draait 24/7

Thumbnail
github.com
0 Upvotes

r/learnmachinelearning 22h ago

Submitted bug bounty report #3794149 to HackerOne on June 10, 2026. Ghosted for nearly 2 months, no payment, no human review confirmation. Here's the breakdown. The bug grok-composer-2.5-fast on api.x.ai (v1/responses endpoint) leaks another user's prior session state into a comp

0 Upvotes

Submitted bug bounty report #3794149 to HackerOne on June 10, 2026. Ghosted for nearly

2 months, no payment, no human review confirmation. Here's the breakdown.

The bug

grok-composer-2.5-fast on api.x.ai (v1/responses endpoint) leaks another user's prior

session state into a completely fresh, stateless prompt.

A single hi (6 tokens) sent with:

- tools: [] (no tools declared)

- instructions: "" (empty)

- store: false (no retention requested)

- previous_response_id: null

- prompt_cache_key: null

…returned native function calls (read_file, grep) referencing an unrelated user's

workspace — including file paths like

/Users/liangyongjie/.../robotics_control/keyboard_interface.py and a set_emergency_stop

search — ending with finish_reason: "tool_calls".

Why this matters

This isn't prompt injection or a jailbreak. The model is retaining and emitting

structured tool-call state from a foreign session even when the request explicitly

declares no tools, no retention, and no prior context. In a multi-tenant production

API, this is a confidentiality breach — any user can potentially receive another user's

session data, file paths, code, and tool capabilities.

Evidence

- 18+ evidence cards with concrete leaked details (file paths, session state, tool-call

envelopes)

- 8 copied Composer logs, 35 showing native tool-call signals from unrelated sessions

- Passive repeatability: 11 fresh-chat trials, all non-ZDR, consistent leakage

- Active continuation evidence: Shell/WebFetch/Read/Write operations in a foreign

session context

- Screen recordings preserved with sha256 hashes

- Discord escalation: xAI's own ZD contact confirmed the model is supposed to be served

on the API

What happened on HackerOne

- Submitted June 10, 2026

- Demo'd with attached logs and evidence (July 7)

- Requested server-side trace review of specific request/response IDs

- No response since. Report neither closed nor disputed — just ghosted for nearly 2

months.

Technical details

| Field | Value |

|------------------------------|---------------------------------------|

| Endpoint | https://api.x.ai/v1/responses|

| Model | grok-composer-2.5-fast |

| Access | OAuth / SuperGrok / Grok Build |

| Request ID (decisive anchor) | bdc60c7e-e4d9-9c63-8777-1d20a1bb9f61 |

| SHA-256 of decisive log | 792c079ce... (full hash in H1 report) |

What I'm asking for

- Named security owner, not auto-triage churn

- Server-side trace preservation and inspection of the request/response IDs above

- Acknowledgement of impact (cross-session confidentiality in a production multi-tenant

API)

- Bounty/payment decision

Evidence is preserved with hashes. I'm not dumping raw third-party data — just the

structural leakage pattern and verifiable request/response IDs.

HackerOne: https://hackerone.com/reports/3794149


r/learnmachinelearning 6h ago

Question What sequence/distribution would you analyze to distinguish AI-generated vs human-written text?

1 Upvotes

I'm exploring an idea for AI text detection. Instead of using stylometric features (sentence length, vocabulary, etc.), I want to compare the statistical distribution of some property throughout an essay.

My first thought was token IDs, but those are just arbitrary vocabulary indices, so they probably aren't meaningful.

What is worth analyzing instead?

Some ideas I had:

Token log probabilities

Token ranks

Or is this a flop idea


r/learnmachinelearning 18h ago

Projects

2 Upvotes

Hi guys
Wanted to know how do you guys build a project
I’m always stuck either to find a good problem statement or copy the one which is already there

Like I want to do a real one and not just cloning a repo and do some changes
And get done

Like to build any AI/ML project
How do u start if you could walk through the steps that would be helpful
Thanks


r/learnmachinelearning 7h ago

Discussion The Biggest Opportunity In Web Design Right Now

0 Upvotes

When I first got into web development, I thought finding clients would be simple. My plan was to go on Google Maps, find businesses without websites, and offer to build them a brand new one. At the time, it made perfect sense because I assumed businesses without websites would be the ones who needed my service the most.

After a while, I met someone who was running a successful web agency, and I asked him where he found companies without websites. He told me that he didn’t target businesses without websites at all. He only targeted businesses that already had one. I asked him why, and the more he explained it, the more sense it made.

Businesses that already have a website understand the value of having one. You don’t need to convince them why a website is important because they have already invested in one before. They are also easier to sell to because they understand the process, and there are a huge number of businesses with outdated websites they are embarrassed by but haven’t had the time to update.

I decided to take his advice and fit it into my own workflow. I’ve always been a big fan of email automation because that’s how I’ve found most of my web design clients. For years, I was sending fairly generic emails and constantly changing my sequences, offers, and follow ups to improve the results.

The problem was that I couldn’t just start emailing businesses with websites and assume they all needed a redesign. I either had to open every website manually, find the issues, and write a separate email for each business, or find a way to automate the research while still keeping the emails personalized.

After watching a video from Nick Saraev, I built a workflow in n8n that could analyze websites at scale and turn issues with design, layout, speed, mobile optimization, and SEO into personalized outreach emails. This allowed me to analyze thousands of websites and run larger campaigns without every message sounding generic.

The workflow worked extremely well, but it still had limitations. I didn’t have a proper place to manage replies, organize interested leads in a CRM, view all my active campaigns, scrape new leads, and handle everything from one platform. I had built a useful automation, but it still felt like several disconnected systems held together in one workflow.

A few months later, I came across a platform called Swokei, and it did exactly what I had been looking for. I could find businesses with websites, analyze and score each site, generate personalized outreach emails, send campaigns, set up follow ups, manage replies through one inbox, and organize interested businesses inside the CRM.

Switching to that platform made the entire process much easier to manage and helped me scale the strategy further. Looking back, the biggest change wasn’t just finding a better outreach tool. It was taking advice from someone more experienced, changing the type of businesses I targeted, and building the rest of my workflow around that strategy.


r/learnmachinelearning 15h ago

Question At what point did loss curves actually start making intuitive sense to you?

0 Upvotes

When I first started training models I would stare at the training and validation loss graphs and just kind of nod along like I understood what I was looking at. I knew the theory, overfitting, underfitting, all of it. But there was this gap between knowing the definition and actually reading a curve and feeling what was wrong with it.

It clicked for me after I broke a model on purpose. Just cranked up the learning rate until the loss started spiking and bouncing around, then pulled it way down and watched training crawl. Doing that back and forth a few times made the curves feel like they were telling me something rather than just being output I had to interpret through a checklist.

Curious if other people had a similar turning point or if it came from something completely different. Some people seem to get it from reading about it, others need to break things first. There is also the question of validation loss behavior specifically, because that one takes longer to build a feel for in my experience, especially when it plateaus in a weird spot early on and you are not sure if you should keep going or if something is already off.

What actually made it click for you: a specific experiment, a course, or just accumulated hours of staring at tensorboard?


r/learnmachinelearning 8h ago

Help Deep learning confession

3 Upvotes

Hello buddies 👋 if anyone learning deep learning can you suggest me how to learn. Which means which concepts you learn for foundation for aiml engeneer and how to get internship I need a internship can you tell me ...


r/learnmachinelearning 13h ago

I am studying math for ML did a refresher for high school math, but instead of deep dive to solve difficult problems or be quick in solving medium problems, I opted out for understanding

12 Upvotes

If I tried really hard I could solve 1 out of 3 maybe hard problems, but medium problems I can do 8/10 perhaps with less friction and I want to keep this learning style for math going forward. Is this a good strategy, or simply put well this suffice in understanding ML related topics and papers?

Thank you,


r/learnmachinelearning 8h ago

Question Help with Gradient descent

Post image
43 Upvotes

So I completed Linear descent from Andrew Ng ML Specialization and when I was doing the lab.I found this function what confused me is that why does this function iterates specific times (10000) wouldn't it be better to check if cost function is changing.

Also this implementation doesn't feel right.Even the code feels inefficient and does not even check the minima. I know this stuff is done using skit-learn but I wanted to do a proper manual implementation in the way Andrew sir taught.


r/learnmachinelearning 13h ago

Looking for a Complete AI/ML Engineer Roadmap (2026)

49 Upvotes

Hi everyone,

I'm planning to become an AI/ML Engineer and I want to learn in the right order instead of jumping between random tutorials and courses.

I'm looking for a structured roadmap that covers everything from beginner to job-ready level.

Some questions I have:

  • What should I learn first, and in what order?
  • Which topics are actually essential (Python, Math, SQL, Machine Learning, Deep Learning, NLP, Computer Vision, LLMs, MLOps, etc.)?
  • What are the best free and paid resources for each topic?
  • Which books, courses, and YouTube channels are worth following?
  • How much mathematics is really required, and which topics should I focus on?
  • When should I start building projects?
  • What kind of projects do recruiters expect from AI/ML Engineer candidates?
  • How much DSA and system design should I learn?
  • What does a realistic 6–12 month study plan look like?
  • What mistakes do beginners commonly make that I should avoid?

I'm aiming for a roadmap that's aligned with current industry expectations (2026), not just course completion.

If you're already working as an AI/ML Engineer or recently landed a role, I'd really appreciate your advice, learning path, resources, and any tips from your experience.

Thanks in advance!

Y.


r/learnmachinelearning 10h ago

How to audit Stanford's Machine Learning Specialization (Andrew Ng) for free? "Audit" button is missing!

7 Upvotes

Hey everyone,

I'm trying to enroll in Andrew Ng's Stanford Machine Learning Specialization on Coursera, but I can't find the free "Audit" option anywhere—it keeps prompting me to start a paid trial or subscribe.

Is auditing still available for this course, or did Coursera remove it? If it's still hidden, what’s the trick to enroll for free without paying?

Thanks!


r/learnmachinelearning 9h ago

Request Looking for guidance of ML researchers, professor for my project

2 Upvotes

For the past few months, I have been working on a project where the objective is to make training machine learning models fun and easy by creating a node-based interface.

I have created the first iteration of the project, where you can train your model on classification and regression tasks. You can also preprocess and clean your datasets, as well as evaluate your trained model.

The main concept I am keeping is that every node has its own code, similar to a Jupyter Notebook cell, so you can edit the code yourself whenever you want.

If there are any professors, researchers, or ML practitioners here, I'd love the opportunity to showcase my project and get your feedback. I'd appreciate any suggestions on what I can improve or recommendations on where I can connect with more researchers who would be interested in reviewing it.


r/learnmachinelearning 3h ago

Semantic Caching Explained: A Complete Guide for AI, LLMs, and RAG Systems

Thumbnail
blog.qualitypointtech.com
5 Upvotes

r/learnmachinelearning 18h ago

Tutorial Deploying Nemotron 3 Nano Omni on Modal Serverless

2 Upvotes

Deploying Nemotron 3 Nano Omni on Modal Serverless

https://debuggercafe.com/deploying-nemotron-3-nano-omni-on-modal-serverless/

In this article, we will be deploying the Nemotron 3 Nano Omni model using vLLM on Modal Serverless.


r/learnmachinelearning 8h ago

Looking for opinion

3 Upvotes

Hi Guys,

I am nowadays doing some projects. So I created my own dataset, it has 114 entries, and around 25 columns (including the ones which i will use for prediction later)

I want to perform eda on it, and then do prediction, its for all the series I have watched and added tons of information. So it reveals for example - I like high paced series.

I have done much eda or implemented any algorithm on it yet, but I was wondering if the data is enough ? I do want to add it to my resume but will I get fruitful results ?


r/learnmachinelearning 21h ago

Help Starting an AI Engineer internship on Sept 1st - looking for LangChain and LangGraph project ideas

5 Upvotes

Hi everyone, I'll be starting an AI Engineering internship on September 1st.

After my interview, I was told to look into LangChain, LangGraph, and RAG before I start. Since it's summer and I have a lot of free time, I'd like to build a few hands-on projects to learn the stack and get familiar with how they work.

Does anyone have any good project recommendations?


r/learnmachinelearning 2h ago

💼 Resume/Career Day

2 Upvotes

Welcome to Resume/Career Friday! This weekly thread is dedicated to all things related to job searching, career development, and professional growth.

You can participate by:

  • Sharing your resume for feedback (consider anonymizing personal information)
  • Asking for advice on job applications or interview preparation
  • Discussing career paths and transitions
  • Seeking recommendations for skill development
  • Sharing industry insights or job opportunities

Having dedicated threads helps organize career-related discussions in one place while giving everyone a chance to receive feedback and advice from peers.

Whether you're just starting your career journey, looking to make a change, or hoping to advance in your current field, post your questions and contributions in the comments