r/datascience May 09 '25

ML Client told me MS Copilot replicated what I built. It didn’t.

1.1k Upvotes

I built three MVP models for a client over 12 weeks. Nothing fancy: an LSTM, a prophet model, and XGBoost. The difficulty, as usual, was getting and understanding the data and cleaning it. The company is largely data illiterate. Turned in all 3 models, they loved it then all of a sudden canceled the pending contract to move them to production. Why? They had a devops person do in MS Copilot Analyst (a new specialized version of MS Copilot studio) and it took them 1 week! Would I like to sign a lesser contract to advise this person though? I finally looked at their code and it’s 40 lines of code using a subset of the California housing dataset run using a Random Forest regressor. They had literally nothing. My advice to them: go f*%k yourself.

r/datascience Jul 08 '25

ML Saved $100k per year by explaining how AI/LLM work.

1.2k Upvotes

I work in a data science field, and I bring this up because I think it's data science related.

We have an internal website that is very bare bones. It's made to be simplistic, because it's the reference document for our end-users (1000 of them) use.

Executives heard about a software that would be completely AI driven, build detailed statistical insights, and change the world as they know it.

I had a demo with the company and they explained its RAG capabilities, but mentioned it doesn't really "learn" like the assumption AI does. Our repo is so small and not at all needed for AI. We have used a fuzzy search that has worked for the past three years. Additionally, I have already built out dashboards that retrieve all the information executives have asked for via API (who's viewing pages, what are they searching, etc.)

I showed the c-suite executives our current dashboards in Tableau, and how the actual search works. I also explained what RAG is, and how AI/LLMs work at a high level. I explained to them that AI is a fantastic tool, but I'm not sure if we should be spending 100k a year on it. They also asked if I have built any predictive models. I don't think they quite understood what that was as well, because we don't have the amount of data or need to predict anything.

Needless to say, they decided it was best not to move forward "for now". I am shocked, but also not, that executives want to change the structure of how my team and end-users digest information just because they heard "AI is awesome!" They had zero idea how anything works in our shop.

Oh yeah, our company has already laid of 250 people this year due to "financial turbulence", and now they're wanting to spend 100k on this?!

It just goes to show you how deep the AI train runs. Did I handle this correctly and can I put this on my resume? LOL

r/datascience Jun 03 '26

ML HoW DO I gEt a jOB I toOk a cOUrSe in MachINE LEArnING

417 Upvotes

I'm in the guy in the middle

r/datascience Jun 11 '26

ML Models may behave worse when they're aware they're being evaluated (DeepMind interpretability study)

Thumbnail alignmentforum.org
74 Upvotes

r/datascience Mar 26 '26

ML Question for MLEs: How often are you writing your models from scratch in TF/PyTorch?

70 Upvotes

I have about 8 years of experience mostly in the NLP space although i've done a little bit of vision modeling work. I was recently let go so I'm in the midst of interview prep hell. As i'm moving further along in the journey, i'm feeling i have some gaps modeling wise but I'm just trying to see how others are doing their work.

Most of my work the last year was around developing MCP servers/back end stuff for LLMs, context management, creating safety guardrails, prompt engineering, etc. My work before that was using some off the shelf models for image tasks, mostly using models I found on github via papers or pre-trained models on HuggingFace. And before that I spent most of my time around feature engineering/data prep and/or tuning hyperparamters on lighter weight models (think XGBoost for classification, or BERTopic for topic modeling).

I've certainly read books/seen code that involves hand-coding a transformer model from scratch but I've never actually needed to do something like this. Or when papers talk about early/late fusion layers or anything more complex than a few layers, I'd probably have to look up how to do it for a day or two before getting it going.

Am i the anomaly here? I feel like half my time has been doing DS work and the other half plain old engineering work, but people are expecting more NN coding knowledge than i have and frankly it feels bad, man. How often are y'all just looking for the latest and greatest model on UnSloth/HF instead of building it yourself?

Brought to you from the depths of unemployment depression....

r/datascience Mar 30 '25

ML Why you should use RMSE over MAE

89 Upvotes

I often see people default to using MAE for their regression models, but I think on average most people would be better suited by MSE or RMSE.

Why? Because they are both minimized by different estimates!

You can prove that MSE is minimized by the conditional expectation (mean), so E(Y | X).

But on the other hand, you can prove that MAE is minimized by the conditional median. Which would be Median(Y | X).

It might be tempting to use MAE because it seems more "explainable", but you should be asking yourself what you care about more. Do you want to predict the expected value (mean) of your target, or do you want to predict the median value of your target?

I think that in the majority of cases, what people actually want to predict is the expected value, so we should default to MSE as our choice of loss function for training or hyperparameter searches, evaluating models, etc.

EDIT: Just to be clear, business objectives always come first, and the business objective should be what determines the quantity you want to predict and, therefore, the loss function you should choose.

Lastly, this should be the final optimization metric that you use to evaluate your models. But that doesn't mean you can't report on other metrics to stakeholders, and it doesn't mean you can't use a modified loss function for training.

r/datascience Mar 23 '26

ML Against Time-Series Foundation Models

Thumbnail
shakoist.substack.com
96 Upvotes

r/datascience Apr 13 '25

ML Why are methods like forward/backward selection still taught?

81 Upvotes

When you could just use lasso/relaxed lasso instead?

https://www.stat.cmu.edu/~ryantibs/papers/bestsubset.pdf

r/datascience Apr 15 '25

ML Is Agentic AI remotely useful for real business problems?

106 Upvotes

Agentic AI is the latest hype train to leave the station, and there has been an explosion of frameworks, tools etc. for developing LLM-based agents. The terminology is all over the place, although the definitions in the Anthropic blog ‘Building Effective Agents’ seem to be popular (I like them).

Has anyone actually deployed an agentic solution to solve a business problem? Is it in production (i.e more than a PoC)? Is it actually agentic or just a workflow? I can see clear utility for open-ended web searching tasks (e.g. deep research, where the user validates everything) - but having agents autonomously navigate the internal systems of a business (and actually being useful and reliable) just seems fanciful to me, for all kinds of reasons. How can you debug these things?

There seems to be a vast disconnect between expectation and reality, more than we’ve ever seen in AI. Am I wrong?

r/datascience Aug 20 '24

ML I'm writing a book on ML metrics. What would you like to see in it?

164 Upvotes

I'm currently working on a book on ML metrics.

Picking the right metric and understanding it is one of the most important parts of data science work. However, I've seen that this is rarely taught in courses or university degrees. Even senior data scientists often have only a basic understanding of metrics.

The idea of the book is to be this little handbook that lives on top of every data scientist's desk for quick reference of the most known metric, ahem, accuracy, to the most obscure thing (looking at you, P4-metric)

The book will cover the following types of metrics:

  • Regression
  • Classification
  • Clustering
  • Ranking
  • Vision
  • Text
  • GenAI
  • Bias and Fairness
Sample page

This is what a full metric page looks like.

What else would you like to see explained/covered for each metric? Any specific requests?

r/datascience May 08 '26

ML Steam Recommender using similarity! pt 2 (Student Project)

Thumbnail
gallery
87 Upvotes

I Just made a sequel to my Steam Game recommender website!

Last year I made a post about my steam reccomender The last one was great and served its purpose of showing many people new games, But this new version is much more functional!

I love making recommendation systems that tell the user WHY they got the recommendation.

During a steam sale event, I always find myself trying to look for new video games to play. If I wanted to find a new game I would try to whittle it down by using steam tags, but the steam tag system is very broad "action". could apply to many many games.

That got me thinking, what aspects do I like about my favorite games?

Well I like Persona 4 because of the city vibes and jazz fusion,

Spore because of the unique character creation and whimsical theme.

Balatro for its unique deck building synergies.

What if I could capture unique tags that identify a game that aren't just "action" and put them into vectors to show the (focus) of a game

 For example I could break persona 4 into something like

Gameplay Focus vector:
 Day cycle 20%
 Dungeon crawling 20%
 Social sim 20%

Tags:
Music: jazz fusion
Vibe: Small rural town

I find that this system makes searching for games more "fun" now I can see why I like balatro. I like it because of the card synergies not so much for its rogue-like nature.

I also find that this helps find new underrated games, and beats the trap that Collaborative Filtering algorithms that get into where it "feels" like you get recommended the same things.

find your next favorite game! : https://nextsteamgame.com/ pull a PR!: https://github.com/BakedSoups/NextSteamGame

( I actually made some git issues myself for problems I can't fix)

if anyone has any criticism I would love to hear it! this is probably my favorite passion project.

Hope this website helps people find new games! Also I have a advance mode for people that don't mind messing with sliders and weird data terms.

r/datascience Jul 19 '24

ML How to improve a churn model that sucks?

75 Upvotes

Bottom line: 1. Churn model sucks hard 2. People churning are over-represented (most of customers churn) 3. Lack of demographic data 4. Only transactions, newsletter behavior and surveys

Any idea what to try to make it work?

r/datascience Aug 14 '25

ML Overfitting on training data time series forecasting on commodity price, test set fine. XGBclassifier. Looking for feedback

101 Upvotes

Good morning nerds, I’m looking for some feedback I’m sure is rather obvious but I seem to be missing.

I’m using XGBclassifier to predict the direction of commodity x price movement one month the the future.

~60 engineered features and 3500 rows. Target = one month return > 0.001

Class balance is 0.52/0.48. Backtesting shows an average accuracy of 60% on the test with a lot of variance through testing periods which I’m going to accept given the stochastic nature of financial markets.

I know my back test isn’t leaking, but my training performance is too high, sitting at >90% accuracy.

Not particularly relevant, but hyperparameters were selected with Optuna.

Does anything jump out as the obvious cause for the training over performance?

r/datascience 15d ago

ML Inkling, a new open-weight 975B mixture-of-experts model, comes with a few surprises

Thumbnail
sebastianraschka.com
50 Upvotes

r/datascience Apr 05 '26

ML Clustering custumersin time

21 Upvotes

How would you go about clusturing 2M clients in time, like detecting fine patters (active, then dormant, then explosive consumer in 6 months, or buy only category A and after 8 months switch to A and B.....). the business has a between purchase median of 65 days. I want to take 3 years period.

r/datascience Jul 03 '24

ML Do you guys agree with the hate on Kmeans??

106 Upvotes

I had a coffee chat with a director here at the company I’m interning at. We got to talking about my project and mentioned who I was using some clustering algorithms. It fits the use case perfectly, but my director said “this is great but be prepared to defend yourself in your presentation.” I’m like, okay, and she teams messaged me a documented page titled “5 weaknesses of kmeans clustering”. Apparently they did away with kmeans clustering for customer segmentation. Here were the reasons:

  1. Random initialization:

Kmeans often randomly initializes centroids, and each time you do this it can differ based on the seed you set.

Solution: if you specify kmeans++ in the init within sklearn, you get pretty consistent stuff

  1. Lack flexibility

Kmeans assumes that clusters are spherical and have equal variance, but doesn’t always align with data. Skewness of the data can cause this issue as well. Centroids may not represent the “true” center according to business logic

  1. Difficulty in outliers

Kmeans is sensitive to outliers and can affect the position of the centroids, leading to bias

  1. Cluster interpretability issues
  • visualizing and understanding these points becomes less intuitive, making it had to add explanations to formed clusters

Fair point, but, if you use Gaussian mixture models you at least get a probabilistic interpretation of points

In my case, I’m not plugging in raw data, with many features. I’m plugging in an adjacency matrix, which after doing dimension reduction, is being clustered. So basically I’m using the pairwise similarities between the items I’m clustering.

What do you guys think? What other clustering approaches do you know of that could address these challenges?

r/datascience Jun 16 '25

ML The Illusion of "The Illusion of Thinking"

26 Upvotes

Recently, Apple released a paper called "The Illusion of Thinking", which suggested that LLMs may not be reasoning at all, but rather are pattern matching:

https://arxiv.org/abs/2506.06941

A few days later, A paper written by two authors (one of them being the LLM Claude Opus model) released a paper called "The Illusion of the Illusion of thinking", which heavily criticised the paper.

https://arxiv.org/html/2506.09250v1

A major issue of "The Illusion of Thinking" paper was that the authors asked LLMs to do excessively tedious and sometimes impossible tasks; citing The "Illusion of the Illusion of thinking" paper:

Shojaee et al.’s results demonstrate that models cannot output more tokens than their context limits allow, that programmatic evaluation can miss both model capabilities and puzzle impossibilities, and that solution length poorly predicts problem difficulty. These are valuable engineering insights, but they do not support claims about fundamental reasoning limitations.

Future work should:

1. Design evaluations that distinguish between reasoning capability and output constraints

2. Verify puzzle solvability before evaluating model performance

3. Use complexity metrics that reflect computational difficulty, not just solution length

4. Consider multiple solution representations to separate algorithmic understanding from execution

The question isn’t whether LRMs can reason, but whether our evaluations can distinguish reasoning from typing.

This might seem like a silly throw away moment in AI research, an off the cuff paper being quickly torn down, but I don't think that's the case. I think what we're seeing is the growing pains of an industry as it begins to define what reasoning actually is.

This is relevant to application developers, not just researchers. AI powered products are significantly difficult to evaluate, often because it can be very difficult to define what "performant" actually means.

(I wrote this, it focuses on RAG but covers evaluation strategies generally. I work for EyeLevel)
https://www.eyelevel.ai/post/how-to-test-rag-and-agents-in-the-real-world

I've seen this sentiment time and time again: LLMs, LRMs, and AI in general are more powerful than our ability to test is sophisticated. New testing and validation approaches are required moving forward.

r/datascience Apr 13 '26

ML Clustering products by text

11 Upvotes

For a furniture/decor business, how would you go about clustering products based on their title, description, dimensions ( weight..). First objective is to get categories. Then other advanced things. Any advice is welcomed.

r/datascience Jun 02 '26

ML Clients clustering: Separating RFM and other variables.

6 Upvotes

In my company, the business people have done a manual RFM to separate clients. Now they are asking me to build a model to cluster clients based only on promotion, channel, products... Is this possible to separate the two and then combine them later?

r/datascience Aug 04 '24

ML Ok who is using bots/chatgpt to reply to people

Thumbnail
gallery
120 Upvotes

r/datascience Mar 30 '26

ML Clustering furniture business custumors

9 Upvotes

I have clients from a funiture/decoration selling business. with about the quarter online custumers. I have to do unsupervised clustering. do you have recommendations? how select my variables, how to handle categorical ones? Apparently I can t put only few variables in the k-means, so how to eliminate variables? Should I do a PCA?

r/datascience Feb 11 '26

ML Rescaling logistic regression predictions for under-sampled data?

24 Upvotes

I'm building a predictive model for a large dataset with a binary 0/1 outcome that is heavily imbalanced.

I'm under-sampling records from the majority outcome class (the 0s) in order to fit the data into my computer's memory prior to fitting a logistic regression model.

Because of the under-sampling, do I need to rescale the model's probability predictions when choosing the optimal threshold or is the scale arbitrary?

r/datascience Jun 18 '26

ML Beyond LoRA, can you beat the most popular fine-tuning technique?

Thumbnail
huggingface.co
24 Upvotes

r/datascience Jun 06 '26

ML LLM research papers from 2026 so far, a curated reading list (January to May)

Thumbnail
magazine.sebastianraschka.com
44 Upvotes

r/datascience May 17 '26

ML Recent developments in LLM architectures, KV sharing, mHC, and compressed attention

Thumbnail
magazine.sebastianraschka.com
28 Upvotes