- Podcasts
- CyberSecurity Summary
- Data Science from Scratch: First Principles with Python
Data Science from Scratch: First Principles with Python
CyberSecurity Summary
- May 13, 2026
- 20 min
About this episodeEmphasizes a "from scratch" approach, where readers learn the field's foundations by manually building tools and implementing algorithms…
You can listen and download our episodes for free on more than 10 different platforms:
https://linktr.ee/cyber_security_summary
Get the Book now from Amazon:
https://www.amazon.com/Data-Science-Scratch-Principles-Python/dp/1492041130?&linkCode=ll2&tag=cvthunderx-20&linkId=6a80cfa01a1dfc03e0f6ac710a0a670b&language=en_US&ref_=as_li_ss_tl
Discover our free courses in tech and cybersecurity, Start learning today:
https://linktr.ee/cybercode_academy
Transcript
From the publisherThis transcript comes from the podcast’s own feed, shown as the publisher wrote it.
Data Science from Scratch: First Principles with Python
Day, right, and today we are dismantling those traps. We're doing a deep dive into the core concepts of data science, pulling directly from Joel Gruse's Data Science from scratch, and the mission here is straightforward. We are stepping entirely away from those prepackaged software libraries.
So to ground this deep dive for you, the listener, we're placing you in a very specific hypothetical scenario today. You have just been brought in as the founding data scientist at a startup called Data Sciencestor, which is, you know, a social network tailored entirely for data professionals.
Right, But if you construct a bar chart for the board and you set the axis to start at four ninety nine and end at five oh six, you dramatically alter the visual narrative. You really do, because the bar for twenty seventeen sits at a value of one unit above the baseline, but the bar for twenty eighteen rises to six units above the baseline. Yep.
Well, it depends on the chart you're using. If we look at a line chart, we are evaluating the angle of the slope. The cognitive focus is on the trajectory and the rate of change over time. Okay, So zooming in on a line chart to expose localized volatility, say tracking minute by minute stock fluctuations between one hundred, one hundred and five dollars, is completely analytically valid. The slope still remains a true representation of the localized variance.
Like if we map out user test scores with test one on the x axis and test two on the axis, the scaling of those axes defines the perceived standard deviation. If you're plotting, library automatically scales the x axis to cover a twenty point spread, but then it stretches the axis to cover a forty point spread just to fill up the screen.
Okay, I like to use an analogy for this efficiency jump. It's here. The edge list is like an old school rolodex. If you want to know who User one knows, you have to flip through every single card in the entire box to check right, very slow. But the matrix is like a giant wall size pegboard. The rows represent every user and the columns represent those exact same users. If User A is friends with the user B. You stick a PEG in the intersecting cell basically a one. If there's no connection, the cell is empty a zero. So you've taken this slow sequential list and transformed it into a dense structural grid of binary states.
Exactly if you need to know user fives connections, the system doesn't search at all. It just jumps directly to the memory address of row five and retrieves the background, which also aligns perfectly with modern hardware architecture. Yes it does. Traversing a linked list or an edge list often means jumping around to different non contiguous blocks of memory.
The infrastructure of data science really requires rigor at every single layer of the stack. I mean, it demands type safe ingestion to prevent silent pipeline corruption. It demands a physiological understanding of how end users process the geometry of a visualization. It requires structuring memory into matrices to unlock computational scale. And it requires a deep, almost paranoid skepticism of aggregated metrics.
Every single day you are bombarded with viral statistics, algorithmic recommendations, and definitive correlations in the news. Every single one of those metrics was aggregated by someone making an assumption about uniformity. Knowing what you know now about Simpson's paradox, ask yourself, in the infinitely complex overlapping matrices of human behavior, is all else ever truly equal? When you see a definitive trend tomorrow? What confounding variables? What invisible PhDs are lurking just beneath the surface, waiting to flip the narrative?
Wow? It definitely changes how you interpret the next dashboard you look at it, the next headline, your read well, we'll leave it there for today's deep die into the underlying mechanics of data science. Remember to always verify your access, check your distributions for outliers, and we will catch you on the next deep dive.
