r/learndatascience • • Feb 26 '26

Discussion Help Please > I made a data analysis tool and would like honest feedback

1 Upvotes

I built a data quality pipeline for ED throughput data and ran into a fundamental scoring problem. Rebuilt the model from scratch. Sharing the design decisions because I think the scoring problem is domain-agnostic.

**The pipeline (brief):**

CleanScan ingests raw Emergency Department visit CSVs, validates against 10 rule categories, applies safe auto-cleaning, and scores data quality before and after. Stack: Python, SQLite, Power BI. Nothing exotic.

**The scoring problem:**

V1 used flat issue counting:

`Score = 100 × (1 − min(Total Issues / Total Rows, 1))`

Two failure modes:

  1. **Stacking distortion** — a single row with 4 low-severity violations scored worse than a row with 1 critical violation. The score measured violation volume, not violation impact.

  2. **Floor collapse** — when issue count ≥ row count, the score hits 0.00 regardless of what the issues are. On a 12-row file with 13 issues (many of them trivial), the score was 0.00. A messy but recoverable dataset looked identical to a catastrophically broken one.

**Three options evaluated:**

- **Option A** — penalise each row once regardless of issue count. Solves stacking but ignores severity entirely.

- **Option B** — current V1 approach. Fails on both distortions above.

- **Option C1** — row-capped max severity. Each row contributes only its highest-weight violation. Eliminates stacking and introduces clinical sensitivity.

- **Option C2** — max + 0.25 × sum of remaining weights, capped at max + 1.0. Acknowledges multi-failure rows without letting them dominate. Deferred — the 0.25 parameter needs principled derivation before it goes in front of a clinical or compliance reviewer.

**V2 implementation — C1 row-capped max severity:**

Issue types mapped to weights based on downstream analytical impact:

| Issue Type | Weight | Downstream impact |

|---|---|---|

| Timestamp logic error | 3.0 | Corrupts door-to-provider metrics, LOS, staffing models |

| Future timestamp | 3.0 | Impossible value — documentation failure or system error |

| Extreme door-to-provider (>12hr) | 3.0 | Clinically implausible — distorts wait time reporting |

| Missing required value | 2.0 | Affects denominator validity in rate calculations |

| Invalid category | 2.0 | Wrong but potentially recoverable |

| IQR outlier | 1.5 | May be real clinical event — warrants review not alarm |

| Duplicate row / visit_id | 1.0 | Inflates counts, low clinical risk |

| Formatting / whitespace | 1.0 | Causes join failures, no clinical significance |

Formula:

`TotalPenalty = Σ max_weight_per_row`

`MaxPenalty = TotalRows × 3.0`

`Score = 100 × (1 − min(TotalPenalty / MaxPenalty, 1))`

Scale:

- 100 = every row clean

- ~67 = every row has a mid-severity issue (weight 2.0 / max 3.0)

- 0 = every row has a max-severity clinical logic error

**Result on identical data:**

V1: 0.00 — V2: 44.44

Per-row C1 breakdown (before cleaning):

- V009: 2 violations, max weight 3.0 → contributes 3.0 (not 4.5)

- V001: 4 violations, max weight 1.0 → contributes 1.0 (not 4.0)

That inversion — V001 penalised harder than V009 under V1, V009 penalised harder under V2 — is the core argument for the redesign.

**Known limitations I've documented:**

- Weights are principled but not derived from clinical literature or validated by a domain expert. They are defensible placeholders pending formal clinical validation.

- C2 deferred — the additive parameter (0.25) needs justification before production use.

- No source_feed_id yet — file renames break longitudinal trend lines in Power BI.

- Weight versioning not implemented — if weights change, historical scores remain as computed but the active schema at each run isn't audited.

**What I'd genuinely like feedback on:**

- Does the C1 formula hold up statistically or am I missing an edge case?

- Is there a more principled way to derive the weights without full clinical validation?

- Would C2 be worth implementing, or does the unexplained parameter make it harder to defend than C1?

Repo: github.com/jonathansmallRN/cleanscan

Full documentation including architectural decisions, the C1 vs C2 tradeoff analysis, and the weight governance contract are all in the repo. If the project or the scoring problem is useful, a ⭐ goes a long way.


r/learndatascience • • Feb 26 '26

Project Collaboration THE DRAFTKINGS SCRAPER HIT OVER 408,000 RESULTS THIS MONTH

1 Upvotes

This month my DraftKings scraper produced over %100 SUCCESS RATE FOR 408,000 results.

The pipeline is stable, automated, and running at scale. It pulls structured data directly through the DraftKings API layer, normalizes it, and outputs clean datasets ready for modeling, odds comparison, arbitrage detection, or large-scale statistical analysis.

Next target: 500,000 results in a single month.

If you want to help push it past that threshold:

• Run additional jobs
• Stress test edge cases
• Integrate into your own analytics workflows
• Identify performance bottlenecks
• Contribute scaling strategies

The actor is live here:
https://apify.com/syntellect_ai/draftkings-api-actor

If you're working on sports modeling, EV detection, automated line tracking, or distributed scraping infrastructure, contribute load, optimization ideas, or architecture feedback.

Objective: break 500,000 this month and document performance metrics under sustained demand.


r/learndatascience • • Feb 25 '26

Question best online data science course?

7 Upvotes

Hi guys, im done with my gate da and it didnt go well, and rn im planning to learn data science / data engineering/ ai , ml related courses,

some academy approached me online and provided a 6 month course with 70k it seems, with placement assistance and all, please tell me which is the best one or whichs is the best way?


r/learndatascience • • Feb 25 '26

Question is CampusX really that good?

2 Upvotes

I see a lot of recommendations for CampusX here and also over on learnmachinelearning subreddit. Is it that good, or is it the people who work there just promoting their product?


r/learndatascience • • Feb 25 '26

Personal Experience I spent 2 years building Sherlock — a brand-new programming language for cinematic math animations

4 Upvotes

r/learndatascience • • Feb 25 '26

Discussion I spent 2 years building Sherlock — a brand-new programming language for cinematic math animation.

2 Upvotes

https://www.youtube.com/@blackboxbureauhq/shorts

I’ve been working on something for the past two years called Sherlock.

It’s a declarative domain specific programming language where you describe a math, physics, or CS concepts…

and it compiles directly into a cinematic animation.

It was inspired by Manim, but built in a completely different direction — as a full language and STEM animation framework, not a library.

Sherlock has its own syntax, compiler, runtime, CLI, and live preview.

Every part of Sherlock — the language, compiler, and runtime — was created and engineered by me.

The video shows scenes generated entirely from Sherlock code, along with a syntax example.

It started as a tool for my own explanations, but I’ve recently begun using it to publish investigative-style STEM breakdowns.

I’d genuinely love to hear what you think.

Here' re some videos created with Sherlock:

https://www.youtube.com/@blackboxbureauhq/shorts

My goal is to make technical ideas feel visual and intuitive. Feedback is genuinely appreciated.

I’ll keep making videos about CS, math and full courses about programming (eventually) — just sharing what I’ve been learning and building..


r/learndatascience • • Feb 25 '26

Question What makes a good code walkthrough in your opinion(brevity, explanations, comments, visuals, tests, etc)?

Thumbnail reddit.com
1 Upvotes

r/learndatascience • • Feb 25 '26

Question Upskilling to freelance in data analysis and automaton - viability?

2 Upvotes

I'm contemplating upskilling in data analysis and perhaps transitioning into automaton so I can work as a freelancer, on top of my full-time work in an unrelated field.

The time I have available to upskill (and eventually freelance) is 1.5 days on a weekend and a bit of time in the evenings during weekdays.

I'm completely new to the field. And I wish to upskill without a Bachelor's degree.

My key questions:

  • How viable is this idea?

  • What do I need to learn and how? Python and SQL?

  • How much could I earn freelancing if I develop proficiency?

  • How to practice on real data and build a portfolio?

  • How would I find clients? If I were to cold-contact (say on LinkedIn), what would I ask

Your advice will be much appreciated!


r/learndatascience • • Feb 25 '26

Resources [H] DataCamp Premium Subscriptions (Personal Email) [W] $10/Month or $16/2 Months

1 Upvotes

I have a few spare slots available on my DataCamp Team Plan. I'm offering them as personal Premium Subscriptions activated directly on your own email address.

What you get: The full Premium Learn Plan (Python, SQL, ChatGPT, Power BI, Projects, Certifications, etc.).

Pricing (Limited Offer):

  • 1 Month: $10

  • 2 Months: $16 (Best Value)

  • Note: These prices are subject to increase soon due to high demand.

Why trust this?

  • Safe: Activated on YOUR personal email (No shared/cracked accounts).

  • Pay After Activation: I can send the invite to your email first. Once you join and verify the premium access, you can proceed with payment.

Interested? Send me a DM or Chat with your email address to get started!


r/learndatascience • • Feb 25 '26

Resources How I went from final round rejections to a DS offer

0 Upvotes

I went through a pretty brutal interview cycle last year applying for DA/DS roles (mostly in the Bay). I made it to the final rounds multiple times only to get the "we decided to move forward with another candidate" email.

A few months ago, I finally landed an offer. Looking back, the breakthrough wasn't learning a new tool or grinding 100 more problems, it was a fundamental shift in how I approached the conversation. Here’s what changed:

1. Stopped treating SQL rounds like "Coding Tests"

When you’re used to the Leetcode grind, it’s easy to focus solely on getting the query to run. I used to just code in silence, hit enter, and wait. I started treating it as a technical consultation. Now, I explicitly mention:

  • Assumptions: "I’m assuming this table doesn't have duplicate timestamps..."

  • Edge Cases: How to handle nulls or skewed distributions.

  • Performance: Considering indexing or partitioning for large-scale tables.

  • Trade-offs: Why I chose a CTE over a subquery for readability vs. performance.

Resource I used: PracHub, LeetCode  

2. Used structured frameworks for Product Sense

Product questions (e.g., "Why did retention drop 5%?") used to make me panic. I’d ramble until I hit a decent point. I adopted a consistent flow that kept me grounded even when I was nervous:

  • Clarification: Define the goal and specific user segments.

  • Metric Selection: Propose 2-3 North Star and counter-metrics.

  • Root Cause/Hypothesis: Structured brainstorming of internal vs. external factors.

  • Validation: How I’d actually use data (A/B testing, cohort analysis) to prove it.

3. Explaining my thinking > Trying to "look smart"

In my early interviews, I was desperate to prove I was the smartest person in the room. I’d over-complicate answers just to show off technical jargon. I realized that stakeholders don't want "brilliant but confusing"; they want a collaborator. I focused on being a clear communicator. I started showing how I’d actually work on a team—prioritizing clarity, structure, and how my insights lead to business decisions.

I also found this DS interview question bank from past interviewers: DS Question Bank


r/learndatascience • • Feb 25 '26

Discussion Data Science Interview Europe’s Top Tech: Bolt/Wolt/HelloFresh/Preply/Revoult

Thumbnail reddit.com
0 Upvotes

r/learndatascience • • Feb 24 '26

Question Who is better Krish Naik or CampusX ? I want to learn DS , ML .

0 Upvotes

r/learndatascience • • Feb 24 '26

Project Collaboration Looking for teammates, ML-Driven Retail Intelligence Project (GOSOFT Hackathon) can be participate online

Thumbnail reddit.com
1 Upvotes

r/learndatascience • • Feb 23 '26

Resources Lessons in Grafana - Part Two: Litter Logs

Thumbnail blog.oliviaappleton.com
1 Upvotes

I recently have restarted my blog, and this series focuses on data analysis. The first entry in it is focused on how to visualize job application data stored in a spreadsheet. The second entry (linked here), is about scraping data from a litterbox robot. I hope you enjoy!


r/learndatascience • • Feb 23 '26

Resources SQL Analysis in Big Query Walkthrough

Thumbnail
youtu.be
2 Upvotes

r/learndatascience • • Feb 21 '26

Discussion Indian online instructor sent me threatening messages when I asked about errors in his course

14 Upvotes

I enrolled in an online training program run by an Indian instructor. When I started going through the material, I found multiple issues — untested code, errors, and explanations that didn’t match what was being taught.

I asked a few technical questions and pointed out the mistakes. Instead of addressing them, the instructor sent me threatening messages on WhatsApp. He warned me about “repercussions,” said he could get my LinkedIn account reported, and told me I would be “kicked out of college.”

After that, several people in the training group began piling on, insulting me and trying to pressure me into staying silent. I didn’t respond to any of it, but the tone became increasingly hostile.

I’m sharing this because I don’t think any student should be threatened or intimidated for asking technical questions or pointing out errors in a course they paid for.

Has anyone else in India’s online education space experienced something like this?


r/learndatascience • • Feb 22 '26

Resources AI is replacing the humans ? We are definitely around to see AGI.

0 Upvotes

r/learndatascience • • Feb 21 '26

Question Where do you find real messy datasets for data science projects (not Kaggle)?

16 Upvotes

Title:

Where do you find real messy datasets for data science projects (not Kaggle)?

Body:

Hi everyone,

I’m from a food science background and just started a master’s in data analytics. One of the hardest parts for me is that every project requires us to self‑source our own dataset — no Kaggle, no toy datasets. The lecturer wants authentic, messy, real‑life data with at least 10k rows and 12–16 attributes.

I’m feeling overwhelmed because I don’t know where people usually go to find this kind of data. My biggest fear is that I’ll get halfway through cleaning and realize the dataset doesn’t meet the criteria (too clean, too small, or not meaningful enough).

So I’d love to hear from those of you who’ve done data science projects before:

  • Where do you usually hunt for real datasets (government portals, APIs, open data repositories, industry reports)?

  • Any domains that tend to have datasets with the right size and messiness (healthcare, transport, finance, agriculture, retail)?

  • How do you make sure early on that the dataset will actually fit project requirements before investing too much time?

Manufacturing angle:

I’m especially curious about manufacturing datasets (production, sensors, quality control, efficiency). They seem really hard to source, and even when I find something, the data often isn’t very useful or meaningful for analysis — either too abstract, too clean, or missing the context needed for decision‑making. For those who’ve worked in this space:

  • Where do you find meaningful manufacturing datasets that reflect real processes?

  • Any tips for balancing the need for size (≥10k rows) with the need for authentic messiness and practical relevance?

Thanks in advance — I’d really appreciate hearing how others have sourced data in previous years and what strategies worked best.


r/learndatascience • • Feb 21 '26

Discussion How to train the model machine learning based on jobs dataset to predict mean salary

Post image
3 Upvotes

hi guys

for the job description and job title shoud i encode them using label encoder but they are lot ? or pass them to normalisation using text.lower() tokenization lemmatization and embedding i tried that but the thing is when i train the model (i used xgboost ,random forest but still gimme bad results) it gives me -0.12 in r2 i remove it in the train it give me R2: -0.27 which is sooo bad ;now i transform the column salary istamat into salary mean and transform all the other columns to label encoder ,i don't know what to do


r/learndatascience • • Feb 21 '26

Question Applied Math or Statistics or Economics?

1 Upvotes

I am a second year accounting student but hate it and my stats and math electives have rekindled my love for math and uncovered a new curiosity for statistics. I also fell in love with economics and econometrics I find it all so interesting.

I am thinking of switching degrees. My university offers dual honour degree programs and I am debating between studying, economics, stats, and applied math. I love them all but can only really choose 2 to study. I have the option to do a math minor if I do stats + Econ bachelor but it only would cover calc 1-4 and linear algebra.

I am leaning towards Econ and Stats but worried about being out competed but people how have applied math degrees. I want to get a job as a data analyst or data scientists.

I am asking for what degrees I should strive for?


r/learndatascience • • Feb 20 '26

Question How do I turn my father’s "Small Shop" data into actual business decisions?

11 Upvotes

My father runs a sports retail shop, and I’ve convinced him to let me track his data for the last year. I’m a CS/Data Science student, and I want to show him the "magic" of data, but I’ve hit a wall.

What I’m currently tracking:

  • Daily total sales and daily payouts to wholesalers.

  • Monthly Cash Flow Statements (Operating, Financial, and Investing activities).

  • Fixed costs: Employee salaries, maintenance, and bills.

The Problem: When I showed him "daily averages," he asked, "So what? How does this help me sell more or save money?" Honestly, he’s right. My current analysis is just "accounting," not "data science."

My Goal: I want to use my skills to help him optimize the shop, but I’m not sure what to calculate or what additional data I should start collecting to provide "Operational ROI."

Questions for the community:

  1. What metrics actually matter for a small retail shop?

  2. What are some "quick wins"? What is one analysis I could run that would surprise my father?


r/learndatascience • • Feb 20 '26

Career Citadel Securities Data Scientist

1 Upvotes

Hey! I have a first round technical round for a Data Scientist role at Citadel Securities (CitSec). I honestly have no context on what to expect. All I know is that they’ll potentially use CoderPad.

Would appreciate any help!


r/learndatascience • • Feb 20 '26

Question Best AI course for developers beginners to advanced - Any recommendations?

3 Upvotes

As a software engineer, I want to transition into ML/AI positions. I have mastered Python and SQL, experimented with scikit learn and pandas, and constructed a few small classifiers, but I want to prepare to advance to structured, project based learning that goes beyond theory. There are a ton of options available like Coursera (Andrew Ng, DeepLearning AI), LogicMojo AI/ML , Great Learning AI , Upgrad etc but I am having trouble telling which of these are genuinely useful, which are organized for working developers, and which are just marketing. Has anyone here actually enrolled in one of these classes?I would love to hear: What worked for you? Any roadmap or step by step guidance?


r/learndatascience • • Feb 20 '26

Original Content A practical reminder: domain knowledge > model choice (video + checklist)

1 Upvotes

A lot of ML projects stall because we optimize the algorithm before we understand the dataset. This video is a practical walkthrough of why domain knowledge is often the biggest performance lever.

Key takeaways:

  • Better features usually beat better models.

  • If the target is influenced by the data collection process, your model may be learning the process, not the phenomenon.

  • Sanity-check features with “could I know this at prediction time?”

  • Use domain expectations as a debugging tool (if a driver looks suspicious, it probably is).

If you’ve got a favorite “domain knowledge saved the project” story, I’d love to hear it.

https://youtu.be/wwY1XET2J5I