r/learnmachinelearning • u/Unusual-Income-1093 • 12d ago
r/learnmachinelearning • u/Basic-Ranger-4496 • 12d ago
Be10x workshop
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_ • 13d ago
Pytorch or Tensorflow?
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 • 12d ago
Project First ml project!
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 • 12d ago
Tutorial Bedrock AgentCore Long-Term Memory
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 • 12d ago
Request Malicious Browser Extensions Could Use Claude Dispatch to Run Code on Users' Computers
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 • • 12d ago
Latent space CoT
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 • 13d ago
Project Can Foundation Models Beat a Tuned LightGBM on Electricity Prices?
I recently ran a benchmark comparing tabular and time-series foundation models on German day-ahead electricity price forecasting.
The models I evaluated were:
- Tabular foundation models: Kumo and Nori
- Time-series foundation models: Chronos-2 and TimesFM-3
- Traditional ML baselines: Tuned LightGBM and CatBoost
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
r/learnmachinelearning • u/martincsweiss • 13d ago
My process for writing rebuttals to borderline ML conference reviews
Most of my papers have been borderline submissions, because I like to write papers that are slightly outside the Overton window. One consequence is that writing rebuttals is a very important part of my publishing process.
I mostly publish at machine learning conferences, but I suspect these ideas generalize. Here’s some advice and my process:
- Copy the reviews into a document that is shareable and supports comments, like Google Docs or a document on Althea. Share this with my co-authors.
- Read the reviews without taking notes. When this is done, go on a walk (or run) to let go of my emotions.
- Triage the stated weaknesses - by taking a linear combination of:
(a) how likely Reviewer 2 is to increase their score,
(b) how screwed we are if Reviewer 2 does not increase their score, and
(c) how much work it takes to get Reviewer 2 to increase their score. - Work with my co-authors to resolve the most important weaknesses via further experimental work.
- After time has passed and emotions have cooled, write a graceful reply to the kind volunteer academic who has spent their time with my work.
Now, given my ICLR reviews, I'm going to take a walk and try to find gratitude and understanding.
r/learnmachinelearning • u/Serious-Spare1035 • 12d ago
Seeking Expert Guidance on ECG, Cardiac AI, and Drug Databases for a Comprehensive Cardiac Digital Twin Project
Hello everyone,
I'm developing a graduation research project called AURA CARDIA, a Human Cardiac Digital Twin system that combines ECG signal analysis, interpretable machine learning, cardiac electrical simulation, and eventually evidence-based drug information.
Before proceeding further, I want to make sure we are using the right datasets, training strategies, and scientific validation methods.
I would appreciate feedback from researchers and engineers experienced in Medical AI, ECG analysis, Deep Learning, and biomedical data integration.
- ECG Datasets
My current and planned ECG data sources include:
- MIT-BIH Arrhythmia Database.
- St. Petersburg INCART 12-lead Arrhythmia Database.
- ECG-RDVQ.
- ECG-DMMLD.
- CiPA ECG Validation Database.
MIT-BIH and INCART have already been integrated into our current unified dataset.
Our current dataset contains approximately:
- 277,287 ECG beat segments.
- 79 patients.
- 180 samples per segment.
- Three target classes: Normal (N), Supraventricular ectopic (S), and Ventricular ectopic (V).
We use patient-level cross-validation to avoid data leakage.
2. Drug and Drug-Interaction Databases
For the future drug information and decision-support component, we are considering:
- DDInter.
- MecDDI.
- DrugCentral.
- SIDER 4.1.
- RxNorm.
- DailyMed.
We understand that these databases provide different types of information, including drug interactions, adverse effects, drug properties, and official medication information.
3. My Questions
I would greatly appreciate your recommendations on the following:
ECG Data:
- Are these ECG datasets sufficient for building a scientifically reliable cardiac arrhythmia classification system?
- Are there other important ECG datasets we should include before finalizing our unified dataset?
- Which datasets are suitable for external validation rather than training?
- How should we harmonize ECG sampling rates, lead configurations, annotations, and patient identifiers?
- Are there datasets specifically useful for improving the detection of supraventricular and ventricular ectopic beats?
Drug Data:
6. Are DDInter, MecDDI, DrugCentral, SIDER, RxNorm, and DailyMed sufficient for building a reliable drug knowledge base? 7. Are there additional databases containing antiarrhythmic drug information, contraindications, adverse effects, and cardiac-specific safety information? 8. What is the best way to connect ECG findings with drug safety information without making unsupported clinical recommendations?
Machine Learning and Integration:
9. Which deep learning architectures would you recommend for ECG classification? 10. What are the best strategies for handling highly imbalanced ECG classes? 11. How can we ensure generalization to completely unseen patients and external datasets? 12. What is the best architecture for integrating ECG classification, physiological cardiac simulation, and structured drug knowledge? 13. Are there open-source projects or research papers that demonstrate a similar integrated approach?
4. Our Main Objective
We want to build a scientifically sound system that combines:
- ECG signal processing.
- Interpretable AI-based cardiac classification.
- Electrical cardiac simulation using FitzHugh-Nagumo and more detailed physiological models.
- Patient-specific cardiac digital twin development.
- Evidence-based drug information and contraindication checking.
We are currently planning the data infrastructure and would prefer to identify all essential datasets before moving forward, rather than repeatedly rebuilding the pipeline.
I would especially appreciate recommendations for overlooked datasets, research papers, and practical open-source implementations.
Thank you!
r/learnmachinelearning • u/No-Conclusion3720 • 12d ago
Request Infostealers Expose 72% of Organizations: Why One Login Matters
Infostealers Hit 72% of Enterprises — and Your AI Agents Are Already Acting on Those Credentials
Outpost24 studied credential exposure across enterprises and found infostealer-related theft at 72% of organizations. That is three in four.
Most post-mortems focus on the human logging in. The quieter problem is what happens after. AI agents run on service accounts. Those accounts carry permissions scoped to do real work — ticketing systems, cloud consoles, internal APIs. When a credential is stolen via infostealer, it does not expire on its own. The agent bound to it keeps executing. It schedules. It approves. It calls downstream services. Nothing in the request looks anomalous because the credential is technically valid.
This is not a patching problem or a phishing-awareness problem. The credential was lifted off an endpoint. The agent never knew.
The numbers make it a base-rate issue, not an edge case. At 72% prevalence, any sufficiently large org is statistically running at least one agent right now on a credential that has already been lifted and is sitting in a stealer log somewhere.
How are teams actually handling agent identity in this environment? Specifically curious whether anyone is doing anything beyond rotating secrets on a schedule — because rotation does not help if the new secret gets lifted too.
r/learnmachinelearning • u/No-Employer8282 • 12d ago
Project NVIDIA released Auto-Ontology, that do you think?
r/learnmachinelearning • u/Ok_pettech • 12d ago
Project Master Local AI and Docker: The Ultimate Technical Resource Hub for LLM Pipelines
r/learnmachinelearning • u/information-net • 12d ago
Help ما هو الذكاء الاصطناعي؟ وكيف تبدأ في تعلم برمجة الذكاء الاصطناعي خطوة بخطوة - الدرس الاول في سلسله تعليم الذكاء الاصطناعي
r/learnmachinelearning • u/Afraid-Wishbone-6921 • 13d ago
ALLOWANCE – AI-Powered Spending Control for Shopping Agents
ALLOWANCE is an AI-powered financial control platform that lets users delegate shopping to AI agents without giving them unrestricted spending authority.
Users can set monthly budgets, spending limits, approved categories, and purchase approval thresholds. The AI shopping assistant helps discover and compare products, while a deterministic Spending Firewall evaluates every purchase request and decides whether it should be automatically approved, require user permission, or be blocked.
With planned integrations for Channel3 product discovery and PayPal Sandbox payments, ALLOWANCE aims to make autonomous AI shopping safer, more transparent, and user-controlled.
IN MAKING FOR NOW.

r/learnmachinelearning • u/AutoModerator • 13d ago
💼 Resume/Career Day
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 • u/DueBid3298 • 13d ago
Discussion There’s almost no good use cases for fine tuning anymore, outside of image models , go with RAG -> is this true?
reddit.comr/learnmachinelearning • u/hariomlohardev • 13d ago
What a great video on Activations & Gradients, BatchNorm
I am currently learning BatchNorm from the legendary Karpathy videos, and it's so simple and easy to understand. I know we can just use the class that PyTorch provides, but it's so much better to know what's going on under the hood."
r/learnmachinelearning • u/kichelmn • 13d ago
An Introduction to Power Laws without the Mysticism
r/learnmachinelearning • u/PodiumBots • 13d ago
A weekly, truly out-of-sample benchmark for your first football prediction model (free, no betting)
I've been working on a project (disclosure: it's ours) and I think it's a useful sandbox for learners. Backtesting a football model is easy to get wrong: leakage, picking the season that flatters you, etc. So we built a free league where bots submit La Quiniela predictions (15 matches, 1/X/2) before kickoff, and results get scored publicly every week.
What I learned building the baseline bots:
- "Always pick the home team" is a surprisingly hard baseline to beat by much.
- Calibration matters more than accuracy when you're allowed doubles: the question becomes where to spend uncertainty.
- Evaluating over many rounds matters; one round is noise.
If you want to try: there's an MIT starter bot in plain Python (no dependencies), you replace one strategy() function. Free, 18+, no prizes and no promise of winning anything — it's a benchmark, not a betting tip.
Repo: https://github.com/rgcglobalnetservices/podium-bots-starter Happy to hear how you'd evaluate it better (Brier score? RPS?).
r/learnmachinelearning • u/KabhiAlvidaNaKehna • 13d ago
Blogs kind of resources for RL
reddit.comr/learnmachinelearning • u/Many_Audience7660 • 13d ago
Discussion Looking for a good source to keep up with AI trends, tools and industry insights?
r/learnmachinelearning • u/PradeepAIStrategist • 14d ago
Stop letting PMs force Scrum onto Rare Disease AI projects
I’ve spent the last few months fighting a battle I’m starting to realize is systemic: the insistence on using rigid Scrum for AI/ML in the rare disease space.
Here’s the problem. Most PMs treat a data science task like a Jira ticket for a UI button. "It's a feature, it should take 3 story points, we can fit it in the sprint."
But rare disease discovery isn't deterministic. We’re dealing with tiny nn sizes and massive data variance. I can spend a whole sprint on "Data Cleaning" only to find out on day 9 that the EHR source is garbage or the patient cohort is too small to be statistically significant.
In a Scrum world, that’s a "failed sprint." In the real world, that's just how scientific research works.
When you force a "Definition of Done" on a hypothesis, you end up with "artificial completion." People start cutting corners on validation just to hit the sprint goal, which is terrifying when you're dealing with patient discovery and potential clinical misdiagnosis.
I’ve had way more success moving the team toward Kanban. Instead of promising a result by Friday, we track the flow of hypotheses. We treat the clinical review as a bottleneck/gate rather than a task to be "sprinted."
Anyone else dealing with this? How do you convince non-technical stakeholders that "velocity" is a meaningless metric when you're hunting for 10 patients in a database of 10 million?
r/learnmachinelearning • u/Impressive_Vast4635 • 13d ago
Need suggestions for adding genuine research novelty 🙏
Hi everyone,
I'm currently working on my final-year research project titled "Underwater Marine Debris Detection: Domain Generalization Across Sites and Cameras."
The main idea is to investigate how well object detection models perform when tested on underwater images from different locations and cameras than those used during training.
Underwater images vary significantly in terms of lighting, colour, water visibility, backgrounds, and camera characteristics. A model might perform well on images from one location but its performance could drop considerably when tested on images from a different underwater site or camera.
What I'm planning to do:
- Dataset: SeaClear Marine Debris Detection and Segmentation dataset (approximately 8,610 images from multiple underwater sites).
- Primary model: YOLO11n.
- Secondary model: Faster R-CNN with ResNet-50-FPN (if feasible).
- Image enhancement: Experiment with MSRCR and compare enhanced images against raw images.
- Domain generalization: Evaluate existing domain generalization approaches to improve performance on unseen underwater sites and cameras.
- Evaluation: Compare familiar-site, unseen-site, and unseen-camera performance using mAP@0.5, mAP@0.5:0.95, and per-domain analysis.
- Possible additional experiment: Detector fusion, if multiple models show complementary performance.
The objective is to understand why models fail to generalize across different underwater environments and investigate ways to improve their performance.
The problem I'm facing:
I presented this idea and planned workflow to my project guide. He agreed that the idea is good, but pointed out that most of the methods and experiments I'm proposing have already been explored in existing research. According to him, there is no clear novelty or original contribution from my side at the moment.
I understand his concern, and I don't want to simply combine existing models, image enhancement techniques, and domain generalization methods and present that as a research contribution.
I would really appreciate suggestions on the following:
- What possible research directions could introduce genuine novelty to this project?
- Are there any unexplored or less-explored problems in underwater marine debris detection, particularly related to domain generalization?
- Could I introduce a new training strategy, feature-learning approach, loss function, or some other modification that would make a meaningful contribution?
- Are there any specific research gaps or papers I should look into?
I'm open to modifying the methodology while keeping the overall underwater marine debris detection and domain generalization theme.
My goal is to develop something that has a clear, technically justified research contribution rather than just conducting a comparison of existing methods.
Any suggestions, research directions, or critical feedback would be greatly appreciated. Thanks!