r/learnmachinelearning • u/Disastrous_Olive6589 • 18d ago
Project MLZoomcamp Midterm
I completed my first end-to-end MLproject. MagicQueue Disney is a crowd predictor with static frontend and FastAPI backend.
#MLZoocamp
r/learnmachinelearning • u/Disastrous_Olive6589 • 18d ago
I completed my first end-to-end MLproject. MagicQueue Disney is a crowd predictor with static frontend and FastAPI backend.
#MLZoocamp
r/learnmachinelearning • u/Dense_Gold3743 • 18d ago
Is deepfake identification blood movement recognition a good project as a final year project?
r/learnmachinelearning • u/Murky_Explanation_73 • 18d ago
Especially over the last two years, we've seen massive growth in freelancers and web agencies selling AI-built websites to businesses and getting paid really well for it.
I don't think this business model will stay this profitable forever, but right now, it's definitely a gold mine.
The reason is pretty simple. There are thousands of business owners who don't really care how their website is built. They care about the end result, how it looks, how it works and whether it helps their business.
AI has made it possible for almost anyone willing to learn sales and client acquisition to get started.
So if you're looking to get into this business, here is the exact process I would follow.
1. Automate your cold outreach
Use a tool like Swokei to find businesses with existing websites. It analyzes each website for issues with design, SEO, speed and mobile optimization, then turns those findings into personalized cold emails at scale.
2. Book meetings with interested prospects
When someone replies with interest, get them on a call. Don't waste time going back and forth over email. Your goal is to get a conversation started.
3. Sketch a redesign using AI
Before the meeting, take around 30 minutes to create a quick redesign of their existing website. Focus on making it look significantly better. You don't need a finished product.
4. Present it live and close the deal
Show them what their website could look like, explain the improvements and give them an offer. If they're happy with what they see, collect payment and get started.
That's it. Four simple steps.
One thing I would really emphasize is not to overcomplicate this process.
I've seen people spend hours perfecting website drafts, tweaking small details and building entire websites before they even have a client.
Don't do that.
Your priority should be client acquisition, sales and closing deals. You can worry about perfecting the website once someone has actually paid you.
r/learnmachinelearning • u/Cuteshawnmie • 19d ago
Hi everyone!
I'm a third-year biomedical engineering undergrad based in China (UTC+8). I work on medical AI: medical imaging, EEG and brain-computer interfaces. I've published my first paper and have a few more on the way, but most of the people I talk research with are much older than me.
I'd love to know more students my own age who are into research, from anywhere in the world. People you can chat with about papers you just read, ideas you're excited about, the conference that just rejected you, which summer programs are worth it, or what grad school is really like in your country.
No commitment, no tasks. Just a friendly international circle of students who take research seriously and want to grow together. If a reading group, a joint project or a Kaggle team comes out of it later, even better.
If you're an undergrad or early master's student in ML, AI, BME, neuroscience, CS or anything nearby, drop a comment:
I'll set up a Discord once a few of us have said hi. Looking forward to meeting you all!ing
r/learnmachinelearning • u/blackbeardth • 18d ago
Hello everyone,
I am a postgraduate student conducting research on sequential recommendation, and I was wondering if someone could help me figure out how to download the following datasets:
I am not based in China, and it seems that I am unable to complete the account verification process required to download these datasets.
Any guidance or help would be greatly appreciated. Thank you!
r/learnmachinelearning • u/Zipidyzip • 19d ago
This is a full quantization desktop workspace for large language models that supports GGUF, MLX, and ONNX. You can pick your own Safetensors model or choose one from Hugging Face, then work through quantization step by step and see how each choice changes the result. By taking the model through the process yourself, you can learn by doing not just quantize, but understand what’s happening along the way. You can compare the result with the original and publish it to Hugging Face with a model card that records how it was made.
It’s open source under Apache 2.0, and there’s plenty of room to make it better. I’ve mostly tested it on Apple Silicon so far. Windows and Linux builds are available, but haven’t had much in-depth testing, so expect some bugs. Contributors are very welcome!
Repo: https://github.com/Fazmin/iQuantize
Thank u.
r/learnmachinelearning • u/Level_Detail7125 • 18d ago
r/learnmachinelearning • u/Visible-Metal-8288 • 19d ago
Hello everyone!
I'm currently pursuing B.Tech in Artificial Intelligence and Machine Learning.
I'm at the beginner stage and trying to figure out how to balance my college academics with learning additional technical skills.
I'm particularly interested in:
Python programming
Machine Learning fundamentals
Artificial Intelligence applications
Building practical projects
For students studying AIML or related fields:
What skills are you focusing on currently?
How do you balance academics with technical learning?
What would you recommend to someone just starting their AIML journey?
I'd love to hear about your experiences and suggestions!
r/learnmachinelearning • u/DontVoteForMe • 19d ago
A while ago my daughters and I discovered a YouTube channel called AI Warehouse where an AI learns to navigate obstacle courses. They loved watching it fall down and learn, so I figured I'd turn that into a game where they can explore actually training an AI of their own...
It turned out to be...more challenging than I anticipated. Translating complex machine learning into something a small child could grasp required a lot of time and thought on my part. Not sure why I thought that would be easy. But after a few weeks of on/off Claude-coding, The Wobblers' Journey to Mount Tiptop was born.
I'm not going to lie - I'm pretty proud of this one.
Originally you would build your own obstacle course. Then, each spring-legged Wobbler (which you can custom decorate!) has a 304 parameter neural network you train to jump over boxes, hop up steps, and climb ramps on their quest to collect as many stars as possible.
It even has a whole workbench where you can manually change the neural network yourself and see how it impacts your wobbler's behavior.
There is custom art and music. And the whole thing runs on an iPad from 2018!
I showed them the game a week ago and it was really rewarding watching them cheer on their character as it bounced and rolled across the screen. But it also seemed to bring home that training even a small AI to accomplish simple tasks is far from magic. It takes time, effort, and sometimes some luck to get right. I think that is valuable in a world where so much seems instant and the hard work gets plastered over.
Feedback was "Oh! The Wobblers are so cute! Can you add swimming and mountain climbing? I want to teach my wobbler to swim and climb mountains."
Tough customers.
So I spent the next week building out the little sandbox into a full game with a story, different areas, and many levels (mountain and swimming now included).
My 6 year old has almost beaten the whole thing.
It's built for an ipad, but I've been running/testing it on my touchscreen windows laptop just fine.
It runs locally. No account or weird data stuff because I miss that about games. I've never shared anything like this before, but check it out if you want: https://wobble-lab-dfo.pages.dev/
r/learnmachinelearning • u/Sl0wJH1 • 18d ago
Hi y’all. Thought Id share the progress on my current local VLA agent project! using agent and language somewhat loosely here ngl.
Video Description:
The leftmost display shows what the models sees, The yellow triangle marker on screen shows which shape is NOT the target shape on that run (counter intuitive, I know). Importantly, the model does not see it, it is only to make it easier to see if the model is performing correctly. The upper right display shows the models visual attention, in which I discuss later. And the bottom right is the per step state matrix cell values. A small 128x128 view of the whole 768x768 matrix.
Preamble:
Recently, I have been extremely fascinated by machine learning and AI, for obvious reasons. Originally, I was intrigued by LLMs, that is, until I learnt how they work (RNN gang stand up), their dis-continuity to me isn’t as elegant as the carried state in RNNs (this is my opinion, in which I don’t really have any objective reasoning for). And what better way to lean than to do?
Architecture:
So I thought why not just make the recurrent state massive? What I have here is an attention based neural network that maintains a 768x768 matrix, with a per cell LSTM like gate. Similarish to a state space model if you will.
The total model parameter count is 25,561,354.
However, 12,976,128 of those parameters are dedicated to a legacy 49k vocabulary output decoder. Originally, this started in language modelling, but it didn’t work very well. It got to a CE loss of around 4.5 on a reasonably diverse data set across an 80 token rollout average, having seen 80 tokens of context first. This was trained for about ~150k steps with a batch count of 8 across 160 total tokens per episode. So about 200m total tokens seen. Perhaps not enough for how diverse the data set was (600m total tokens across wiki articles, science papers, online text forums, etc), but the loss seemed to indicate a long lasting plateau, decreasing only around 0.05 to 0.1 nats across the last 50k steps.
Side note: around 10% of the total training data was from 4chan (don’t hate), and must have all been collected from a very political board, specially around the 2016 us elections. The model was very much not PC lmao. But atleast now I know where NOT to collect “quality” data from…
The shown model is a continuation from the a legacy language checkpoint that was transitioned into VLA orientated tasks. My thinking was that having a basic understanding of language might help if the task involved text. However I did no comparison against a fresh checkpoint at the Vision/action switch over to compare bootstrapping speed, so I guess we’ll never know. And the model no longer retains any text output ability. When queried through the legacy text input, it defaults to repeating a single token or two indefinitely.
The model processes vision through learned, state-directed attention across raw pixel RGB values at a 128x128 resolution, without a separate pretrained vision encoder. Any visual recognition and spatial understanding is learned within the same recurrent architecture that produces the action outputs. I did try doing the pretrained CNN route, however because compute is heavily restricted in my case (I got that 12gb 3060 on me), and I don’t like spending money renting gpus, I count afford to locally train the model at any resonable speed with the added separate vision encoder. The attention based vision used here added very little extra compute, and seems to work well enough. An interesting side effect of this vision encoder is that the relative, per pixel attention values can be easily displayed (the top right display from the video), which proved useful for trouble shooting training. It can accept variable resolution sizes on inference without requiring pretraining. Although, it can usually only accept larger than the trained 128x128, as any smaller looses what little detail there already is.
Training:
The target task took inspiration from the Leaning to Reinforcement Learn (2016) paper. Rather than training the model to memorise fixed object identities, the objective is to develop a “general” ability to recognise and associate unfamiliar visual patterns with arbitrary names during inference, without updating its learned parameters. Importantly, the model received ZERO proprioception, only visual and text inputs.
The model is introduced to 2 randomly generated shapes ranging from a minimum of 3 cubes to a max of 10. There is, however, a minimum separation between the 2 shape cube counts on any 3 room task, set at around 5 The other 2 room and 1 room environments have no such minimum separation value. Each of the shapes are randomly assigned a name from a pool of 5 names (Dax, Mip, Kiv, Fep and Tav). The introduction lasts 3 steps per shape, as it is directly tied to the text introduction, which is always “this is [shape name]”. After introduction, the model then spawns into a simple 3d enviroment, and given the command “Go to [shape name]” with some random variance in how the command is said. Initially, the model needed a the chronological order of the shape introduced before it was able to make the name to shape distinction, for example; “go to the first seen shape, [shape name]”.
The 3D environment in the 2 and 3 room episodes are randomly generated with a doorway/s connecting the rooms at random point. Although the possable range in which they occupy is small, and in 3 room environments, the 2 attaching rooms are always on opposing sides of the spawn room. The wall colour and texture have remained fixed throughout all of VLA training, and the model performs noticeable worse on inference if the wall texture or colour is changes without pretraining.
Even though the training enviroment logic was inspired by the L2RL paper, kinda ironically, this model is not trained through RL. Instead I had to create increasingly convoluted trainers that match the complexity of the current curriculum. The training policy is technically imitation learning, however The trainer uses supervised action targets generated from the environment's observed state. For ambiguous decisions, such as choosing between doorways, some earlier losses are retrospectively adjusted according to the path the model actually took. Each episode, the models state is split in to two different trajectories just after introduction, with each one requesting a different shape, then combining the gradients from both.
I stuck with SL mostly because of compute limitations. Though RL, which I did try at the end, could only get at most one 4 branch run at a max rollout length of ~80 steps before I ran out of VRAM. Vs the batch 4 160 rollout length I was able to get through SL, which proved to be painfully slow, especially when i hadn’t optimised the reward signal/s yet meaning it would be like a 2 or 3 day wait just to find out that the step penalty was slightly too high or something. Supervised Learning is super easy when the task has no ambiguity, like 1 or 2 room scenarios. However, in 3 room episodes, where there a 2 valid doorway pursuits, SL became a nightmare lol. A majority of effort in training this model went to addressing teacher contradictions in the 3 room scenarios. There turns out to be an indefinite amount of edge cases.
Even still, the teacher mechanism for 3 room search produces a lot of counterproductive updates. Memory, which I thought would be the limiting factor with this model, turns out not to be the main bottle neck. The model has shown that it can recognise a seen shape as either correct or incorrect many steps after the introduction, however its locomotion is what usually fails it. Again, I believe to be from the inconstant trainer. Though this may just be me coping, and the model is maxed out idk :/
Overall, this has trained for about 70k steps at the batch 4 count. on vision/action environments. Technically batch 2, because each lifetime splits into the two different target shapes for training. 4 total batches, but only 2 different environments per step.
Training Stats:
Success rate (both split lifetimes succeed across 500 training randomised runs)
One room—- >90%
Two room—- >80%
Three room—- >60%
These results are taken from the recent RL trial, as that recored a rolling success rates, whereas I never did on SL. Very scientific, I know.
Known/Potential issues:
-The gradients received tend to explode on lifetimes lasting longer than ~100 steps. Im hesitant to use truncation, as any shape related decision would require back prop to reach the initial introduction for credit assignment. Although, the model is recurrent, and has shown that to can remember target identifies and visual features for at least a number of steps past interaction, so perhaps that is enough for credit assignment to work through truncation?
-While the model is able to show recognition between two shapes actionably, it is entirely possible that the model remembers only 1 shape, with the other shape being selected out of deduction when requested. I.e target shape is Dax, or target shape is not Dax. I dunno, I haven’t yet looked into this.
-Although the shapes are randomly generated in an 8x8x8 grid, many of the low cube count shapes will have defiantly of been seen plenty of times through training, potentially allowing the model to memorise easy shape patterns within its weights.
-Even though the model has shown decent shape memorisation, its spacial memory is much less developed. In failures, the model often forgets which room it just went into, and will sometimes search the same room twice.
-The dreaded trainer…
This model was built purely for the love of the game, with no incentive outside of that. It also was a great way to learn ML, as I had very little knowledge about this topic coming into this. Even still, my understanding of ML is mostly theoretical, as my coding ability is very subpar. (Thanks ChatGPT and Claude!)
Im sure i forgot to mentions some details. If anyone has any questions just ask.
Anyways, enjoy this quality footage of my model performing EXCITING search behaviours!!!! And please, let me know what yall think of this project. And if you know of a more efficient way of devising a trainer? maybe i could do pure imitation learning on a solved example, but im not sure if that might affect generalisability. Cheers!
r/learnmachinelearning • u/Stealeruv • 18d ago
r/learnmachinelearning • u/wufuheng • 19d ago
I create a Youtube channel https://www.youtube.com/@math4aiorg for the book (https://www.amazon.com/dp/B0GSXVFMLD/ ) Math for AI & ML's Part I.
Part I (Chapters 1–10) covers linear algebra fundamentals: vector spaces, inner products, matrix operations, subspaces, orthogonality, QR decomposition, LU factorization, eigendecomposition, symmetric matrices, and the Singular Value Decomposition (SVD)—establishing the mathematical foundation for representation in AI.
Please let me know if there is any suggestion.
r/learnmachinelearning • u/sergey_vanichkin • 18d ago
r/learnmachinelearning • u/Adept_Law2710 • 18d ago
I really wanna know how you guys select a project. While learning, in initial stages I searched and did projects where I would learn a particular thing . But if you wanna do a project how would you come up with ideas in first place. would you search for real world problem or search for gaps in existing solutions and try to optimize things?
I'd love to understand your thought process when selecting a project, especially when the goal is to build something meaningful rather than just learn a new technology.
r/learnmachinelearning • u/anacapahh • 18d ago
for context, im 18, in my last year of highschool. for college i plan on studying either mecanical or industrial engineering. i see a lot of people nowdays talk about ML on my social media feed, so ive grown interested. is this area of knowledge only useful if you also have a degree to back it up or could it be helpful for me? im not in it just for the potential money, but since college will obviously keep me busy id rather use the rest of my time on useful stuff.
r/learnmachinelearning • u/Unusual-Income-1093 • 19d ago
r/learnmachinelearning • u/Basic-Ranger-4496 • 19d ago
Recently I attended the be10x workshop about 3Hrs
They are saying take inner circle course. Anyone whose has taken the course is it worth or is it scam
r/learnmachinelearning • u/tommyeow_ • 20d ago
I've had a few people tell me tensorflow is not used as much nowadays as pytorch, also, pytorch is more pythonic, and just more industry-relevant than tf, is it really so? The tutorial course im following is using tf more since it is appropriate for beginners (as said in the course). I'd like to know the differences.
r/learnmachinelearning • u/ilikejotaro54 • 19d ago
I've been studying ml for about 3 months, I started not knowing a single line of python or any of the maths behind it and now I made my first projects it's basically just an ai that plays rock paper scissors against you (it took me around 2-4 hours):
import torch
import torch.nn.functional as F
# make rock, paper and scissors (rock = 0 paper = 1 scissors = 2)
moves = torch.tensor([[0, 1, 2],
[1, 2, 2],
[0, 0, 2],
[0, 1, 2],
[1, 2, 1]])
moves = moves.flatten()
# the dataset
X, Y = [], []
for i in range(len(moves) - 3):
X.append(moves[i:i+3])
Y.append(moves[i+3])
X = torch.stack(X)
Y = torch.stack(Y)
X = F.one_hot(X, num_classes=3).float()
X = X.view(12, 9)
# forward pass
g = torch.Generator().manual_seed(214783427)
W = torch.randn((9, 250), generator=g, requires_grad=True)
b = torch.randn((250), generator=g, requires_grad=True)
W2 = torch.randn((250, 3), generator=g, requires_grad=True)
b2 = torch.randn((3), generator=g, requires_grad=True)
parameters = [W, b, W2, b2]
for p in parameters:
p.requires_grad = True # for the backward pass
# training loop
for epoch in range(25000):
# forward pass
h = X@W + b
emb = h.tanh()
logits = emb@W2 + b2
# loss
loss = F.cross_entropy(logits, Y)
# backward pass
for p in parameters:
p.grad = None
loss.backward()
# update
lr = 0.1
for p in parameters:
p.data -= lr * p.grad
print("loss:", loss.item())
class Game:
player_score = 0
ai_score = 0
u/staticmethod
def predict(move):
move = torch.tensor(move)
move = F.one_hot(move, num_classes=3).float()
move = move.view(1, 9)
z = move @ W + b
embz = z.tanh()
logitz = embz @ W2 + b2
with torch.no_grad():
probs = F.softmax(logitz, dim=1)
preds = probs.argmax(dim=1)
moves_names = ["rock", "paper", "scissors"]
prediction = moves_names[preds.item()]
return prediction
u/staticmethod
def player():
move_names = ["rock", "paper", "scissors"]
while True:
guess = input("rock, paper, scissors, shoot!: ").lower()
if guess not in move_names:
print("Invalid input")
continue
else:
return guess
u/staticmethod
def score(player, ai):
if player == ai:
print("DRAW!")
elif (player, ai) in [
("rock", "scissors"),
("paper", "rock"),
("scissors", "paper")
]:
Game.player_score += 1
print("PLAYER WINS!")
else:
Game.ai_score += 1
print("AI WINS!")
u/staticmethod
def play():
import time
history = []
move_to_num = {
"rock": 0,
"paper": 1,
"scissors": 2
}
ai_moves = {
"rock": "paper",
"paper": "scissors",
"scissors": "rock"
}
print("Enter your first 3 moves:")
# Initial training context
for i in range(3):
history.append(Game.player())
print(f"{i+1} move/s completed")
print("\n Game Loading...\n")
time.sleep(1)
while True:
player = Game.player()
history_nums = [move_to_num[m] for m in history[-3:]]
prediction = Game.predict(history_nums)
ai = ai_moves[prediction]
print("AI:", ai)
# Score
Game.score(player, ai)
print(f"Score: {Game.player_score} - {Game.ai_score}")
# Update history
history.append(player)
# Check winner
if Game.player_score >= 3:
print("PLAYER WINS THE GAME!")
break
elif Game.ai_score >= 3:
print("AI WINS THE GAME!")
break
Game.play()r/learnmachinelearning • u/sovit-123 • 19d ago
Bedrock AgentCore Long-Term Memory
https://debuggercafe.com/bedrock-agentcore-long-term-memory/
In the previous series of articles, we covered creating singular AgentCore agents with custom tools and creating agents-as-tools by providing each agent a separate MCP server. The natural progression from this would be adding memory to our agent chat sessions. That would be our aim in this article. Here, we will add long-term memory to our Bedrock AgentCore agents.

r/learnmachinelearning • u/No-Conclusion3720 • 19d ago
Researchers demonstrated that a malicious browser extension with script access to an AI web platform can abuse a task-relay feature to trigger arbitrary code execution on a user's local machine. No CVE, no traditional exploit — a poisoned extension sitting inside the AI workflow chain is sufficient.
The attack surface for AI desktop agents has expanded well past what most security models assumed at design time: browsers, third-party integrations, mobile handoffs. Each new input channel an agent accepts is a potential injection point. The browser extension ecosystem in particular receives minimal vetting relative to the trust level AI agents implicitly extend to it.
The structural problem is that agents execute what they receive, and instruction provenance is rarely verified at the point of execution. A relay poisoned by an extension is functionally identical to a legitimate one from the agent's perspective.
For those running AI agents in enterprise or production environments: how are you thinking about constraining what the agent is actually allowed to do at execution time, regardless of what it was told to do — and does that enforcement happen at the host level, the orchestration layer, or somewhere else?
r/learnmachinelearning • • 19d ago
Hi,
I really need some advice. While working on VLMs with Claude, I believe we have accidentally discovered the secret to a latent-space, arbitrarily long CoT. On our tests on Qwen2.5 3B, it performs tremendously well, so far.
It goes without saying that such a discovery would have major implications, and this is why I'm here. In my situation, what would you do? Publish it? Try to sell it? Something else? Is there any risk that I could be in danger from major companies or something like that?
Thank you for your help.
r/learnmachinelearning • u/nkafr • 19d ago
I recently ran a benchmark comparing tabular and time-series foundation models on German day-ahead electricity price forecasting.
The models I evaluated were:
The foundation models were used without training on the electricity market data. I also made sure the models had access to comparable information during evaluation.
The article covers the experimental setup, how to use tabular foundation models for forecasting without data leakage, the comparison against tuned tree-based models, and the impact of additional training data on the traditional ML baselines.
Full discussion and tutorial about the experiment here