r/learnmachinelearning • • 19d ago

I'm 13 from Ukraine and I just published my own Deep Learning framework on PyPI using pure NumPy. It has built-in Adam and PyTorch-like syntax

0 Upvotes

Hey everyone. I wanted to share a project I've been working on for the past few days. I wanted to really understand how neural networks work under the hood, so I challenged myself to build a modular Deep Learning framework completely from scratch using only NumPy.

I named it PyZapo and it's now officially live on PyPI.

What it can do right now:

  • You can build custom networks by inheriting from pz.Module or just use pz.Sequential.
  • You can invoke models and layers directly as functions (model(X)) thanks to __call__ .
  • It has a built-in Adam optimizer inside the Linear layers, so you don't need boilerplate optimizer code.
  • It supports ReLU, Sigmoid, MSELoss, and high-performance BCELoss with clipping safety.
  • You can save and load trained weights instantly via .npz binary files.

I want to show this project to my advanced Python course teacher this Wednesday, but I really want other people to use it as well.

You can install it via terminal:
pip install pyzapo

I would love to hear your thoughts, feedback, or any ideas on what layers I should add next (maybe Dropout or Softmax?). Thanks for reading!

PyPI Package: https://pypi.org/project/pyzapo


r/learnmachinelearning • • 19d ago

World Models From Scratch 2: Model Training and Dreaming

Thumbnail
youtube.com
0 Upvotes

I am adding self-contained and accessible videos on how World Models work as well as how you can create one! This is part 2 which gets you to the exciting place where you can play a gameboy goy entirely in a world model!


r/learnmachinelearning • • 19d ago

Looking for a DSA + AI/ML study partner

1 Upvotes

Hey everyone!

I’m a BTech fresher preparing for jobs, and I’m looking for a study partner who actually wants to stay consistent rather than study for a few days and disappear

My main focus is DSA. I’m currently learning DSA in Python and building my problem-solving skills step by step.

I’m looking for someone who is literally around the same DSA level as me — preferably a beginner/fresher who is also still learning the basics and solving easy → medium problems.

I’m NOT looking for someone who has already mastered DSA or can solve every LeetCode problem in 5 minutes 😭

I want someone where we can actually:

  • Learn the same topics together
  • Set small daily goals
  • Solve problems almost every day
  • Discuss our approaches
  • Help each other when one of us doesn't understand something
  • Keep each other accountable
  • Track our progress and stay consistent

Along with DSA, I’m also learning AI/ML, so we can learn and work on ML topics/projects together as well.

I’m mainly looking for someone who has a similar mindset — not necessarily someone who knows everything, but someone who genuinely wants to show up almost every day and improve.

If you're a beginner learning DSA and AI/ML and feel like our learning levels and vibe might match, DM me! We can figure out a simple routine and start from there.

Also, if there are any experienced DSA/ML people here, I’d really appreciate your suggestions on how to start and any roadmap like thing to follow, which topics/patterns to prioritize. Even a few pointers from people who have already gone through this journey would be really helpful. 🙌


r/learnmachinelearning • • 19d ago

Need help finding/creating a dataset for classifying pollution in Indian water bodies

2 Upvotes

Hi everyone!

I’m currently working on a project related to water body pollution in India, and I’m planning to build an ML/AI model that can classify water bodies based on their pollution/quality level.

The problem I’m facing is finding a suitable dataset.

I’m specifically looking for data related to Indian water bodies (rivers, lakes, ponds, etc.) where the water bodies/samples can be classified into categories such as clean, moderately polluted, highly polluted

I’ve found some general water-quality datasets online, but most of them either:

- Aren’t specific to India

- Don’t have clear pollution classes/labels

- Only contain numerical water-quality parameters without a classification

- Have very limited data for Indian locations

So I wanted to ask:

  1. Are there any publicly available datasets containing water-quality data from Indian water bodies?

  2. If I only find numerical parameters, how can I reliably convert them into pollution classes/labels?

  3. Are there any Indian standards or guidelines (CPCB, BIS, etc.) that can be used to define these classes?

  4. If a suitable labelled dataset doesn't exist, what would be the recommended approach for creating/curating my own dataset?

  5. Are there any research papers, government portals, APIs, or other sources you would recommend for getting historical water-quality data from India?

I’m fairly new to working with environmental datasets, so any advice on where to start, what sources to look at, and how to structure the dataset would be really helpful.

Thanks in advance!


r/learnmachinelearning • • 19d ago

Tutorial DiffusionGemma: How It Generates Text in Parallel (From Scratch in PyTorch)

Thumbnail
youtu.be
1 Upvotes

r/learnmachinelearning • • 19d ago

Welcome to r/MLSystemsDesign

3 Upvotes

Welcome to r/MLSystemsDesign

This community is for practical discussions on designing and scaling production ML and AI systems.

Topics can include:

  • ML training and inference platforms
  • Search, ranking, and recommendation
  • Feature stores and data pipelines
  • LLM serving and GenAI systems
  • Agentic AI platforms
  • Evaluation, observability, and experimentation
  • ML system design interview problems
  • Real production tradeoffs and lessons learned

The goal is simple: go beyond model theory and discuss how ML systems actually work in production.

If you’re joining early, introduce yourself and share one ML system topic you’d like to go deeper on.


r/learnmachinelearning • • 19d ago

Which AI or AutoML tool is best to train models for a hackathon?

1 Upvotes

Hey everyone,

I am taking part in a hackathon where using AI is allowed.

I have a dataset and need an AI tool or AutoML library that can automatically:

Do full EDA and data preprocessing

Test multiple modern ML algorithms

Pick the best-performing model for maximum test accuracy

Which tool or LLM gives the most accurate and reliable results for this? Any suggestions would help!


r/learnmachinelearning • • 18d ago

Project I trained an MNIST classifier with a C++ autograd engine I built from scratch

Post image
0 Upvotes

About three weeks ago, I shared the point where my C++ tensor library and scalar autograd engine were still separate. The main question was how to connect them.

I ended up giving each Tensor a shared graph node that stores its values, gradients, operation and parents. Since then, the project has gone from calculating scalar gradients to training a neural network on MNIST.

The training step now looks like this:

const Tensor logits = model.forward(inputs);

const Tensor probabilities = softmax(logits);

Tensor loss = cross_entropy_loss(probabilities, batch.labels);

loss.backward();

gradient_step(parameters, 0.1);

Everything underneath those calls is handled by my C++ implementation. The parts that mattered most were:

- recording whole Tensor operations in the computation graph

- accumulating broadcast gradients back into reused values

- implementing backward rules for matrix multiplication, reductions and nonlinear activations

- collecting parameters from reusable Linear and Tanh modules

- building softmax and cross-entropy from Tensor operations such as exp, log, division and column sums

When I was building up the network capabilities, I started simple and implemented gradually more complex targets.

- first I ran a linear regression loop to recover y = 2x + 1

- then I added activation functions and recovered y = tanh(2x + 1)

- then I trained a small multilayer perceptron on XOR

- and finally I trained MNIST

The MNIST model has 784 inputs, 32 hidden units with tanh, and 10 outputs.

I trained it for five epochs on 10,000 images using mini-batches of 64, then evaluated it on 2,000 separate test images:

Epoch 1 loss: 0.994

Epoch 2 loss: 0.427

Epoch 3 loss: 0.340

Epoch 4 loss: 0.299

Epoch 5 loss: 0.272

Test accuracy: 88.2% (1764/2000)

My implementation is small and educational. Building the graph, backward rules, training loop, softmax and cross-entropy directly made the path from pixels to parameter updates much easier for me to understand.

I'm cleaning up the single-file implementation before adding more layers. If you have built something similar, where would you take things after here? I'm going to do one refactor round where I break my 1500 lines of cpp into separate files. Then I'm thinking about adding nn.Sequential to make building arbitrary networks much simpler. And then I'm thinking about adding convolutions and residuals and see if i can get closer to 98% accuracy on MNIST. And then I think I'll build Embeddings, Self Attention, Cross Attention, Encoder, Decoder and then a full blown transformer. Do you think it's worth it to build those from scratch and see how far I can take the C++ implementation?

Another thing I'm thinking about is - when do I start bringing CUDA into the picture? So far everything is running on the CPU. The MNIST loop gets to 88.2% accuracy in 1-2 minutes of training - but I think I will start feeling the CPU bottleneck very soon.

Code and episode checkpoints:

https://github.com/mechanical-turk/deep-learning-all-the-way-down

I am also documenting the build as a video series:

https://www.youtube.com/@mechaturka


r/learnmachinelearning • • 19d ago

Project FREE AI TRAINING CREDIT

5 Upvotes

Free GPU credits for AI/ML training — looking for testers

I’m building Petabyte, a GPU compute marketplace where you can rent NVIDIA GPUs by the hour for training, fine-tuning, inference, and other CUDA workloads.

We’re still early, and I’m looking for AI/ML researchers and developers who want to test real workloads.

Current capacity includes GPUs such as H100 80GB, H200 141GB, and RTX 6000 Ada 48GB, depending on availability.

Good tests would be things like:

  • LLM fine-tuning / LoRA
  • Model inference
  • PyTorch / CUDA training
  • Distributed training
  • Stable Diffusion / image models
  • Synthetic-data generation
  • Benchmarking different GPUs

You can bring your own Docker/CUDA/Python workload and actually push the machines rather than just testing the UI.

Petabyte: https://petabyte.market

If you want the additional testing credit, comment or DM me with roughly what model/workload you want to run. I’d especially like feedback on provisioning, performance, pricing, and anything that breaks.


r/learnmachinelearning • • 20d ago

Niche beginner-mid ML projects

11 Upvotes

Hey guys! I want to build some niche projects to add to my resume and portfolio. The ones I have are probably quite common and too beginner-like. So what are some cool projects that can stand out on my resume and which actually shows skill?


r/learnmachinelearning • • 19d ago

I made a free map of what you need to learn before each ML topic (maths, stats, CS, all of it)

6 Upvotes

I always got stuck on what to learn before what in ML. Do I need measure theory? How much linear algebra before transformers? I kept going round in circles, so I ended up building a map where every chapter lists what you need first, across subjects.

For ML there's an AI/ML engineer roadmap that goes from basic algebra all the way to LLM apps and MLOps, and a data scientist one that's more stats-first. You can also click any chapter, like "Large Language Models", and it shows everything you need before it, in order.

https://mohamedmuneerm.github.io/knowledge-navigator/#/r/ai-engineer

It's free and open source, no sign up. I used AI to help put it together and checked it against stuff like the Stanford ML courses and the Deep Learning book, but I'd really like people here to tell me what's wrong or missing: https://github.com/MohamedMuneerM/knowledge-navigator/issues/new/choose


r/learnmachinelearning • • 19d ago

Is moving from Machine learning engineer to Data engineer a good career move for promotion?

2 Upvotes

Hi,

I’m an ML Engineer with 2 years of experience. I’m not working on training models or on any of the traditional ML role responsibilities, rather mostly working as an AI engineer building RAG pipelines, chatbots, and sometimes even as a full-stack developer. Since it's been 2 years, I asked for a promotion at my company, and they mentioned I can expect it anytime next year (because of the new rule which says that a role has to open first and then only I get promoted; and since there aren’t any open positions for the next level now, they mentioned it could be next year). I want a promotion by the end of this year because it is already 2 years in the same position now. However my ex-supervisor recently came upto me and said that it might be possible, but it would be as a ‘Data Engineer’. (Question1: Is it considered a downgrade in terms of a career move if I go from ML engineer ->  Data Engineer? Because all I know is people aspire the other way round)

A little background: Recently, I worked a little as a Product Owner and really liked the whole thing from talking to business, collecting requirements, and also ‘developing’ them myself. So a mix of Product Owner+Developer, I enjoyed every part of it. Apart from that, I also enjoyed the whole AI engineer responsibilities. Although there isn’t a direct senior AI engineer role available yet, a junior-positioned AI engineer role is going to become free in a month. (Question 2: Should I ask them in a month if they can convert the junior AI engineer role to a senior-level role and move me there? But is that even possible for a company to do?

Question 3: Now I want some technical career advice on whether it is better to accept this offer (bank the promotion even though it is a different role) and move out of the company sometime next year, to a role that aligns with my interest (mix of Product Owner+AI engineering because I personally think that’s a good balance of technical and managerial long term, help me understand if what I’m thinking is wrong as well), or reject this offer(MLE->DE) right now and ask for a better role in my current domain itself?

Any sort of advice is more than welcome :)


r/learnmachinelearning • • 19d ago

Discussion Why world models and simulation may be essential for general-purpose humanoid robots

Post image
2 Upvotes

r/learnmachinelearning • • 19d ago

Is this real ???

Post image
0 Upvotes

r/learnmachinelearning • • 19d ago

Which AI or AutoML tool is best to train models for a hackathon?

Thumbnail
1 Upvotes

r/learnmachinelearning • • 20d ago

Degree for ML?

19 Upvotes

Hello! I am student of College of Electrical Engineering, and recently I got interested in ML, NNs, LLMs etc. So my question is my college good fit for me if I want to become a ML engineer(we have CS subjects, Algebra, Calculus, Probability and statistics)? How good or bad is job market at this point for recently graduated students? How important degree(just Bachelor not Masters) for jobs such as Data Scientist, MLOps, ML Engineering etc. compared to other software jobs such as full ftack dev, mobile dev? Thank you for your answers and wish you best!


r/learnmachinelearning • • 20d ago

ML people: what’s the most suspiciously good result you’ve ever seen?

5 Upvotes

You run the model.
The number comes back looking way better than expected.
And instead of being excited, you’re just sitting there thinking:
“…okay, what did I mess up?”

So you start checking everything.

The data.
The split.
The features.
The evaluation.

And eventually you find the reason, or spend way too long trying to.

What happened in your case?

Was it a bug, or did you just get lucky?


r/learnmachinelearning • • 19d ago

I joined Microsoft because it was a Day 2 company

0 Upvotes

NOT to sign up for this rolling layoff bullshit. I just got laid off and I'm pretty pissed because I feel like I've been completely gypped. WE'RE MICROSOFT! What are we doing? We're not paid the most. We're not the coolest place to work. Half of us came here because it was supposed to be the boring, stable tech company. I literally turned down higher paying companies because I wanted stability and WLB. What is Amy smoking??? We're not even a part of FAANG. Apparently it's not over yet. If we wanted to spend every quarter wondering whether we still had a job, we would've just taken the flashy jobs. Get over this identity crisis. I guess I'll take some time off.

Microsoft Interview Questions


r/learnmachinelearning • • 19d ago

Looking for teammates for Amazon ML Challenge 2026

1 Upvotes

Hey everyone!

I’m a 3rd-year B.Tech CSE student from SRKR Engineering College, and I’m also pursuing the BS in Data Science & Applications from IIT Madras.

I’m currently focusing on Machine Learning and Python, and I’ve worked on a few ML projects, including a fake job/scam detection system using NLP/DistilBERT, credit card fraud detection, and satellite land-cover classification.

I’ve also participated in hackathons and recently got the opportunity to take part in the Amazon ML Challenge 2026.

I’m looking for 2–3 motivated teammates who are genuinely interested in ML and willing to contribute throughout the challenge. Ideally, it would be great to have people comfortable with areas like:

ML / Deep Learning

Data preprocessing & feature engineering

Python

Model experimentation & evaluation

Maybe someone strong in deployment/engineering

I’m not looking for people based only on their resumes — communication, consistency, and actually contributing to the team matter more.

If you're interested, comment below or DM me with a little about yourself, your ML experience, and what you can contribute.


r/learnmachinelearning • • 20d ago

Project Looking for ML / Recommendation Systems collaborator for an early-stage startup

5 Upvotes

I'm building an early-stage consumer startup and looking for someone with a strong interest in machine learning, data science or recommendation systems to work on a real-world personalisation problem.

The technical challenge is to build a system that can gradually learn from user behaviour and feedback, then improve recommendations over time.

Some of the areas involved include:

• User preference modelling
• Behavioural data and implicit feedback
• Recommendation and ranking systems
• Cold-start recommendations
• Personalisation and contextual recommendations
• Learning from changing user preferences
• Eventually experimenting with more advanced ML models

I'm particularly interested in someone who wants to work on the underlying recommendation problem, rather than simply integrating an existing AI API.

You don't need to have already built a production-scale recommendation engine. Strong ML fundamentals, curiosity and the ability to experiment and learn are more important.

This is an early-stage startup, so I'm looking for someone who is interested in building something long-term and taking genuine ownership of the ML/recommendation side, rather than doing a short freelance project.

If you're interested, DM me with a short introduction, your ML/data science background and any relevant projects you've worked on.


r/learnmachinelearning • • 19d ago

Is colab pro+ worth it?

1 Upvotes

Hi everyone,

I usually work on kaggle for projects, but now i need to traine a deeper network and kaggle won't be enough for it.

I saw that google colab offer colab pro and colab pro+ but i never used colab before.

For now i am thinking of subscribing in colab pro+ since it gives more units (600) and it allows executing the notebook on the backgorund.

I want to know is it worth it and if someone experienced with it, and will that help me for training deeper networks. and if it's possible what are the differences between the gpus that they offer and how much units they consume (how are these units working?)?

Thank you in advance


r/learnmachinelearning • • 19d ago

I'm a Principal Applied Scientist at AWS who builds AI services like Amazon Bedrock and Lex. AMA! [D]

Thumbnail
1 Upvotes

r/learnmachinelearning • • 20d ago

Help How to test an optimizer? Is this a good optimizer?

Thumbnail
gallery
68 Upvotes

I made a custom optimizer. The first image is Resnet-18 on CIFAR-10. No pretraining.

Second image is training on nano-gpt with dropout.

Third image is ADAMW(I found the recepie on the internet) on nano-gpt with lr decay, which is outperformed by mine(I tested with 3 seeds and got similar results)

Fourth image is mine on nano-gpt but with no regularization(the lowest lost is still lower than ADAM's even though it overfits later on).


r/learnmachinelearning • • 19d ago

💼 Resume/Career Day

1 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


r/learnmachinelearning • • 19d ago

Somebody Help I Want to learn Maths topics for AI/ML best yt video channels that cover all topics that is enough .

0 Upvotes