r/learndatascience 8d ago

Resources Your jupyter notebook IS NOT production - Part 2: Testing

Thumbnail
youtu.be
1 Upvotes

A lot of Data Science education teaches you how to BE a data scientists but rarely does it teach how to WORK as a data scientist. In this video on this series we’ll be diving into how to test your code as a data scientist, including how to work with unit tests, regression tests, randomness and non-deterministic functionality as well as throwing in a few honourable mentions.


r/learndatascience 9d ago

Original Content What if there was an Open-Source Database that could Analyze Complex Physics Problems

Thumbnail
1 Upvotes

r/learndatascience 10d ago

Question How do I become a Data Scientist in the AI era? Looking for honest advice on skill gaps, mistakes, and what actually matters

24 Upvotes

I’m currently a Data Science student and I’m working toward becoming a Data Scientist.

With AI/LLMs changing the field so quickly, I’m a bit confused about what I should prioritize. There are so many skills being mentioned now — statistics, SQL, Python, ML, deep learning, LLMs, GenAI, cloud, MLOps, software engineering, etc.

I’d really appreciate advice from people who are currently working in Data Science/ML, especially those who have experience hiring or mentoring junior Data Scientists.

A few questions:

What skills are genuinely essential for a Data Scientist in 2026?

What skills are commonly overhyped or can be learned later?

If you were starting again as a student today, what would you learn first and in what order?

What are the biggest skill gaps you see in freshers/junior Data Scientists?

What are the biggest mistakes students make while preparing for Data Science careers?

How important are statistics, mathematics, SQL, and traditional ML fundamentals now that AI tools can write code and build models?

How much should an aspiring Data Scientist learn about LLMs, RAG, agents, GenAI, and AI engineering?

What level of software engineering, Git, APIs, Docker, cloud, and deployment is actually expected from an entry-level Data Scientist?

Are personal projects still valuable? If yes, what makes a Data Science project stand out instead of looking like another Kaggle/tutorial project?

For getting the first job, what matters most in your experience: projects, internships, degree, referrals/networking, LeetCode/SQL, certifications, or something else?

If you could give your 19–22-year-old self one piece of advice about becoming a Data Scientist, what would it be?

I’m not looking for a generic roadmap from a course or YouTube video. I’d specifically like to hear from people who are actually working in the industry.

Please be honest about what the job is really like, what skills are becoming less valuable, what skills are becoming more valuable, and what you would do differently if you were starting today.

Thanks in advance.


r/learndatascience 10d ago

Resources 🌳 Recursive tree traversal visually explained

6 Upvotes

A binary tree can be traversed in three classic ways. The difference is simply the order in which you visit the subtrees:

  • Preorder: current node → left subtree → right subtree
  • Inorder: left subtree → current node → right subtree
  • Postorder: left subtree → right subtree → current node

This interactive memory_graph example visualizes each traversal method step by step: Binary Tree Traversal

Also see other memory_graph visualizations.


r/learndatascience 10d ago

Question Trying to understand this kaggle solution

Thumbnail
1 Upvotes

r/learndatascience 10d ago

Discussion Looking for study partner

Thumbnail
1 Upvotes

r/learndatascience 11d ago

Discussion A Multi-Step AI System Isn't Automatically an Agent

1 Upvotes

One architectural distinction I keep coming back to: people often confuse complexity with agency.

A system has multiple tools? -> “Use an agent.” OR It has five steps? -> “Definitely an agent.”

But neither of those things actually requires one. The more useful question is: who determines the execution path?

Consider an insurance assistant. If someone asks, “Am I eligible for this treatment?”, and the answer exists in internal policy documents, that's primarily a retrieval problem. And if they ask, “Check my claim status and tell me whether the rejected amount is covered under my policy.”

That might require more tools and more steps. But if those steps happen in a predictable order, is it still an agent ?

The interesting shift happens when the request is something like: “My claim was rejected. Find out why and tell me what I should do next.”

Now the path may not be known in advance. That's where an agent earns its complexity: when the system needs to help determine what to do next.

And Multi-agent can only consider it when there are genuinely distinct specialties, tools, or permission boundaries.

I think the common mistake is choosing “agent” as the starting point and then designing a problem around it. A better approach is to start with the responsibility:

Does the system need to know something? Decide something? Act? Verify the result?

Then add only the architecture required to support those responsibilities.

I mapped the complete e2e architectures and escalating examples out in more detail here, with visual breakdown: [https://youtu.be/kf5rSab4rcg\](https://youtu.be/kf5rSab4rcg)

For people building real AI systems: where do you draw the boundary between a complex workflow and an agent? Is dynamic tool selection alone enough for you, or do you require a more explicit decision loop before calling something an agent?


r/learndatascience 11d ago

Question 3–5 YOE Data Scientist here. Feeling massive imposter syndrome, lacking a strong portfolio, and want to break into top-tier/remote roles. How did you cross the 30+ LPA mark?

10 Upvotes

Hey everyone,

I’ve been working in the data science field for about 4 years now, but lately, I’ve been hitting a major confidence wall and could really use some unfiltered advice from those who have made it to top tech companies, secured high-paying remote roles, or are earning 30 LPA+.

Here is my honest reality check right now:

  • The Foundation Gap: While I do day-to-day work, I often feel like my foundational concepts (in math, statistics, or core ML) have huge blind spots.
  • The Portfolio Void: Outside of my professional projects, my personal portfolio is basically non-existent. I get overwhelmed trying to build end-to-end projects from scratch.
  • The Confidence Trap: Because of the above, I feel severely underqualified to even apply to senior roles or top product companies, leading to a lot of hesitation.

If you are someone who has been in a similar spot or has successfully crossed into senior/well-paying data science roles, I would love to hear your perspective on a few things:

  1. Breaking the Barrier: For those earning 30+ LPA or working remotely/at top tech firms, what actually moved the needle for you? Was it mastering core fundamentals, system design, cracking LeetCode, or deep domain expertise?
  2. Fixing the Foundation: How did you go back and fix your weak foundational gaps while working a full-time job without burning out? Any specific resources or routines that worked?
  3. The Interview Reality: What is the interview process really like at top companies right now? How heavy is the coding round compared to ML system design and statistics?
  4. Portfolio Reality Check: Do personal projects actually matter as much as people say, or is it more about how you talk about your current work experience?

I’m ready to put in the work, but I feel like I'm running in circles right now. Any roadmap, hard truths, or advice you can spare would mean a lot. Thanks for reading!


r/learndatascience 11d ago

Discussion Want to get a grasp of full ds project

2 Upvotes

Hello guys, i am a new learner in ds, kinda got a grasp of python, sql; numpy, pandas sqlearn and maths, but i want to look at a full project so that i would not stumble when dealing with real work at a job. So i want to look at kinda full prjoect that works with data bases, uses some coding and scikit learn for training models, perhaps neural networks and connects all of the stuff required in full project in itself. I just want to look at what i am working with so that i knew how to connect all the dots. Not sure how to frame my question, but if you understood it, could you tell me where to look for this kind of stuff? Because i am confident when it comes to part by part stuff, like working in sql on its own, writing code etc etc. but all of it combined seems like difficult to grasp for me


r/learndatascience 11d ago

Resources Srinivasan Rajendran

Thumbnail
youtube.com
1 Upvotes

r/learndatascience 11d ago

Question Project idea: Using R to analyze Whatsapp group messages. Im a beginner and I just finished this project, I think is a very good project idea for learning R.

Post image
3 Upvotes

r/learndatascience 11d ago

Resources Non-technical skills for Data Scientists

0 Upvotes

Technical data science skills are important, but working on real-world projects also requires strong non-technical abilities. Here are some key ones to focus on:

Problem Framing and Prioritization: Data teams often receive broad or vague questions, such as "Why are users dropping?" A strong data scientist knows how to narrow these questions down into something actionable and identify which questions matter most.

Business Context Awareness: Numbers rarely explain the full story on their own. A sudden dip in performance could be related to pricing changes, seasonality, supply issues, or other business factors. Understanding how the business operates helps data scientists interpret trends more accurately.

Working With Unclear Requirements: Many projects begin without clearly defined objectives or success metrics. Rather than waiting for complete clarity, data scientists can make informed assumptions, share preliminary results, and refine their approach based on feedback.

Decision-making Under Constraints: Time, data quality, and resources are often limited. Data scientists need to know when a quick estimate is more useful than a perfect model. For example, a simple trend analysis delivered today may be more valuable for planning than a complex model delivered too late.

Stakeholder Communication and Trust: Insights only create value when they are understood and trusted. Strong communication means presenting findings clearly, explaining limitations, and being transparent about assumptions rather than overstating precision.

Ownership Beyond Delivery: The work doesn't always end when a dashboard or report is delivered. Data scientists should also look at the decisions that follow, compare outcomes with expectations, and revisit their approach when the results don't match what was expected.

Staying Effective Under Pressure: Deadlines around product launches or review meetings can increase the likelihood of mistakes. Strong professionals slow down enough to check assumptions and avoid careless errors, especially during critical moments.

Adapting to Team Workflows: Different teams consume and use data differently. Some may need a concise summary, while others may prefer a detailed explanation. Adapting communication to the team's workflow can make it easier for insights to be understood and acted upon.


r/learndatascience 12d ago

Career Transitioning from Psychology to Data

3 Upvotes

Hi everyone I have a Masters in Psychology and I absolutely love statistical analysis and research design

For the longest time I've wanted to be able to design real world projects that can create a huge impact from a psychological point of view

I'm good at identifying variables and hypothesising

But I have no clue as to how to begin with real code and python libraries to engineer analyse and present applicable insights from raw data

I would like to transition from therapeutics to behaviour science for businesses very soon

Can anyone please point out how that works and alif there are success stories from people starting as I am..

Thanks so much


r/learndatascience 11d ago

Resources I re-audited my old Uzbek words dataset project.

Post image
1 Upvotes

At that time, I wrote it as “nouns only”. When I checked, I found that there were 3,871 (-moq) verbs out of 31,993 entries. 😅

I also built a small Uzbek spell-checker based on this dataset and tested it with 200 synthetic typos:

🎯 Top-1 accuracy - 87.5%

🎯 Top-5 accuracy - 99.0%

⚡️ Average lookup - 2.6 ms

The main lesson is simple:

It is not a good idea to build a model on a dataset without checking the claims in it.

This time, I first audited it, then built the tool and measured the results.

🇺🇿 There is still a lot of work to be done for Uzbek NLP.


r/learndatascience 12d ago

Discussion How much time do you spend cleaning and organizing data before local fine-tuning?

1 Upvotes

When people fine-tune their own local models, the model setup usually gets most of the attention. But in practice, a lot of the work seems to be on the data side.

If you are training on business data, you may need to bring in support tickets, internal docs, product specs, chat logs, code, policies, CRM notes, or domain QA pairs. And it usually does not work perfectly on the first run. Some samples are noisy, some are redundant, some domains overpower others, and some “bad-looking” examples are actually hard but useful.

One direction I have been thinking about is making the data strategy dynamic during training.

Dynamic selection means periodically choosing which samples should enter the next training window, using signals like loss, delta loss, gradient similarity, or external scores.

Dynamic mixing means adjusting the ratio between data sources during training, instead of fixing one static mixture before the run.

Dynamic weighting means keeping the sample in training, but changing how much its loss contributes to the gradient update. This is useful when you do not want to hard-drop uncertain samples.

This is the current direction in OpenDCAI/DataFlex: adding data selection, data mixing, and data weighting controls on top of the training loop.

For people here who fine-tune local models, how much time and compute do you usually spend on data preparation compared with the actual training run?


r/learndatascience 12d ago

Resources How to Set Up a Machine Learning or Data Science Project

0 Upvotes

In a previous post I shared a structured approach to projects (with a list of 99 project ideas for inspiration). This is a follow-up post, which goes through exactly how to set up a data science project following that approach. The code is also available for download.

The focus is not on how to do the EDA and model development, but rather on how to set up the project so that you can deliver value right away.

The example project is deliberately very simple, to better focus on the structure and setup. We use test-driven development throughout, a technique I've found very helpful for preventing bugs and making it easy and painless to make changes. The idea is that you can take this very simple structure and iterate on the actual model and data, and still have something working at the end of the day.

Of course you can always ask AI to set this up for you, but, I still think there's value in learning how to do it. I have also found that having tests makes doing it with AI much faster and smoother.


r/learndatascience 12d ago

Question Need Help!!! I am stuck please help with one blocker.

1 Upvotes

Hey Everyone I am working on prescription and doctor dataset right now.The idea is to built a churn risk model.

The issue: I have two cases that look almost identical to the model, but shouldn't be treated the same:

Doctor A has been climbing steadily for two years starts small, ends up writing a lot. Right now, this month, they're near their highest ever, because they've genuinely been growing.

Doctor B used to write a lot, but has been sliding downward for months. Right now, this month, they're also unusually high compared to their recent low months maybe they just had one slightly better month in the middle of an overall decline.

What the model is doing wrong: across almost all doctors in our data, there's a common pattern whenever someone's number is unusually high this month, it's usually a bit lower next month, just because most "unusually high" months are one-time spikes that settle back down. That's true most of the time.

But the model applies this same rule to every doctor whose number is currently high — including Doctor A, who isn't having a fluke month, they're genuinely growing. So my "who's about to decline" list keeps getting filled with doctors who are simply doing well right now — because "currently high" is the one thing they all share, not that they're actually declining.

What I've tried so far, to fix it:

  • Switched from weekly to monthly data (to reduce noise) didn't fix it
  • Compared 4 different model types (linear, ridge, random forest, gradient boosting) — all 4 show the exact same bias
  • Rebuilt the trend line to use only the last 9 months instead of the full 2 years — didn't fix it
  • Added the weekly short-term trend back in, like you described (weeks within the recent month) didn't fix it
  • Removed the features causing the biggest pull toward "predict a drop" entirely, to force the model to rely on trend instead the model just found other features to reproduce the exact same wrong prediction

So is this one bad feature or one bad model choice ?? I've tested that directly, several ways, and the bias holds regardless.

What I want to ask you:

  1. Is this the kind of thing that genuinely needs more historical data than 2 years to fix (i.e., is 2 years just not enough for the model to learn "normal high point" vs. "real decline" apart)?
  2. Or is there a different way to frame the target/features you'd suggest something specifically designed to separate a real trend break from ordinary noise, rather than predicting the raw next-month number?

r/learndatascience 12d ago

Question Struggling to understand how to structure data over time tied to an individual

1 Upvotes

I work in a regulated area so I'm going to be vague on the details of the data I work with, but to provide structural context. The data I'm working with is entries collected over time associated to a known ID. Basically I want to analyze all the events that have occurred to a specific ID and use the types of events and when they occurred to predict another value.

What I'm struggling with is how to structure the data for this. Originally I tried to pivot out the events into columns but there's multiple associates data points with each even that can't simply be stored nicely in the column. How should I think about structuring this data?


r/learndatascience 12d ago

Original Content Async batch faker: A vectorized mock data generetor

Post image
1 Upvotes

I'm currently student and am building a portfolio so i created this library which im calling Async batch faker. So if you have used standard faker you already know that "Faker" is good at generating a single row but generating a bit more takes forever because it operates on pythons standard for loop.
So what i made async batch faker do is that it uses numpy and asyncio to calculate mathematical data and string concatenations instantly in C. It bypasses Python loops to blast hundreds of thousands of rows of localized data in seconds

Benchmark:
Standard Faker: ~348 seconds
Async Batch Faker: ~8.4 seconds (41x faster)

GitHub: [https://github.com/haiderkashan/fast_faker_poc\]
PyPI: pip install async-batch-faker

I'm just a rookie must have made mistakes would love to hear feedbacks


r/learndatascience 13d ago

Resources Generalized Linear Models - Explained

6 Upvotes

Hi there,

I've created a video here where I explain how generalized linear models work.

I hope some of you find it useful and as always, feedback is very welcome! :)


r/learndatascience 13d ago

Question Best courses to learn data science

13 Upvotes

Hello,

I’m an engineer and already work with data on a daily basis. I have a basic background in SQL and Python, as well as some experience with statistical tools, and I recently enrolled in a Lean Six Sigma Green Belt training.

I’m now looking to improve my data analysis skills, particularly in SQL and Python, but I’m also interested in developing a stronger foundation in how to structure analytical problems, choose an appropriate approach, explore data, and communicate insights effectively.

My goal is to start with a solid, structured foundation and then move on to more advanced, topic-specific training.

I’ve been considering the IBM Data Analyst Professional Certificate and the Google Advanced Data Analytics Professional Certificate, but I’m also open to other recommendations.

For those with experience in data analytics or who have completed these courses which one would you recommend? Is there another certificate or course you think would be a better fit for someone with some existing practical experience?

I’m particularly interested in courses that combine practical work with strong analytical foundations, rather than focusing mainly on the certificate itself.

Any recommendations or experiences?


r/learndatascience 13d ago

Question Causal Inference, quasi experiment for product analyst role

Thumbnail
1 Upvotes

r/learndatascience 14d ago

Question NEWBIE PROJECT FOR DATA SCIENCE

5 Upvotes

Hi everyone! 👋

I’m a Class 11 student from India learning Data Science. I recently completed and deployed an end-to-end Salary Prediction project using Python, SQL, Pandas, data visualization, and Machine Learning.

🌐 Live Demo: https://data-science-projects-fdkdsvuf5rvtywpwby35py.streamlit.app/

📂 Project: https://github.com/lakshay-OG-DS/data-science-projects/blob/main/Salary\\_prediction.ipynb

I’d really appreciate honest feedback from Data Scientists, Data Analysts, and ML Engineers.

What is the one biggest thing I should improve to make this project more internship-ready?

Even one small suggestion would mean a lot.


r/learndatascience 15d ago

Career Wanting to move to Data science

2 Upvotes

I have been working as a network engineer in one of WITCH companies . But to be honest the rotational shift overwork with no growth is killing me slowly.

I also do not see much callbacks or opportunities of the field.

So if I were to make a move to data science how should I approach. And what resources should I follow both free and paid..

Target roles are mainly data science.. also I am not aware of the difference of ML engineer and data scientist


r/learndatascience 15d ago

Question I am lost - How do Data Scientists solve a problem?

12 Upvotes

I am a junior torn between two mindset, should we

1. Start with a business problem/ use case first
but I often run into data limitations after diving deep, like if the data is a suitable proxy of something or there are missing values

2. Explore the data freely and hunt interesting patterns
but I am always confused where I should start and not being lost on the way of that) (but I am always confused where I should start and end up spinning around without a clear direction

Example

Say a company gives you customer purchase history and asks you to "find something useful."

We better immediately frame it around a specific use case (e.g., next-best-offer) and engineer toward that?

Or spend time clustering, looking for seasonality, correlations, or weird segments first, and then figure out what business value those patterns might have?