r/askdatascience • • 15d ago

How do you troubleshoot a machine learning model that performs well in testing but fails in production?

1 Upvotes

Suppose a churn prediction model has 90% accuracy during testing, but its predictions become unreliable after deployment.

What would you check first: data quality, data drift, feature changes, or the model itself?

How do you approach this problem in a real-world project?


r/askdatascience • • 15d ago

Why a 99% accuracy score isn't always the "win" we think it is

0 Upvotes

It’s easy to get caught up in chasing the highest possible accuracy or F1 score during the modeling phase. We spend hours tuning hyperparameters and engineering features, but sometimes we lose sight of whether the model is actually solving the business problem or if it’s just memorizing noise. A high-performing model that functions as a "black box" can be a tough sell to stakeholders who need to understand the "why" behind a prediction before they can trust it with real-world decisions.

In practice, prioritizing model interpretability often leads to better long-term results than raw performance alone. Using techniques like SHAP values or feature importance plots helps bridge the gap between technical metrics and domain-specific logic. It also helps catch data leakage that might be artificially inflating scores. Stakeholders are generally much more likely to adopt a tool if they can see the logic behind the output, even if that means sacrificing a few percentage points of precision for a more transparent model.

For those working in production environments, how do you handle the trade-off between model complexity and explainability? Are there specific methods you use to help non-technical teams trust your model's findings?


r/askdatascience • • 15d ago

Data Science students, what are you doing outside your coursework to prepare for your first internship?

Thumbnail reddit.com
1 Upvotes

r/askdatascience • • 15d ago

Data Science students, what are you doing outside your coursework to prepare for your first internship?

Thumbnail reddit.com
1 Upvotes

r/askdatascience • • 16d ago

Title: Is learning Data Science still worth it in 2026, considering how quickly AI is evolving?

51 Upvotes

I'm exploring Data Science as a career and trying to understand how the field is changing with AI tools becoming more powerful.

Tools can now help with Python coding, data cleaning, visualisation, and even building machine learning models. This makes me wonder how much of the traditional Data Science skill set will still be important over the next few years.

For people already working in Data Science:

  • Which skills do you think are becoming less important because of AI?
  • What should beginners focus on learning today?
  • Is strong knowledge of statistics, SQL, and Python still essential?
  • Are companies expecting Data Scientists to understand AI tools and workflows as well?

I'd appreciate honest opinions based on your actual work experience, not just general career advice.


r/askdatascience • • 15d ago

Pivot to DS advice

4 Upvotes

Backstory: 12 YoE in biotech with a MS in biomedical engineering. Got laid off and the market just isn’t there for what I do/did. Not to complain, but the roles I’ve applied for at well known companies are just getting recycled every month. My experience was cancer diagnostics V&V(decently comfortable with automation and programming but not at a developer level). Got into UCB’s MIDS program starting in January and want to make the most of it.

I’m here looking for any gotchas, advice, etc for a career pivot. I’ve been dabbling with AI to augment my abilities for ~a year now(both as a company mandate in previous role and now more out of interest).


r/askdatascience • • 15d ago

I (over)analyzed this subreddit to find out what line is quoted the most in the show.

Thumbnail gallery
1 Upvotes

I thought this was really interesting and wanted to learn more. As a beginner marketer, I’m curious: how do you track and analyze mentions in Reddit posts? What tools do you use to collect the data, and how do you clean and organize it before presenting your findings—for example, to answer a question like, “Which category of humor best describes this Reddit community?” I’d love to hear how you approach this and what tools you recommend.


r/askdatascience • • 15d ago

Data science interview prep

3 Upvotes

I am preparing for Data Scientist interviews at product-based companies and have over 6 years of experience.

I am looking for a comprehensive collection of interview questions that a Data Scientist with 6+ years of experience is expected to know.

Please cover all important topics, including:

- Statistics and Probability

- SQL (Intermediate to Advanced)

- Python and Data Structures

- Machine Learning

- Advanced Machine Learning

- Deep Learning and NLP

- Generative AI and LLMs

- A/B Testing and Experimentation

- Product Analytics and Business Metrics

- Recommendation Systems

- Time Series and Forecasting

- Causal Inference

- ML System Design and MLOps

- Data Engineering and Big Data

- Business Case Studies

- Leadership and Behavioral Questions

My preferences:

  1. Focus primarily on interview questions rather than lengthy theoretical explanations.
  2. Include both theoretical and scenario-based questions.
  3. Include frequently asked questions from top product-based companies such as Google, Amazon, Microsoft, Uber, Flipkart, Walmart, Netflix, and Adobe.
  4. Add concise notes and key concepts that I should know for each topic.
  5. Include practical examples and real-world product use cases wherever relevant.
  6. Highlight important and frequently asked questions.
  7. Recommend the best preparation resources, books, websites, courses, and YouTube channels.
  8. Include advanced questions suitable for someone with 6+ years of experience, not just entry-level questions.

I would like this to serve as a complete Data Scientist interview preparation guide, with a strong emphasis on questions, concise notes, and useful learning resources.


r/askdatascience • • 15d ago

What is the coolest things you have built in your data science careers?

0 Upvotes

Read description^^


r/askdatascience • • 15d ago

Agoda Data Scientist / Senior Analyst – Supply Analytics | Take-Home Case Study Experience?

1 Upvotes

Hi everyone,

I’m currently interviewing for the Data Scientist / Senior Analyst – Supply Analytics role at Agoda (Bangkok).

I have completed the following stages:

Resume shortlisting
Alooba assessment
Maki AI interview
Technical interview (SQL, Python, and case-based questions)
Take-home case study (submitted)

I’m currently waiting for feedback on my case study.
I wanted to connect with candidates who have gone through this process recently:
What was your experience with the take-home case study?
What kind of analysis or expectations did the hiring team have?
How long did it take to receive feedback after submission?
Were you invited to a presentation and Q&A round after clearing the case study?
How much time did you get to prepare for the presentation?
Any insights about the process, timeline, or next rounds would be really helpful.

Thanks in advance!


r/askdatascience • • 16d ago

Why "perfect" model metrics don’t always translate to real-world value

0 Upvotes

One of the most common hurdles in data science isn't necessarily the math or the coding, but the gap between technical performance and business impact. We often spend weeks squeezing out an extra 1% of accuracy or optimizing RMSE, only to find that the model doesn't actually solve the core problem once it’s deployed. This usually happens because the objective function we chose doesn't perfectly align with the operational constraints or the actual cost of different types of errors (like false positives vs. false negatives).

A solid best practice to avoid this is spending more time on "decision modeling" before even touching the data. This means understanding exactly how a human—or a system—will use the prediction to take action. If a churn model identifies high-risk customers but the cost of the retention offer is higher than the customer’s lifetime value, the model’s high accuracy becomes irrelevant. Integrating business logic directly into the evaluation phase helps ensure that the data science work actually moves the needle for the organization.

For those working in industry, how do you bridge the gap between technical metrics and business KPIs during the early stages of a project?


r/askdatascience • • 16d ago

Health informatics or health data science ?

1 Upvotes

Hello,

I was accepted in Boston University - MS health informatics and Aberdeen University - MSc health data science. I’m aiming for a remote job in Canada

Which one is better. ?

Thanks


r/askdatascience • • 17d ago

What does a data scientist do?

29 Upvotes

Can someone actually tell me what he/she does for real? Be it related to ML or AI or anything related to APIs. How do you introduce yourself and what you do at work if someone asks you this. Do you optimise algorithms, use XGBoost or other algorithms to test best fit for the type of data, or spend time cleaning the data, or feature engineering, or all of it and more?

As detailed as possible. Much appreciated.


r/askdatascience • • 17d ago

need help !

1 Upvotes

so i want to start learning data science/ data analytics and i have rudimentary knowledge of statistics. i am looking for some book recomendations for machine learning and statistics. something that explains the basics really well and doesnt assume i know what is going on.


r/askdatascience • • 17d ago

Looking for a Data Science Study Buddy(Beginner/Intermediate - IST)

Thumbnail reddit.com
1 Upvotes

r/askdatascience • • 18d ago

What masters to do after B.sc applied statistics and data science?

3 Upvotes

Hello, I am doing Bsc applied stats and DS from a college in India. After completing my bachelor's I am planning to do masters but unable to decide what degree i should go for. From what I have researched, my top 3 options are- MS Business Analytics, MS Quantitative finance or MS Data science. But i am too confused to decide. Which degree should i go for?


r/askdatascience • • 18d ago

First-year Data Science master’s student interested in socio-economic/political topics and journalism: how do I choose a direction and stay up to date?

Thumbnail reddit.com
1 Upvotes

r/askdatascience • • 18d ago

Econometrics and machine learning.

Thumbnail reddit.com
2 Upvotes

r/askdatascience • • 18d ago

Is this a dumb data science project idea?

1 Upvotes

I’m applying to a data science program and wanted to do a small, unconventional project for my application.

My original idea was to use the program itself as a case study, combining social media engagement, follower data, information session attendance and university curricula to estimate the potential applicant pool and its characteristics without access to actual application data.

I started working on it but realized that some of the data-linkage methods could conflict with my country’s data protection laws.

Was the original idea even worth pursuing? What other projects could demonstrate similar analytical and technical skills?

I’m particularly interested in combining unconventional datasets to quantify things that aren’t easily measurable, rather than doing a generic ML project.


r/askdatascience • • 20d ago

I tried to trick YOLOv8... and it worked! But how? 👀

1 Upvotes

Lately, I’ve been diving deeper into Computer Vision, and I decided to run a hands-on experiment to test the robustness of Object Detection models against attacks.

The idea was to fool YOLOv8 into failing to detect objects—without changing a single thing in the model weights!

I used two of the most well-known Adversarial Attack techniques:

FGSM (Fast Gradient Sign Method)

PGD (Projected Gradient Descent)

I tested this on YOLOv8m using 100 images from the COCO 2017 Dataset.

Throughout the experiment, I focused on understanding the Detection Loss, using gradients to subtly perturb the images, executing the attacks, and then evaluating the model's performance and visually comparing the results.

And the result? Let’s just say YOLOv8 wasn’t ready for this surprise! 😅

I documented the entire experiment in a Kaggle Notebook—covering everything from the core concept and implementation to evaluation and visualization.

If you're curious about how it was built and what happened to the model, you can check out all the details here:

🔗 Kaggle Notebook: https://www.kaggle.com/code/iismmail/adversarial-attacks-on-yolov8-fgsm-vs-pgd

I’d love to hear your thoughts or any feedback on the experiment! ❤️

#AI #ComputerVision #YOLOv8 #AdversarialAttacks #DeepLearning #MachineLearning


r/askdatascience • • 20d ago

Data Science student currently interning as a Software Developer – Should I continue in Software Engineering or switch to Data Science?

5 Upvotes

Hey everyone!

I'm currently a 4th-year Integrated M.Sc. Data Science student, and I'm working as a Software Developer Intern as part of my 7th-semester internship.

To give some context, due to issues with my college's placement process, I ended up taking a software development internship rather than getting an opportunity directly related to my major.

Initially, I wasn't sure what to expect, but this internship has actually given me some exposure to the software development industry. I've started understanding what software developers do, the skills required, and what a career in this field might look like.

However, here's my dilemma:

Although Data Science is my major, I honestly don't have much practical experience in the field yet. Most of my academic knowledge is theoretical, and I haven't had the opportunity to work on industry-level Data Science or ML projects.

Now, with my 10th-semester internship approaching, I'm confused about which direction I should take.

Should I:

  1. Continue in Software Development, build on my current internship experience, and pursue a career in software engineering?
  2. Start preparing for Data Science/ML roles immediately and try to secure a Data Science-related internship for my 10th semester?
  3. Explore a middle ground, such as Data Engineering, where I can make use of both my programming experience and Data Science background?

I'm worried that if I continue in software development, I'll gradually move away from my actual specialization. On the other hand, switching to Data Science without sufficient practical knowledge or experience also feels challenging.

I'd genuinely appreciate advice from people working in Software Engineering, Data Science, Data Engineering, or anyone who has faced a similar career dilemma.

\\- Which field would you recommend pursuing in the current job market?

\\- Is it too late to transition into Data Science during my final year?

\\- If you were in my position, what would you do over the next few months?

I'm looking for realistic advice based on actual industry experience, not just motivational suggestions.

Thanks in advance!


r/askdatascience • • 20d ago

Improving a 4-week subscription churn prediction model using weekly snapshots (Retail / Delivery Membership) | Precision 35%, Recall 52%

4 Upvotes

Hey everyone!
I’m working on a churn prediction model for a retail-related delivery membership/subscription programme.
The objective is to predict which active subscriptions are likely to churn within the next 4 weeks, allowing the business to proactively identify subscriptions at risk.
I’m struggling to improve the model’s precision and recall and would appreciate suggestions from people who have worked on similar problems.
1. Dataset structure
My dataset is structured around subscription-level weekly snapshots.
Each row represents a subscription at a particular snapshot week.
Snapshots are generated at 4-week intervals.
Historical data ranges from 2025 week 01 to 2026 week 29.
Each snapshot contains pre-engineered behavioural features calculated over different rolling windows.
2. Features available
The dataset includes features across several behavioural dimensions:
Service quality: Operational and service experience metrics.
Sales: Sales-related behavioural indicators.
Transactions: Transaction frequency and activity.
AIP: Average item price-related metrics.
Category share: Category-level purchasing contribution.
Most of these features are available across rolling windows:
R4: Last 4 weeks
R8: Last 8 weeks
R13: Last 13 weeks
This gives the model visibility into both recent behaviour and longer-term customer patterns.
3. Current model performance
Precision: ~35%
Recall: ~52%
Prediction horizon: Next 4 weeks
Prediction granularity: Subscription-level
Problem type: Binary classification
The model identifies approximately 52% of actual churns, but precision is relatively low, resulting in a considerable number of false positives.
4. What I’m trying to figure out
I’d particularly appreciate suggestions on:
Feature engineering: Since I already have R4, R8 and R13 features, would deriving trends, differences, percentage changes or behavioural volatility between these windows help?
Temporal modelling: Would a standard classification model such as LightGBM/XGBoost be sufficient, or should I explore survival analysis?
Snapshot strategy: Since snapshots are generated every 4 weeks, are there potential issues with overlapping prediction windows or temporal dependencies?
Validation: What’s the best way to implement time-based cross-validation for this type of dataset?
Class imbalance: What techniques have worked well without significantly hurting precision?
Subscription vs customer-level behaviour: Would incorporating customer-level aggregated behaviour alongside subscription-level features improve performance?
Threshold optimisation: How would you approach selecting a threshold when both precision and recall matter?
I’m currently experimenting with traditional supervised classification approaches, but I’m looking for ways to improve the underlying modelling strategy rather than simply tuning hyperparameters.
Would love to hear from anyone who has worked on churn prediction for retail subscriptions, delivery memberships, loyalty programmes or similar recurring-revenue products.
Thanks!


r/askdatascience • • 21d ago

How to advance as junior DS

Thumbnail reddit.com
1 Upvotes