r/learnmachinelearning • • Nov 07 '25

Want to share your learning journey, but don't want to spam Reddit? Join us on #share-your-progress on our Official /r/LML Discord

15 Upvotes

https://discord.gg/3qm9UCpXqz (Discord is currently closed)

Just created a new channel #share-your-journey for more casual, day-to-day update. Share what you have learned lately, what you have been working on, and just general chit-chat.


r/learnmachinelearning • • 2d ago

Project 🚀 Project Showcase Day

4 Upvotes

Welcome to Project Showcase Day! This is a weekly thread where community members can share and discuss personal projects of any size or complexity.

Whether you've built a small script, a web application, a game, or anything in between, we encourage you to:

  • Share what you've created
  • Explain the technologies/concepts used
  • Discuss challenges you faced and how you overcame them
  • Ask for specific feedback or suggestions

Projects at all stages are welcome - from works in progress to completed builds. This is a supportive space to celebrate your work and learn from each other.

Share your creations in the comments below!


r/learnmachinelearning • • 1h ago

Help Completed Andrew Ng's ML Course 1, but I don't feel confident about implementing anything independently. Need some guidance.

5 Upvotes

Hey everyone!

I'm currently pursuing an Integrated MSc in Mathematics, and my long-term goal is to become a Machine Learning Engineer.

I've been learning ML for a while now, and I wanted to get some advice from people who are more experienced in this field.

Here's where I currently stand.

What I've learned so far:

I've covered the basics of Python for Data Science, including:

  • NumPy
  • Pandas
  • Matplotlib
  • Seaborn

I learned these through the Udemy course Python for Machine Learning & Data Science Masterclass by Jose Portilla.

After that, I started Andrew Ng's Machine Learning Specialization on Coursera. I've successfully completed Course 1 out of 3 (Supervised Machine Learning: Regression and Classification).

The topics I've covered include Linear Regression, Multiple Linear Regression, Gradient Descent, Vectorization, Feature Scaling, Feature Engineering, Polynomial Regression, Logistic Regression, Cost Functions, Regularization and Overfitting.

I really enjoyed Andrew Ng's explanations. The mathematical intuition and theory were interesting, and I feel like I have a reasonable understanding of the concepts.

But here's where I'm struggling.

Despite completing Course 1, I don't feel confident about implementing these algorithms independently.

The course has programming assignments and optional labs where we're expected to go through the provided Jupyter notebooks, understand the existing code, fill in missing sections and execute everything.

I find this somewhat difficult because the way I learned Python and NumPy is quite different from the coding style used in those notebooks.

Sometimes I understand what the algorithm is doing mathematically, but translating that understanding into actual code is where I get stuck.

I haven't really tried implementing an entire ML algorithm from scratch independently yet.

And honestly, I don't want to keep completing courses without being able to implement what I've learned.

Here's the approach I'm planning to follow.

After discussing this with a few AI tools and considering different suggestions, I've decided to postpone Course 2 temporarily and properly revisit Course 1.

My current plan is:

  1. Rewatch the lectures and understand the theory, mathematics and intuition behind each topic.
  2. Understand how and why each algorithm works, rather than memorising formulas.
  3. Try implementing the algorithms independently using NumPy, writing the code myself instead of copying existing implementations.
  4. Once I've implemented them using NumPy, learn the corresponding scikit-learn implementation.
  5. Compare the results from my NumPy implementation with scikit-learn and investigate any differences.

For example, I'll implement Linear Regression, including its cost function and gradient descent, using NumPy first. Then I'll perform the same task using scikit-learn and compare the results.

My thinking is that if I can independently implement an algorithm and understand why both implementations produce their respective results, I'll have a much better understanding of what I've learned.

My December plan (December 1–21):

I have these three weeks available, and I want to use them to:

  • Revise all the topics from Andrew Ng's Course 1.
  • Strengthen my understanding of the mathematics and theory.
  • Implement the algorithms independently using NumPy.
  • Learn scikit-learn and compare implementations.
  • Revise NumPy, Pandas, Matplotlib and Seaborn.
  • Build 1–2 small projects to apply what I've learned.

I haven't learned scikit-learn yet. The Udemy course I mentioned earlier has dedicated lectures on scikit-learn and ML implementations.

For those familiar with that course, are its scikit-learn lectures sufficient for a beginner? If not, please suggest some good FREE, preferably YouTube-based resources to learn scikit-learn.

A few questions I'd really appreciate your opinions on:

  1. Is my NumPy → scikit-learn → comparison approach actually a good way to learn ML?
  2. Is implementing algorithms from scratch really necessary for someone aiming to become an ML Engineer?
  3. How do you approach learning a new ML algorithm? Do you first understand the theory and then code, or follow an implementation alongside a tutorial?
  4. How much mathematics should I understand before moving towards practical implementation?
  5. What are some good free resources (preferably video-based) to understand ML implementations in depth?
  6. What should I learn after completing Andrew Ng's Machine Learning Specialization?
  7. When should I start building projects, and what kind of projects would genuinely demonstrate my understanding?
  8. How important are GitHub projects, internships, open-source contributions and Kaggle competitions when applying for ML Engineer roles?
  9. What skills, apart from ML algorithms, should I gradually develop to become a good ML Engineer?
  10. What does an actual day-to-day job of a Machine Learning Engineer involve? How different is it from what we learn in courses?
  11. What mistakes should beginners avoid when learning ML?
  12. If you were starting your ML journey again today, what would your learning roadmap look like?

I'd especially love to hear from people currently working as Machine Learning Engineers. I want to understand what skills actually matter in the industry and how I should prepare myself from the beginning.

I'm not looking for shortcuts or a quick roadmap to get a job. I genuinely want to develop a strong foundation and become good at implementing, understanding and eventually building ML systems.

Any honest feedback, criticism, resource recommendations or personal experiences would be really helpful.

Thanks!


r/learnmachinelearning • • 2h ago

Completed CampusX ML course but still confused about how to actually build projects

4 Upvotes

Hey guys,

I'm a 3rd-year CSE (AI/ML) student. I've completed CampusX's 100 Days of ML course and learned quite a few things like Pandas, NumPy, EDA, preprocessing, feature engineering and ML algorithms.

But honestly, I still feel confused when it comes to building a project on my own.

When I follow a tutorial, I understand what's happening, but if someone gives me a real problem and asks me to build an ML solution, I don't know where to start or what steps to follow.

For example, how do you decide which features to use, what analysis to perform, which model to try, and what to do next? Basically, how do you approach a project without depending on tutorials at every step?

I also tried building a project earlier but got overwhelmed and couldn't figure out how to proceed independently.

I'm currently at my village for vacation and don't have access to my laptop. I'll be back in my hostel in 3 days, so I want to make a proper plan before starting again.

People who have already crossed this stage, how did you learn to build projects independently? Did you start with small projects, follow tutorials, or just pick a problem and figure things out along the way?

I don't want to just add projects to my resume. I actually want to develop the thinking and problem-solving skills required to work as an ML engineer.

Any genuine advice would be really helpful. Thanks!


r/learnmachinelearning • • 2h ago

building my own LLM from 0

4 Upvotes

i've started around a month ago and i've done a little bit here and there, but usually i'm just scraping a little bit specific every now and then.. because I just want this to be my very own thing that i create and not just a fine-tuning, like a lot of other people have said that I should do but no,

i just want to learn while i do this (and i have learned quite a lot) in the future when i will have more data and more valuable structure i will simply use Kaggle to train it in separate steps.

(and yes, i'm using AI to build this as well because frankly i don't really know how to do such a complex thing)


r/learnmachinelearning • • 4h ago

Why do attention weights get multiplied by the value matrix in Transformers?

4 Upvotes

Hi, I’ve decided to finally learn how the attention mechanism works by building a very simple Transformer in NumPy.

I have a question that may come from gaps in my linear algebra understanding. I understand that softmax(Q @ K.T / sqrt(d_k)) produces attention weights, but I do not understand why we then multiply those weights by V.

More specifically, I understand what the softmax output represents, but I cannot build an intuition for the meaning of the resulting matrix after multiplying it by the value matrix. Could someone help me understand this?


r/learnmachinelearning • • 7h ago

**Looking for Machine Learning study partners**

4 Upvotes

I'm starting an in-depth ML learning journey, focusing on mathematics, algorithm intuition, implementations from scratch and practical projects.

Anyone with similar goals interested in learning together, discussing concepts and sharing progress?

Feel free to comment or DM me.


r/learnmachinelearning • • 38m ago

Help My coreference model is stuck at 90% on Czech, but the labels are ~98% clean. Where's the missing 8%?

1 Upvotes

hey guys, im trying to make a custom head that groups the words in a text that refer to the same entity (coreference). every mention picks ONE earlier mention, or "none" if it is a new thing.

ive been trying for a day and cant get past about 90 % right picks. could you please look at the architecture?

this is the whole thing: load the dataset, add the head, train on everything twice, test.

# Czech coreference as a CHOICE: every mention picks ONE earlier mention, or "none" (= a new thing).
# mmBERT-base (all of it trains) + a tiny head, 2 passes over the training data.     pip install torch transformers datasets
import random, torch, torch.nn as nn, torch.nn.functional as F
from datasets import load_dataset
from transformers import AutoModel, AutoTokenizer

dev = "cuda" if torch.cuda.is_available() else "mps"
random.seed(0); torch.manual_seed(0)
tok = AutoTokenizer.from_pretrained("jhu-clsp/mmBERT-base")
bert = AutoModel.from_pretrained("jhu-clsp/mmBERT-base").to(dev)
head = nn.Sequential(nn.Linear(3 * 768, 256), nn.ReLU(), nn.Linear(256, 1)).to(dev)
data = load_dataset("lattice-nlp/corefud-1-4").filter(lambda lang: lang == "cs", input_columns="language")   # CorefUD 1.4, the Czech part

def prep(doc):
    """-> tokens, the token of every mention's head word (in text order), the entity id of every mention"""
    enc = tok(doc["text"], return_offsets_mapping=True, return_tensors="pt")
    off = enc.pop("offset_mapping")[0].tolist(); end = max(e for s, e in off)
    m = sorted((m["head_onset"], max(i for i, (s, e) in enumerate(off) if e > s and s < m["head_offset"]), m["COREF"])
               for m in doc["mentions"] if m["type"] == "entity" and m["head_offset"] <= end)
    return enc.to(dev), torch.tensor([t for _, t, _ in m], device=dev), torch.tensor([g for _, _, g in m], device=dev)

def scores(enc, t):
    """-> table (n, n + 1). one row per mention. column 0 = "none", column j + 1 = "the same thing as mention j" """
    v = bert(**enc).last_hidden_state[0][t]; n = len(t)                       # one vector per mention
    A, B = v[:, None].expand(n, n, -1), v[None].expand(n, n, -1)
    pair = head(torch.cat([A, B, A * B], dim=2)).squeeze(2)                   # the score of "mention i is the same thing as mention j"
    pair = pair.masked_fill(~torch.ones(n, n, dtype=torch.bool, device=dev).tril(-1), float("-inf"))   # only EARLIER mentions can be picked
    return torch.cat([torch.zeros(n, 1, device=dev), pair], dim=1)            # "none" always has the score 0

def right(g):
    """True where an option is a right answer: every earlier mention of the same entity, or "none" when there is no such mention"""
    same = (g[:, None] == g[None, :]).tril(-1)
    return torch.cat([~same.any(dim=1, keepdim=True), same], dim=1)

def test():
    """the dev documents, which the model never trains on -> share of mentions whose top pick is right"""
    bert.eval(); hit = total = 0
    with torch.no_grad():
        for doc in data["dev"]:
            enc, t, g = prep(doc)
            if len(t) > 1:
                hit += right(g)[torch.arange(len(t)), scores(enc, t).argmax(dim=1)].sum().item(); total += len(t)
    bert.train()
    return f"right picks on {total:,} unseen mentions: {hit / total:.2%}"

EPOCHS, N = 2, len(data["train"])                            # 1 step = 1 document. 5,679 documents, seen twice
opt = torch.optim.AdamW([{"params": head.parameters(), "lr": 1e-4}, {"params": bert.parameters(), "lr": 2e-5}], fused=True)
sched = torch.optim.lr_scheduler.LinearLR(opt, 1.0, 0.0, EPOCHS * N)          # both learning rates fall in a straight line to 0
bert.train()
for step, i in enumerate([i for _ in range(EPOCHS) for i in random.sample(range(N), N)], 1):
    enc, t, g = prep(data["train"][i])
    if len(t) > 1:
        logp = F.log_softmax(scores(enc, t), dim=1)
        loss = -torch.logsumexp(logp.masked_fill(~right(g), float("-inf")), dim=1).mean()   # minus log of the probability that sits on the right options
        opt.zero_grad(); loss.backward(); opt.step()
    sched.step()
    if step % 100 == 0:
        print(f"step {step} of {EPOCHS * N} | loss {loss.item():.3f}", flush=True)
        if dev == "mps": torch.mps.empty_cache()             # hands unused GPU memory back (Apple only)
    if step % N == 0: print(f"epoch {step // N} done | " + test(), flush=True)

on my mac mini (M4 pro, 24 GB) it takes about 38 minutes and prints 88.4 % after epoch 1 and 89.7 % after epoch 2.

im vibe coding most of this, so please let me know if i overlooked something critical. what i found so far:

  • a gentle LR for the head (1e-4, not 1e-3) keeps its neurons alive, but the score stays the same
  • the head doesnt really matter. wider, deeper, a transformer block inside it: same score
  • a bigger base barely helps, which is puzzling. XLM-RoBERTa-large with 4 epochs gets 90.75 %, and EuroBERT-610m is far worse (it never saw czech)
  • a 3rd epoch gives nothing
  • when both models are wrong, they pick the very same wrong option 80 % of the time

the dataset is public (CorefUD 1.4, the czech part), so this is perfectly reproducible. and the labels look about 98 % right, according to a blind check i ran with opus on the wrong picks.

could you guys help me reach 98 % on this dataset? thanks!


r/learnmachinelearning • • 50m ago

Advice for reinforcement learning

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 52m ago

Looking for teammates for LLM Post-Training Competition

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 4h ago

Question How much to study

2 Upvotes

Hey everyone

I recently started learning Machine Learning and want to know how much I should study before applying for ML internships.

So far, I've completed Python and the mathematics required for ML. Statistics is still left.

I have a few questions:

What ML topics should I cover to become internship-ready?

Which algorithms and concepts should I know thoroughly?

How many projects should I build to make my resume stand out?

What additional skills (SQL, Git, etc.) are important?

At what point should I start applying?

My goal is to build enough knowledge and skills to get shortlisted for interviews without spending months learning unnecessary theory.

I'd appreciate advice from people who have landed ML internships or have experience in this field


r/learnmachinelearning • • 1h ago

Help AI Pace in learning makes it difficult for me to adjust.

1 Upvotes

Hello everyone. So here is my problem.

I graduated from a university Computer Engineering and now I do my Masters on Big Data and AI. The thing is that I find the course material really troubling.

For some reasons the professors in the current uni are to AI-pro, that said, they want us to do stuff with AI but for compensation have doubled the assignment material. I find the terms and knowledge they give me too chaotic, especially separating terms on my own in Computer Vision and ML/DNN. I cannot physically catch up to the course material if the difficulty accelerates week after week and have even more assignments to catch up.

I am not against AI. I understand that it accelerates work, but not learning(for me at least). I want to start something from 0 to fully grasp the idea.

Now why I write all this? I want your opinion on how to tackle it. One solution is to do and try assignments as much as I can solo and fill the gaps with AI, BUT (because I really want to understand everything) do later online courses and read docs on the specifics.

If you have a better idea, please tell me. Feel free to engage to the post.


r/learnmachinelearning • • 6h ago

Help Possible road from supply chain intern to ai/ml engineer

2 Upvotes

I know basic pyhton, intermediate sql for now, got a scm internship, the question is i want to go from here to ai/ml engineer, i have a cs degree

i'm cant find discussion related to this

claude ssuggestions

- scm intern >> supply chain analyst >> inventory/demand forecasting planner >> ai/ml engineer

i want to ask if this route is viable and if there is any other route


r/learnmachinelearning • • 2h ago

Campusx LLMOps Notes

1 Upvotes

I am a student and if anyone have the campusx LLmops notes that would be really helpful ready to pay also !!


r/learnmachinelearning • • 2h ago

Free AI learning resources from Microsoft for beginners

1 Upvotes

For anyone looking to start learning AI, Microsoft has a dedicated learning hub covering artificial intelligence, generative AI and practical applications.

It could be a useful starting point before investing in paid courses.

https://learn.microsoft.com/ai/?wt.mc_id=studentamb_693885

Disclosure: The link contains my Microsoft Student Ambassadors registration tracking ID.

What other free AI learning resources would you recommend for beginners?


r/learnmachinelearning • • 3h ago

Alternative Approaches to Symbolic Regularization of Neural Training

Thumbnail
youtube.com
0 Upvotes

r/learnmachinelearning • • 3h ago

Looking for Real-World ANN (Artificial Neural Network) Project Ideas

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 3h ago

JEPA vs LLM: Faster on a CPU, No GPU Needed

1 Upvotes

We benchmarked a small JEPA model (it predicts the meaning of the next sentence, not the next token; written in Rust, CPU only) against Qwen3 4B and Gemma 4 12B running in llama.cpp on the GPU, all on the same 16 GB Mac mini M6. 2,244 tasks in 15 tests, same instructions, temperature 0.

  • Office requests understood: 99.0% vs 92.0% (Gemma) and 59.0% (Qwen3), median 0.22 ms vs 505 ms.
  • Resources: 49.7M parameters, 542.9 MB of RAM, no GPU, vs 3.8 / 7.5 GB of GPU memory for the LLMs.
  • Where it loses: 6 of the 15 tests, badly on maths word problems, translation and free writing.
  • Outside its domain (89 questions): 11 correct, 72 "I don't know", 6 wrong; the LLMs score 78 and 89.
  • Planning: 91.4% valid plans, but only 47.6% identical to the reference, and that part is an exact program, not learned.

Full write-up with all tables and limitations: https://ricuicui.com/en/articles/jepa-model-vs-llm-locally


r/learnmachinelearning • • 20h ago

Question ML portfolio project ideas

20 Upvotes

hey guys, i wanna become a junior ML engineer. any ideas for projects that would help me land a job?


r/learnmachinelearning • • 10h ago

Flow Matching: A Fast Data Generation Technique Through Frequency Analysis #생성형ai #표준 #플로우 #매칭 #FlowMatc...

Thumbnail youtube.com
3 Upvotes
  • Description: Flow Matching operates by converting noise into data, recovering frequencies sequentially from low to high in the frequency domain. This technology has proven effective across various fields including images, videos, and audio, and current research focuses on reducing inference steps and leveraging multimodality.

r/learnmachinelearning • • 5h ago

Non-Tech to AI/ML Roadmap

0 Upvotes

If I were coming from a non-tech background and wanted to transition into AI/ML, here's the learning roadmap I'd follow.

Stage 1: Python + Programming Foundations

Python syntax, variables, data types, loops, functions, object-oriented programming, error handling, Git, and Linux basics.

Build: A Python script that automates a repetitive task from your current profession, such as generating reports or processing spreadsheets.

Stage 2: Data Handling + SQL

NumPy, Pandas, data cleaning, exploratory data analysis, data visualization, SQL queries, joins, and aggregations.

Build: Analyse a real-world dataset from your industry, identify patterns, and visualize key findings.

Stage 3: Mathematics + Statistics for ML

Linear algebra, probability, descriptive statistics, probability distributions, hypothesis testing, basic calculus, and gradient descent.

Build: Implement a simple linear regression model using NumPy and compare its predictions with actual values.

Stage 4: Machine Learning Fundamentals

Supervised and unsupervised learning, regression, classification, clustering, feature engineering, overfitting, cross-validation, and evaluation metrics such as precision, recall, F1-score, and AUC.

Build: A customer churn prediction or appointment no-show prediction model using Scikit-learn. Compare multiple algorithms and evaluate their performance.

Stage 5: Deep Learning Foundations

Neural networks, activation functions, loss functions, backpropagation, CNNs, sequence models, and transformer fundamentals using PyTorch or TensorFlow.

Build: An image or text classification model. Experiment with different model configurations and compare the results.

Stage 6: Generative AI + LLMs

Large language models, prompting, API integrations, embeddings, vector databases, retrieval-augmented generation (RAG), and tool calling.

Build: A document Q&A assistant that retrieves information from industry-specific documents and generates answers with source citations.

Stage 7: Role-Specific Specialization

Choose a primary learning track based on the kind of work you want to do.

  • AI Engineer: LLM applications, RAG, AI agents, API integrations, and application development.
  • ML Engineer: Model training, hyperparameter tuning, data pipelines, model optimization, and MLOps.
  • GenAI Architect: System design, scalability, security, orchestration, and infrastructure. Treat this as a longer-term career goal.
  • AI Research Scientist: Advanced mathematics, research papers, experimental design, and model architectures. This path often requires advanced academic training or substantial research experience.

Build: An end-to-end project aligned with your chosen specialization and existing industry knowledge.

Stage 8: Deployment + MLOps

FastAPI, Docker, cloud fundamentals, CI/CD, model versioning, performance monitoring, data drift, and cost optimization.

Build: Deploy one of your previous projects as a working application or API. Track its performance, response time, and failures.

Stage 9: Portfolio + Interview Preparation

GitHub documentation, Python and SQL interview questions, ML case studies, coding challenges, system design, and project walkthroughs.

Build: A portfolio of 2–3 end-to-end projects with GitHub repositories, working demos, evaluation metrics, and documented technical decisions.

A few things I'd keep in mind:

Coming from a non-tech background doesn't mean you're starting from zero. Your existing industry knowledge can help you identify problems that someone with purely technical experience might overlook.

If you're from finance, explore invoice anomaly detection. If you're from healthcare, explore appointment no-show prediction using public or synthetic data. If you're from manufacturing, explore predictive maintenance.

Don't skip Python, SQL, and ML fundamentals just because Generative AI is trending.

You don't need to master all the mathematics before writing your first ML model. Learn the concepts alongside their practical applications.

Don't chase arbitrary accuracy scores. Understand whether your model actually solves the problem and performs well on unseen data.

Transitioning into AI/ML isn't about abandoning your previous career. It's about combining your existing domain expertise with a new set of technical skills.

For those who've transitioned from a non-tech background into AI/ML, what would you add to this roadmap?


r/learnmachinelearning • • 1d ago

Project I built a neural network from scratch using only NumPy.

Post image
98 Upvotes

I wanted to know what actually happens inside loss.backward().

So I built a neural network with nothing but NumPy. Every gradient derived on paper, every layer written by hand, every derivative checked numerically.

98.05% on MNIST.

Code and derivations: https://github.com/Meckmin/mnist-numpy-from-scratch


r/learnmachinelearning • • 6h ago

Help Possible road from supply chain intern to ai/ml engineer

1 Upvotes

I know basic pyhton, intermediate sql for now, got a scm internship, the question is i want to go from here to ai/ml engineer, i have a cs degree

i'm cant find discussion related to this

claude ssuggestions

- scm intern >> supply chain analyst >> inventory/demand forecasting planner >> ai/ml engineer

i want to ask if this route is viable and if there is any other route


r/learnmachinelearning • • 6h ago

Self-correcting framework for LLM personas

Thumbnail
github.com
1 Upvotes

Hey all Ive been working on a framework called Butterfly, a self-correcting layer for LLM personas I would love some feedback. It runs on Ollama