<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Bolatito Abiola-Akinlabi on Medium]]></title>
        <description><![CDATA[Stories by Bolatito Abiola-Akinlabi on Medium]]></description>
        <link>https://medium.com/@bolatito-abiola-akinlabi?source=rss-ec6dd2279175------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_dZAdy4EhTsxegTDbuTGDg.jpeg</url>
            <title>Stories by Bolatito Abiola-Akinlabi on Medium</title>
            <link>https://medium.com/@bolatito-abiola-akinlabi?source=rss-ec6dd2279175------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 10:04:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bolatito-abiola-akinlabi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[You Don’t Need a Degree to Break Into AI — But You Need This]]></title>
            <link>https://bolatito-abiola-akinlabi.medium.com/you-dont-need-a-degree-to-break-into-ai-but-you-need-this-dc89c9fd9c09?source=rss-ec6dd2279175------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc89c9fd9c09</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[career-advice]]></category>
            <dc:creator><![CDATA[Bolatito Abiola-Akinlabi]]></dc:creator>
            <pubDate>Fri, 19 Jun 2026 17:46:33 GMT</pubDate>
            <atom:updated>2026-06-19T17:46:33.421Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T2XlMzrYfs8zmiTBePNX0w.png" /><figcaption>Image sourced by Author</figcaption></figure><p><em>The credential myth is keeping capable people on the sidelines. Here’s what actually opens the door.</em></p><p>Someone messaged me last month, certain that her story was over before it began.</p><p>She had studied Accounting. No Computer Science background. No Statistics degree. She had spent two weeks scrolling through AI job listings, watching the requirements pile up — “Master’s preferred,” “strong mathematical background,” “PhD a plus” — and concluded, reasonably, that the door was simply not open to her.</p><p>I want to be honest about something most career advice dances around: the credential myth is real, it is everywhere, and it is keeping genuinely capable people on the sidelines of a field that needs them.</p><p>But it is also, in most cases, wrong.</p><h3>Why the Myth Persists</h3><p>Job postings are written by people trying to filter a flood of applicants, not by people trying to accurately describe what the role actually requires day to day. “Master’s preferred” often means “we’d be impressed by a Master’s” — not “a Master’s is the only acceptable proof of capability.”</p><p>Universities also have a vested interest in the myth. Their entire value proposition depends on convincing people that formal credentials are the primary gateway into technical fields. This is not a conspiracy — it is simply incentive alignment that nobody questions enough.</p><p>And then there’s the visibility problem. The loudest stories in AI and data science tend to come from people with PhDs from prestigious institutions, because their credentials make for compelling LinkedIn bios. The self-taught analyst who transitioned from a logistics background into a solid data role rarely makes the front page. Her story is just as real. It is simply less marketed.</p><p>The result is a field where the loudest signal — the credential — drowns out the quieter, more reliable signal: demonstrated capability.</p><h3>What Actually Gets You Hired</h3><p>I have sat in hiring conversations. I have reviewed portfolios. I have watched people with no formal data science education get hired over candidates with Master’s degrees, and I have watched the reverse happen too. The pattern that emerges from watching this repeatedly is not about credentials at all.</p><p><strong>Hiring managers are looking for evidence that you can solve their actual problem.</strong></p><p>That’s it. Not evidence that you completed a curriculum. Evidence that, given a messy dataset and an ambiguous business question, you can produce something useful.</p><p>A degree is one way to gesture at that evidence — but it is an indirect one. A finished project that solves a real problem, explained clearly, with your reasoning visible, is a direct one. And in a field where so much of the work is genuinely demonstrable — code that runs, models that predict, dashboards that communicate — direct evidence consistently beats indirect signalling.</p><p>This is why a strong portfolio outperforms a weak degree, and why a weak portfolio cannot be rescued by a strong degree either. The portfolio is not a supplement to your credentials. For most roles below the research level, it is the primary credential.</p><h3>So What Do You Actually Need?</h3><p>If not a degree, then what? Here is the honest answer — the one thing that consistently separates the people who break in from the people who stay stuck waiting for permission.</p><p><strong>You need evidence of capability that someone else can verify without having to trust your word for it.</strong></p><p>This breaks down into three concrete things:</p><h3>1. A Portfolio That Solves Real Problems</h3><p>Not a tutorial you followed. Not a Kaggle competition copied from a public notebook with your name swapped in. A problem you chose because it mattered to you, worked through with your own reasoning visible, documented in a way that shows how you think — not just what code you wrote.</p><p>Three deep, well-documented projects beat fifteen shallow ones every time. Depth signals capability. Breadth without depth signals that you collect tutorials rather than solve problems.</p><h3>2. The Ability to Explain Your Thinking</h3><p>This is the part formal education does train well, and the part self-taught learners sometimes neglect. Can you explain why you chose a particular approach? Can you describe the tradeoff you made and why? Can you talk through what you would do differently next time?</p><p>A hiring manager reading your project write-up is not just checking whether your model worked. They are checking whether you understand why it worked — because that understanding is what lets you solve the next problem that looks nothing like this one.</p><h3>3. A Visible Trail of Consistent Work</h3><p>This is the quietest, most underrated piece of evidence. Not one impressive project that took six months and exhausted you. A visible, consistent trail — commits on GitHub, articles documenting your learning, projects building on each other over time.</p><p>This trail does something a single credential cannot. It shows trajectory. It shows that you are still building, still learning, still showing up. Hiring managers are not just evaluating where you are. They are making a bet on where you are going. A consistent trail is the strongest evidence of trajectory that exists.</p><h3>What This Means If You’re Starting Today</h3><p>If you are standing exactly where that woman who messaged me was standing — looking at job requirements that feel designed to exclude you — here is what I would tell you to do instead of waiting for permission.</p><p><strong>Stop trying to qualify for the job description. Start trying to demonstrate the underlying capability.</strong></p><p>Pick a problem in a domain you understand — your previous industry, a personal interest, something in your community. Build something real around it. Document your thinking as you go, not just your final result. Publish it somewhere visible. Do it again with a different problem. Let the trail accumulate.</p><p>This will not happen in two weeks. It will not happen by reading one more roadmap or enrolling in one more course. It happens through the unglamorous accumulation of real, visible, explainable work — over months, not days.</p><p>That accumulation is something no admissions committee gatekeeps. No tuition fee is required. No prerequisite GPA stands in the way.</p><h3>The Honest Caveat</h3><p>I want to be fair about where the credential myth has some truth in it. If your goal is AI research at the frontier — publishing novel methods, working at a research lab pushing the boundaries of what models can do — a PhD genuinely matters there. That is a different door, with different requirements, and I will not pretend otherwise.</p><p>But that is a small fraction of the roles in this field. The vast majority of data science, machine learning, and AI roles — the ones building products, solving business problems, supporting decisions inside real organisations — do not require that door. They require the portfolio, the explainable thinking, and the visible trail.</p><p>Most people chasing the credential were never trying to walk through the research door in the first place. They just didn’t know there was another one.</p><h3>What I Tell Every Student Who Feels Locked Out</h3><p>You are not locked out. You are standing in front of the wrong door, believing it is the only one.</p><p>Build the evidence. Make it visible. Let it accumulate. That door has no admissions committee — only the discipline to keep building when nobody is watching yet.</p><p><em>I am Bolatito Sarumi — a Data Scientist, educator, and founder of NUDIT, a data science learning community built on one belief: complex ideas can always be explained simply. I write on Medium about data science, learning, and the realities of building a tech career in Nigeria.</em></p><p><em>Previously published:</em></p><p><a href="https://medium.com/@bolatito-abiola-akinlabi/what-nobody-tells-you-about-starting-a-data-science-career-in-nigeria-c8efa190b070"><em>What Nobody Tells You About Starting a Data Science Career in Nigeria</em></a></p><p><a href="https://medium.com/@bolatito-abiola-akinlabi/the-data-science-ecosystem-explained-simply-roles-tools-and-where-you-fit-in-cc273495dc2a"><em>The Data Science Ecosystem Explained Simply</em></a></p><p><a href="https://medium.com/@bolatito-abiola-akinlabi/the-biggest-lie-in-the-data-science-learning-curve-d96819907afa"><em>The Biggest Lie in the Data Science Learning Curve</em></a></p><p><a href="https://medium.com/@bolatito-abiola-akinlabi/your-data-is-already-telling-you-something-heres-why-you-re-not-hearing-it-f9c9038f44eb"><em>Your Data Is Already Telling You Something</em></a></p><p><em>Next up: Setting Up Your Data Science Environment in 2026 — Without the Overwhelm.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc89c9fd9c09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Data Is Already Telling You Something — Here’s Why You’re Not Hearing It]]></title>
            <link>https://bolatito-abiola-akinlabi.medium.com/your-data-is-already-telling-you-something-heres-why-you-re-not-hearing-it-f9c9038f44eb?source=rss-ec6dd2279175------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9c9038f44eb</guid>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[data-analytics-tools]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Bolatito Abiola-Akinlabi]]></dc:creator>
            <pubDate>Tue, 16 Jun 2026 14:29:51 GMT</pubDate>
            <atom:updated>2026-06-16T14:29:51.868Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pJanbWnpTpFRoK6O-p-CLg.png" /><figcaption>sourced by the Author</figcaption></figure><p><em>The gap between data and insight is smaller than you think — and it has nothing to do with more advanced statistics</em></p><p>A spreadsheet full of numbers is not an insight.</p><p>It is just numbers — patient, indifferent, waiting. They do not announce themselves. They do not organise their own meaning. They sit there, row after row, until someone asks them the right question.</p><p>Most people think the gap between raw data and real insight is a technical one. That you need more advanced statistics, a more powerful model, a more sophisticated tool. So they go learn the advanced statistics. They build the more powerful model. And the insight still doesn’t arrive.</p><p>That’s because the gap was never primarily technical. It is a gap of attention — of asking, of noticing, of sitting with the data long enough to let it speak.</p><p>Here is what actually closes that gap.</p><h3>Data Doesn’t Reveal Itself. It Responds.</h3><p>Think about the last time you asked someone a vague question and got a vague answer. <em>“How’s work going?”</em> gets you <em>“fine, busy.”</em> But <em>“what’s been the hardest part of this week?”</em> gets you something real.</p><p>Data behaves the same way.</p><p>A dataset asked a vague question gives back a vague summary. Averages. Totals. Surface-level counts. A dataset asked a specific, well-formed question gives back something that actually moves a decision.</p><p>This is the first thing that separates people who extract insight from people who only extract numbers. It is not their statistical knowledge. It is the quality of the questions they bring to the table before they open the file.</p><p><strong>Vague question:</strong> <em>“What does our sales data show?”</em> <strong>Sharp question:</strong> <em>“Which customer segment’s purchase frequency dropped the most in the last quarter, and did that coincide with any pricing or service change?”</em></p><p>The second question forces a path through the data. It tells you exactly where to look, what to compare, and what would actually count as an answer. The first question leaves you scrolling aimlessly through a dashboard, hoping something jumps out.</p><p>Insight does not jump out. It gets pulled out — by someone asking something specific enough to pull it.</p><h3>The Skill Nobody Names: Sitting With the Data</h3><p>There is a step between loading a dataset and building a model that almost every beginner skips, and almost every experienced practitioner protects fiercely.</p><p>It is the step of simply looking. Scrolling through rows. Checking distributions. Cross-tabulating two columns just to see what happens. Plotting something messy and ugly, not because it will go in a report, but because you are trying to understand the shape of what you’re working with.</p><p>This step has no glamorous name. It often gets compressed into a single bullet point in tutorials — <em>“perform exploratory data analysis”</em> — as if it were a five-minute formality before the real work begins.</p><p>It is the real work.</p><p>I have watched data scientists spend three days in this stage on a dataset other people would have rushed through in twenty minutes. Not because they were slow. Because they understood that every premature conclusion drawn from data they hadn’t really looked at would cost far more time downstream than the looking itself.</p><p>The instinct to rush past this stage usually comes from anxiety — a feeling that exploration isn’t “real progress,” that the clock is ticking, that you should be modelling by now. That anxiety is the enemy of insight. Sitting with the data, uncomfortable as it feels when you want to move faster, is where almost all real insight actually originates.</p><h3>Context Is Not Optional — It’s the Other Half of the Data</h3><p>Here is something rarely said directly: a number without context is not data. It’s a fragment.</p><p>“Attendance dropped to 60% in week 6” is a fragment. It tells you nothing on its own. Is 60% bad? Compared to what? Did something happen in week 6 — an assessment, a holiday, a change in instructor? Did this happen across all cohorts, or just one? Was week 6 unusual, or is this part of a steady decline that started in week 2?</p><p>The number needs its surroundings to mean anything. Insight lives in the relationship between a number and everything around it — the trend it’s part of, the comparison it implies, the event it might be connected to.</p><p>This is why domain knowledge consistently outperforms pure statistical sophistication when it comes to generating real insight. A person who deeply understands the bootcamp environment will notice that the attendance drop in week 6 coincides with the hardest assessment of the program — a connection a purely statistical approach, looking at numbers in isolation, would never surface on its own.</p><p>You do not need to be a domain expert in everything you analyse. But you do need to ask the domain expert’s question: <em>what else was happening around this number?</em> Before you trust any pattern, chase its context.</p><h3>The Difference Between Description and Insight</h3><p>Most data work stalls at description and calls itself insight.</p><p>“Sales increased 12% this quarter” is description. It tells you what happened. It does not tell you why, what it means, or what to do next.</p><p>“Sales increased 12% this quarter, driven entirely by a single product line that doubled its growth from last year — while every other product line was flat” is closer to insight. It tells you where the real story is, narrows your attention, and suggests an obvious next question: what made that product line different?</p><p>The shift from description to insight usually happens through one specific move: <strong>decomposition.</strong> Taking an aggregate number and breaking it into its parts until you find where the real movement is hiding.</p><p>Most averages and totals are hiding something. A flat overall trend can be hiding two opposing trends that cancel each other out. A modest average can be hiding one outlier dragging everyone else’s number down. Insight often lives not in the headline number, but in the part of the breakdown that doesn’t match the rest.</p><h3>A Simple Practice That Changes Everything</h3><p>Here is something concrete you can start doing with the very next dataset you open.</p><p>Before you write a single line of analysis code, write down three things:</p><p><strong>1. What question am I actually trying to answer?</strong> Not the topic. The specific question, phrased precisely enough that you would know an answer when you saw it.</p><p><strong>2. What would surprise me?</strong> Write your expectation before you look. If the data confirms it, that’s useful confirmation. If it contradicts it, that contradiction is often where the real insight lives.</p><p><strong>3. What’s the story behind this data?</strong> Who generated it, under what conditions, with what limitations? A dataset is never neutral. It always carries the fingerprints of how it was collected.</p><p>This three-step pause takes less than five minutes. It will change more about your output than any new tool or technique you could learn this month.</p><h3>The Real Lesson</h3><p>Your data is not hiding its insights from you out of malice. It simply cannot reveal what was never asked of it.</p><p>The technical skills — the Python, the SQL, the statistical models — are the instruments. But the instrument does not decide what question to play. That decision belongs to the person sitting in front of the dataset, choosing to ask something sharp enough, sitting with the data long enough, and chasing the context hard enough to hear what was there all along.</p><p>The data was never silent. Most of us just hadn’t learned how to listen yet.</p><p><em>I am Bolatito Sarumi — a Data Scientist, educator, and founder of NUDIT, a data science learning community built on one belief: complex ideas can always be explained simply. I write on Medium about data science, learning, and the realities of building a tech career in Nigeria.</em></p><p><em>Previously published:</em></p><p><a href="https://medium.com/@bolatito-abiola-akinlabi/what-nobody-tells-you-about-starting-a-data-science-career-in-nigeria-c8efa190b070"><em>What Nobody Tells You About Starting a Data Science Career in Nigeria</em></a></p><p><a href="https://medium.com/@bolatito-abiola-akinlabi/the-data-science-ecosystem-explained-simply-roles-tools-and-where-you-fit-in-cc273495dc2a"><em>The Data Science Ecosystem Explained Simply</em></a></p><p><a href="https://medium.com/@bolatito-abiola-akinlabi/the-biggest-lie-in-the-data-science-learning-curve-d96819907afa"><em>The Biggest Lie in the Data Science Learning Curve</em></a></p><p><em>Next up: You Don’t Need a Degree to Break Into AI — But You Need This.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9c9038f44eb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Biggest Lie in the Data Science Learning Curve]]></title>
            <link>https://bolatito-abiola-akinlabi.medium.com/the-biggest-lie-in-the-data-science-learning-curve-d96819907afa?source=rss-ec6dd2279175------2</link>
            <guid isPermaLink="false">https://medium.com/p/d96819907afa</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[career-advice]]></category>
            <dc:creator><![CDATA[Bolatito Abiola-Akinlabi]]></dc:creator>
            <pubDate>Thu, 11 Jun 2026 16:10:16 GMT</pubDate>
            <atom:updated>2026-06-11T16:10:16.310Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5i2NoovuD6h_GgEHXE4M7g.png" /><figcaption>Image by Author</figcaption></figure><p><em>It’s not about the tools. It’s not about the timeline. It’s something far more subtle — and far more damaging.</em></p><p>I want to talk about a lie.</p><p>Not a malicious one. Not something invented to deceive you deliberately. But a lie that has quietly shaped how millions of people approach learning data science — and quietly convinced many of them to quit before they should have.</p><p>The lie sounds like encouragement. It is dressed up as motivation. It gets repeated so often, by so many people, that it has started to feel like truth.</p><p>It goes like this:</p><p><strong>“Once you understand the fundamentals, everything else will fall into place.”</strong></p><h3>Why It Sounds True</h3><p>On the surface, this is reasonable advice. Fundamentals matter. Statistics, probability, linear algebra, Python basics — these are real foundations and they are genuinely important.</p><p>The lie is not in the premise. It is in the word <em>once</em>.</p><p><em>Once</em> implies a threshold. A moment you cross. A point at which the fundamentals are done and the rest of the journey becomes easier, clearer, more navigable.</p><p>That moment does not exist.</p><p>I have watched this promise do quiet damage to more learners than almost anything else in tech education. People spend months building what they believe is a solid foundation — and then encounter their first messy real-world dataset and feel like they understand nothing. They assumed they had crossed the threshold. They assumed the hard part was behind them.</p><p>It wasn’t. It was just beginning.</p><p>And because nobody warned them, they interpreted that difficulty not as a normal part of the process — but as evidence that they had failed to build the foundation they thought they had.</p><h3>What the Learning Curve Actually Looks Like</h3><p>The honest version is this: data science is a field where the fundamentals never stop expanding.</p><p>The statistics you need to understand logistic regression are not the same statistics you need to understand Bayesian inference. The Python you need to explore a dataset is not the Python you need to build a production pipeline. The SQL you need to pull a report is not the SQL you need to optimise a query running across millions of rows.</p><p>Every new problem introduces a new edge of what you do not yet know.</p><p>This is not a bug in the learning process. It is the design of a deep technical field. The fundamentals do not end. They deepen. They branch. They connect to things you had not seen before and force you to revisit things you thought you understood.</p><p>The learners who thrive in this field are not the ones who found the moment where it all clicked and stayed clicked. They are the ones who made peace with the permanent expansion — who stopped waiting for the point where the hard part ends and started building the habit of moving forward anyway.</p><h3>The Second Layer of the Lie</h3><p>There is something underneath the first lie that rarely gets named.</p><p>When people say <em>“once you understand the fundamentals, everything else will fall into place”</em> — they are also, implicitly, telling you that the path is linear. That there is a correct order. That doing things out of that order is wrong.</p><p>This implicit message does enormous damage.</p><p>I have watched students refuse to attempt a machine learning project because they felt they had not yet finished their statistics revision. I have watched analysts avoid Python because they believed they needed to complete an entire programming course before writing a single line of real code. I have watched people spend eight months on foundational courses and produce nothing — because they were waiting to feel ready.</p><p>Readiness in data science is not a feeling you arrive at through preparation alone. It is something you build by doing the work before you feel ready.</p><p>The most effective learners I have ever worked with were not the most prepared. They were the most willing to attempt things they could not yet fully explain — and to learn from the gap between what they tried and what actually worked.</p><h3>What to Believe Instead</h3><p>Here is the version of the truth I tell my students — the one I wish someone had told me early:</p><p><strong>The fundamentals and the application are not sequential. They are simultaneous.</strong></p><p>You do not finish learning Python and then start analysing data. You analyse data in order to learn Python. You do not complete your statistics revision and then attempt machine learning. You attempt machine learning problems and return to statistics when they expose a gap.</p><p>The project is not the reward for finishing the fundamentals. The project IS the fundamentals. The doing teaches you what the studying alone never could.</p><p>This is not an excuse to skip foundational knowledge. It is a reframing of what foundational knowledge actually is. It is not a body of content you consume before you begin. It is a set of concepts you encounter repeatedly, in different contexts, at different depths, as you build real things.</p><p>Every time you return to a concept you thought you understood — and understand it more deeply because you have now seen it in action — that is the fundamentals working exactly as they should.</p><h3>The Practical Implication</h3><p>If you are at the beginning of this journey, here is what this means for you today:</p><p>Do not wait until you feel ready to start your first project. Start now, with whatever you know, and let the project tell you what to learn next.</p><p>If you are building a dataset analysis and you do not know how to handle missing values — that is your next lesson. Not the next chapter of a course you are working through linearly. The specific gap the real work exposed.</p><p>This is called <strong>need-driven learning</strong> — and it is consistently the fastest path through a technical field. Not because it skips the hard parts, but because it ensures that everything you learn is immediately connected to something real. And things that are connected to something real are the things that actually stay.</p><h3>A Word for Those Who Are Already Mid-Journey</h3><p>If you are reading this and you have been learning for a while — and you still feel like the fundamentals are not solid enough — I want to say something directly:</p><p>That feeling is not always accurate information.</p><p>Sometimes it is. Sometimes there are genuine gaps worth addressing. But often, that feeling of insufficient foundation is not a diagnostic signal. It is a psychological one. It is the voice that tells you that you are not ready yet, that you need a little more preparation, that you should wait until you understand it better — because starting feels riskier than continuing to study.</p><p>That voice is not your teacher. It is your resistance.</p><p>The fundamentals will never feel complete. That is not a problem to solve before you begin. It is a reality to accept as you continue.</p><h3>What the Best Data Scientists Actually Have in Common</h3><p>I have spent years inside this field — learning, teaching, building, and watching others build. And the pattern I keep seeing at the top is not what the lie would predict.</p><p>The best practitioners are not the ones who waited until they had the most complete foundation. They are the ones who built the most — who produced the most work, made the most mistakes, returned to the fundamentals the most times, and kept the cycle going long after most people had either arrived at complacency or been defeated by the lie.</p><p>They did not find the point where everything fell into place.</p><p>They built the habit of moving forward anyway — and that habit, compounded over years, is what mastery actually looks like.</p><p>The fundamentals matter. Deeply.</p><p>But they are not a destination. They are a practice.</p><p>And the practice never ends — which is not a warning. It is an invitation.</p><p><em>I am Bolatito Sarumi — a Data Scientist, educator, and founder of NUDIT, a data science learning community built on one belief: complex ideas can always be explained simply. I write on Medium about data science, learning, and the realities of building a tech career in Nigeria.</em></p><p><em>Previously published:</em></p><p><a href="https://medium.com/@bolatito-abiola-akinlabi/what-nobody-tells-you-about-starting-a-data-science-career-in-nigeria-c8efa190b070"><em>What Nobody Tells You About Starting a Data Science Career in Nigeria</em></a></p><p><a href="https://medium.com/@bolatito-abiola-akinlabi/the-data-science-ecosystem-explained-simply-roles-tools-and-where-you-fit-in-cc273495dc2a"><em>The Data Science Ecosystem Explained Simply</em></a></p><p><em>Next up: Your Data Is Already Telling You Something — Here’s Why You’re Not Hearing It.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d96819907afa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Data Science Ecosystem Explained Simply — Roles, Tools, and Where You Fit In]]></title>
            <link>https://bolatito-abiola-akinlabi.medium.com/the-data-science-ecosystem-explained-simply-roles-tools-and-where-you-fit-in-cc273495dc2a?source=rss-ec6dd2279175------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc273495dc2a</guid>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[career-advice]]></category>
            <dc:creator><![CDATA[Bolatito Abiola-Akinlabi]]></dc:creator>
            <pubDate>Thu, 30 Apr 2026 05:01:01 GMT</pubDate>
            <atom:updated>2026-04-30T05:01:01.300Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FV7ZCs9mj2ex2JI0PsAsFg.png" /><figcaption>Source: Image sourced by the author</figcaption></figure><p><em>A clear map for anyone who keeps hearing the same terms and still isn’t sure how they connect</em></p><p>You’ve decided to get into data.</p><p>Maybe someone told you data science is the career of the decade. Maybe you stumbled across a job description that mentioned Python and SQL and thought — I could learn that. Maybe you’ve been watching the field from a distance for months, trying to figure out where exactly you would fit inside it.</p><p>And then you opened a browser and found a jungle.</p><p>Data Scientist. Data Analyst. Data Engineer. Machine Learning Engineer. Business Intelligence Analyst. Analytics Engineer. AI Researcher. The titles multiply. The tools multiply. Every course you find teaches something slightly different. Every roadmap points in a different direction.</p><p>If you have ever felt genuinely confused about how this all fits together — this article is your map.</p><p>Not an exhaustive guide. Not a roadmap. A map. Something you can look at, orient yourself, and say: <em>that is where I am, and that is where I want to go.</em></p><h3>The Simplest Way to Understand the Ecosystem</h3><p>Before the roles and the tools, there is one question that unlocks everything:</p><p><strong>What happens to data between the moment it is created and the moment it drives a decision?</strong></p><p>Answer that question and the entire ecosystem organises itself naturally.</p><p>Here is the journey:</p><p><strong>Data is generated</strong> → someone needs to <strong>store and move it</strong> → someone needs to <strong>clean and explore it</strong> → someone needs to <strong>analyse and visualise it</strong> → someone needs to <strong>build models on it</strong> → someone needs to <strong>deploy and maintain those models</strong> → a decision gets made.</p><p>Every role in the data ecosystem lives somewhere on that journey. Every tool serves one or more steps in that chain. Nothing is random. Everything connects.</p><h3>The Four Core Roles — and What They Actually Do</h3><h3>The Data Engineer</h3><p><strong>Where they live:</strong> The beginning of the chain — storage and movement.</p><p>The data engineer builds the infrastructure that makes everything else possible. They design pipelines that collect data from multiple sources, move it to where it needs to go, and store it in a form that analysts and scientists can actually use.</p><p>They are the ones who make sure that when a data analyst opens their laptop on Monday morning, the data is there, it is fresh, and it is in the right format.</p><p><strong>Think of them as:</strong> The plumbers of the data world. You rarely notice them when things are working. You notice immediately when something breaks.</p><p><strong>Tools they commonly use:</strong> SQL, Python, Apache Spark, Airflow, cloud platforms like AWS or Google Cloud, data warehouses like BigQuery or Snowflake.</p><h3>The Data Analyst</h3><p><strong>Where they live:</strong> Exploration, analysis, and communication.</p><p>The data analyst takes data that already exists — cleaned, stored, accessible — and turns it into insight. They ask business questions, pull and explore data, identify patterns, and communicate findings to people who need to make decisions.</p><p>They are the bridge between raw data and business understanding. Their work answers questions like: <em>Why did sales drop in Q3? Which customer segment is most profitable? What does our retention curve look like this year compared to last?</em></p><p><strong>Think of them as:</strong> The translators. They speak both data and business — and their job is to make sure both sides understand each other.</p><p><strong>Tools they commonly use:</strong> SQL, Excel, Python or R for analysis, Power BI or Tableau for visualisation, and a lot of clear communication.</p><h3>The Data Scientist</h3><p><strong>Where they live:</strong> Modelling, prediction, and experimentation.</p><p>The data scientist goes further than describing what happened. They build models to predict what will happen, or to discover patterns too complex for manual analysis. They experiment. They test hypotheses. They work at the intersection of statistics, programming, and domain knowledge.</p><p>A data scientist might build a model to predict which customers are about to churn, which students are at risk of dropping out, or which product a user is most likely to buy next.</p><p><strong>Think of them as:</strong> The forecasters. Where an analyst tells you what the weather was last week, a data scientist builds the model that predicts what it will be tomorrow.</p><p><strong>Tools they commonly use:</strong> Python, machine learning libraries like Scikit-learn and TensorFlow, SQL, Jupyter notebooks, statistical methods, and increasingly — cloud ML platforms.</p><h3>The Machine Learning Engineer</h3><p><strong>Where they live:</strong> The end of the chain — deployment and production.</p><p>The ML engineer takes the model a data scientist built and makes it work in the real world — at scale, reliably, repeatedly. They are concerned with how a model performs not in a notebook, but in a live system serving thousands of requests per second.</p><p>This role sits at the intersection of data science and software engineering. It requires both ML knowledge and serious engineering skill.</p><p><strong>Think of them as:</strong> The ones who take the prototype out of the lab and put it on the road.</p><p><strong>Tools they commonly use:</strong> Python, cloud platforms, Docker, Kubernetes, model serving tools, and software engineering practices.</p><h3>How the Roles Relate to Each Other</h3><p>The confusion most people have is treating these roles as competitors — as if you have to pick one and dismiss the others. They are not competitors. They are collaborators.</p><p>In a well-functioning data team:</p><ul><li>The <strong>engineer</strong> builds the pipes</li><li>The <strong>analyst</strong> reads the water</li><li>The <strong>scientist</strong> models the weather</li><li>The <strong>ML engineer</strong> automates the forecast</li></ul><p>In a small organisation — or in the early stage of your own career — one person often covers multiple roles. A data analyst who can also clean data and build a basic model is not doing someone else’s job. They are being a complete practitioner.</p><h3>The Tools — Organised by What They Actually Do</h3><p>Rather than listing every tool in existence, here is how they map to the journey:</p><p>Stage What Happens Common Tools <strong>Store &amp; Move</strong> Data is collected and organised SQL, BigQuery, Snowflake, Airflow <strong>Clean &amp; Explore</strong> Data is prepared for analysis Python (Pandas), Excel, R <strong>Analyse &amp; Visualise</strong> Patterns are found and communicated Python, SQL, Power BI, Tableau, Excel <strong>Model &amp; Predict</strong> Models are built and tested Python (Scikit-learn, TensorFlow), R <strong>Deploy &amp; Monitor</strong> Models run in production Cloud platforms, Docker, APIs</p><p>Notice something important: <strong>SQL and Python appear at almost every stage.</strong> This is why they are the two most consistently recommended starting points for anyone entering the field. Not because they are the most exciting tools — but because they are the most transferable ones. Whatever role you eventually specialise in, you will use both.</p><h3>Where Do You Actually Fit In?</h3><p>Here is the honest framework I give every student who asks me this question.</p><p><strong>Start with the question you find most interesting:</strong></p><p>If you are most excited by <em>“why did this happen and what does it mean?”</em> — start with data analysis. SQL and Excel first. Then Python. Then visualisation.</p><p>If you are most excited by <em>“can I build something that predicts what will happen next?”</em> — start with data science. Python first. Statistics alongside it. Then machine learning.</p><p>If you are most excited by <em>“how do I build systems that handle data at scale?”</em> — start with data engineering. SQL and Python. Then cloud platforms.</p><p>If you genuinely do not know yet — and most people at the beginning do not — start with data analysis. It is the most accessible entry point, the most in demand at junior level in Nigerian organisations right now, and the foundation that makes every other path easier to enter later.</p><p><strong>You do not need to know your final destination before you start moving.</strong> You need to start moving in a direction that makes sense — and correct your course as you learn more about where you want to go.</p><h3>A Word About Titles</h3><p>One final thing worth saying clearly.</p><p>The job titles in this industry are not standardised. A “Data Scientist” at one company is doing work that another company calls “Data Analyst.” A “Business Intelligence Analyst” somewhere else is doing what a third company calls “Data Engineer.”</p><p>Do not get too attached to titles when you are learning. Get attached to skills and problems. The title will sort itself out. The skills are what travel.</p><h3>The Map, Summarised</h3><p>The data ecosystem is a chain — from raw data to human decision. Every role serves that chain. Every tool supports a step in it.</p><p>You do not need to master the whole chain before you are useful. You need to understand how the chain works, find the part of it that genuinely interests you, and go deep enough in that part to produce real work.</p><p>The map is clearer than it looks. You just needed someone to stop selling you the destination long enough to show you how the roads connect.</p><p><em>I am Bolatito Sarumi — a Data Scientist, educator, and founder of NUDIT, a data science learning community built on one belief: complex ideas can always be explained simply. I write on Medium about data science, learning, and the realities of building a tech career in Nigeria.</em></p><p><em>Previously published: </em><a href="https://medium.com/@bolatito-abiola-akinlabi/what-nobody-tells-you-about-starting-a-data-science-career-in-nigeria-c8efa190b070"><em>What Nobody Tells You About Starting a Data Science Career in Nigeria</em></a></p><p><em>Next up: The Biggest Lie in the Data Science Learning Curve — And What to Focus on Instead.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc273495dc2a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Nobody Tells You About Starting a Data Science Career in Nigeria]]></title>
            <link>https://bolatito-abiola-akinlabi.medium.com/what-nobody-tells-you-about-starting-a-data-science-career-in-nigeria-c8efa190b070?source=rss-ec6dd2279175------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8efa190b070</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[nigeria]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Bolatito Abiola-Akinlabi]]></dc:creator>
            <pubDate>Tue, 28 Apr 2026 11:52:45 GMT</pubDate>
            <atom:updated>2026-04-28T11:52:45.927Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6LMWG-aOLiQ1nRbdR16peA.png" /><figcaption>Source: Image sourced by the author</figcaption></figure><p><em>Three years in tech education taught me things the hype never mentions</em></p><p>Everyone is talking about Data Science.</p><p>The LinkedIn posts. The Twitter threads. The bootcamp adverts promising six-figure salaries and remote jobs within six months. The success stories — always polished, always triumphant, always leaving out the messy middle.</p><p>Nobody is telling you the full truth.</p><p>I’ve spent over three years inside Nigeria’s tech education ecosystem — teaching, mentoring, designing curricula, and watching hundreds of people start the data science journey. Some made it. Many didn’t. And the ones who struggled rarely struggled because they weren’t smart enough or didn’t work hard enough.</p><p>They struggled because they walked in expecting what the hype promised — and found something completely different waiting for them.</p><p>This article is what I wish someone had told me before I went all in. And what I now tell every student who sits in front of me ready to begin.</p><h3>1. The Learning Curve Is Not a Straight Line</h3><p>Every roadmap you find online makes it look linear. Learn Python → Learn Statistics → Learn Machine Learning → Get Hired. Clean. Logical. Three to six months.</p><p>The reality is a spiral.</p><p>You learn something, feel confident, hit a new concept that exposes a gap in your foundation, go back, relearn, move forward again. You will understand linear regression and then encounter a confusion matrix and feel like a complete beginner again. You will clean a dataset perfectly and then load the next one and wonder if you ever learned anything at all.</p><p>This is not failure. This is how technical learning actually works.</p><p>The people who make it through are not the ones who never felt lost. They are the ones who kept going anyway — who normalised the spiral instead of interpreting it as a sign they were not cut out for this.</p><p>The hype never shows you the spiral. It only shows you the destination. That omission is dishonest — and it costs people who would have been brilliant data scientists their confidence at exactly the wrong moment.</p><h3>2. The Tools Are Not the Problem — And Not the Solution Either</h3><p>Nigeria has a connectivity and infrastructure problem. This is real. Slow internet, power interruptions, expensive data bundles, and laptops that were not designed for heavy computation are real constraints that the global data science conversation completely ignores.</p><p>But I have watched people with a five-year-old laptop and inconsistent power build stronger portfolios than people with brand new machines and stable internet — because the ones who adapted stopped waiting for perfect conditions.</p><p>Google Colab runs in a browser. SQL can be practised in an online sandbox. The Stack Overflow Developer Survey is a CSV file — it loads in seconds even on a slow connection. You do not need a powerful local machine to learn data science in 2026. You need to stop using infrastructure as a reason to wait.</p><p>At the same time — and this is equally important — do not let anyone tell you the tools do not matter at all. They do. A student who learns Excel before Python does not have a weaker foundation. A student who starts with Power BI before SQL is not doing it wrong. Your entry point into the data ecosystem matters less than people claim. What matters is that you go deep enough in <em>something</em> to produce work you can show.</p><p>Tools are a vehicle. They are not the destination and they are not the obstacle. Stop worshipping them and stop blaming them.</p><h3>3. The Portfolio Problem Is Real — And It Is Not What You Think</h3><p>Every career guide tells you to build a portfolio. Almost none of them tell you what that actually means in a Nigerian context — where you do not have access to the same internship pipelines, the same open company datasets, or the same hiring ecosystems as someone in San Francisco or London.</p><p>Here is what I have seen work:</p><p>The students who got opportunities did not necessarily have the most technically impressive portfolios. They had portfolios that told a coherent story. They had a clear problem they were trying to solve, a dataset they understood deeply, and a write-up that communicated their thinking — not just their code.</p><p>A well-documented analysis of NAFDAC product data tells a more compelling story than a Titanic survival prediction copied from a tutorial. A Power BI dashboard built on Lagos traffic data says more about your curiosity and initiative than three generic Kaggle notebooks with no personal voice.</p><p>The bar is not perfection. The bar is specificity. Pick a domain you actually care about — health data, education data, agriculture, finance. Build something that only you would have built. That specificity is what makes a hiring manager stop scrolling.</p><h3>4. The Loneliness Is One of the Hardest Parts</h3><p>This one does not appear on any roadmap.</p><p>Learning data science in Nigeria — especially if you are doing it outside a formal programme — is often a deeply isolating experience. Your friends and family may not understand what you are studying or why it is taking so long. Your peers may be on completely different paths. The global data science community is active and generous online, but the time zones, the cultural context, and the occasional condescension can make it feel like a conversation you were not quite invited to.</p><p>I watched this loneliness quietly derail more potential data scientists than any technical concept ever did.</p><p>Community is not a luxury. It is a retention tool. Finding even two or three people who are on a similar path — people you can share a dataset with, review a project with, struggle alongside — changes the learning experience entirely.</p><p>This is part of why I built NUDIT. Not because the world needs another learning community, but because the people I was working with needed a space that understood their context. That reflected their reality. That met them where they actually were — not where an American career guide assumed they were.</p><p>If you are learning alone right now, find your people. An online study group, a Telegram channel, a WhatsApp cohort. The technical skills will not carry you through the hard months alone. The community will.</p><h3>5. The Opportunity Is Real — But Not in the Way the Hype Describes It</h3><p>Here is the thing I want to be honest about, because I have seen the hype do real damage.</p><p>Yes — data science skills are in demand in Nigeria. Yes — organisations are increasingly investing in data capability. Yes — remote opportunities exist and are accessible to people with the right skills and portfolio.</p><p>But the timeline the hype sells you — six months to your first role, straight from bootcamp, no experience needed — is not the typical story. It happens. It is not the average.</p><p>The more common story is two to three years of consistent learning, project building, networking, and iteration before landing something that properly reflects your skills. For some people it is faster. For many it is slower.</p><p>This is not a reason not to start. It is a reason to start with honest expectations — because the people who enter with realistic timelines build sustainable momentum. The people who enter expecting six months and find themselves at eighteen months often interpret that gap as personal failure. It is not. It is just the actual curve.</p><p>The opportunity is real. The timeline requires honesty.</p><h3>What I Actually Tell My Students</h3><p>Start messy. You will not understand everything before you begin, and waiting until you do is a strategy for never beginning.</p><p>Depth over breadth. One tool mastered deeply is worth ten tools touched lightly. Pick your lane and go deep enough to produce something real.</p><p>Document everything. Your confusion, your breakthroughs, your mistakes, your corrections. The documentation is your portfolio. It is also your evidence that you showed up — to yourself, on the days when you are not sure it is working.</p><p>Find your community. It will matter more than you expect.</p><p>And when the spiral brings you back to something you thought you already knew — welcome it. That is not regression. That is how expertise is actually built.</p><p><em>I am Bolatito Sarumi — a Data Scientist, educator, and founder of NUDIT, a data science learning community built on one belief: complex ideas can always be explained simply. I write on Medium about data science, learning, and the realities of building a tech career in Nigeria.</em></p><p><em>If this resonated, follow for more. Next up: The Data Science Ecosystem Explained Simply — Roles, Tools, and Where You Fit In.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8efa190b070" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bias vs Variance: What Bootcamp Student Data Taught Me About Model Errors]]></title>
            <link>https://bolatito-abiola-akinlabi.medium.com/bias-vs-variance-what-bootcamp-student-data-taught-me-about-model-errors-33ccced20b28?source=rss-ec6dd2279175------2</link>
            <guid isPermaLink="false">https://medium.com/p/33ccced20b28</guid>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[logistic-regression]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Bolatito Abiola-Akinlabi]]></dc:creator>
            <pubDate>Fri, 27 Mar 2026 05:01:00 GMT</pubDate>
            <atom:updated>2026-03-27T05:01:00.583Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SqVlc_QPleH7cbo9iXVepA.png" /></figure><p><em>I trained a logistic regression to predict student dropouts. The numbers looked great. Then I started asking the right questions.</em></p><p>92.9% training accuracy.</p><p>89.9% test accuracy.</p><p>My first reaction was satisfaction. The model was working. The gap was small. Everything looked clean.</p><p>My second reaction was suspicion.</p><p>Because in data science, numbers that look too clean usually mean something worth investigating. And the more I interrogated this model — the data it was trained on, the errors it was making, and the errors it was hiding — the more I understood what bias and variance actually mean in practice.</p><p>Not in a textbook. Not on a whiteboard. In a real prediction problem, on real student data, where the wrong error has real consequences.</p><p>This is that story.</p><h3>The Problem</h3><p>I’m building a Learning Analytics ML system — a model that predicts which bootcamp students are at risk of not completing the program, early enough for mentors to intervene.</p><p>This week’s goal was straightforward: train a baseline logistic regression model to predict whether a student completes the program or drops out. Establish a foundation. Understand what the data can do before introducing complexity.</p><p>Simple question. Binary outcome. Let’s build.</p><h3>The Data</h3><p>I worked with four tables from the bootcamp dataset — 400 students, 4 cohorts, 12 weeks of longitudinal data:</p><ul><li><strong>Outcome</strong> — program completion status and final score per student</li><li><strong>Attendance</strong> — weekly session attendance rates</li><li><strong>Assessment</strong> — weekly quiz and exam scores</li><li><strong>Assignment</strong> — weekly submission scores</li></ul><p>The first step was merging them into a single modelling-ready DataFrame — one row per student, with aggregated features representing their behaviour across the full 12 weeks.</p><pre>import numpy as np<br>import pandas as pd<br>import matplotlib.pyplot as plt<br>import seaborn as sns<br>import sklearn<br><br><br>#loading in the data<br>outcome = pd.read_csv(r&#39;C:\Users\Bolatito A-Akinlabi\Desktop\2026 Portfolio\Medium_Article_Projects_1-3\bootcamp\raw\outcomes_raw.csv&#39;)<br>students = pd.read_csv(r&quot;C:\Users\Bolatito A-Akinlabi\Desktop\2026 Portfolio\Medium_Article_Projects_1-3\bootcamp\raw\students_raw.csv&quot;)<br>att = pd.read_csv(r&quot;C:\Users\Bolatito A-Akinlabi\Desktop\2026 Portfolio\Medium_Article_Projects_1-3\bootcamp\raw\attendance_raw.csv&quot;)<br>assess = pd.read_csv(r&quot;C:\Users\Bolatito A-Akinlabi\Desktop\2026 Portfolio\Medium_Article_Projects_1-3\bootcamp\raw\assessments_raw.csv&quot;)<br>assign = pd.read_csv(r&quot;C:\Users\Bolatito A-Akinlabi\Desktop\2026 Portfolio\Medium_Article_Projects_1-3\bootcamp\raw\assignments_raw.csv&quot;)<br><br>#The target variable for this is the completed column, so let&#39;s check the unique values therein<br>outcome[&#39;completed_program&#39;].unique()<br><br>#So we need to clean up that column. First I will drop the rows with nan and then map the rest to O and 1<br>outcome.dropna(subset=&quot;completed_program&quot;, inplace=True)<br><br>#Now let&#39;s standardize the column<br>outcome[&quot;completed_program&quot;] = outcome[&quot;completed_program&quot;].replace({&quot;FALSE&quot;:0, &quot;TRUE&quot;:1, &quot;No&quot;: 0, &quot;Yes&quot;:1}).astype(float)<br><br>#then we double check again<br>outcome[&#39;completed_program&#39;].unique()<br><br>#Get the average attendance, assessment, assignment<br>avg_att = att.groupby(&quot;student_id&quot;)[&quot;attendance_rate&quot;].mean()<br>avg_att = round(avg_att, 2)<br>avg_att<br><br>avg_assess = assess.groupby(&quot;student_id&quot;)[&quot;score&quot;].mean()<br>avg_assess = round(avg_assess, 2)<br>avg_assess<br><br>avg_assign = assign.groupby(&quot;student_id&quot;)[&quot;assignment_score&quot;].mean()<br>avg_assign = round(avg_assign, 2)<br>avg_assign<br><br>#First let&#39;s reset the index<br>avg_assess = avg_assess.reset_index()<br>avg_att = avg_att.reset_index()<br>avg_assign = avg_assign.reset_index()<br><br>#Now let&#39;s merge them all<br>all_ = avg_assess.merge(avg_assign, on=&#39;student_id&#39;).merge(avg_att, on=&quot;student_id&quot;)</pre><h3>A Cleaning Decision That Matters More Than It Looks</h3><p>Before touching a single model, I ran a value count on the target variable — completed_program:</p><pre>outcome[&quot;completed_program&quot;].value_counts()</pre><p>What came back wasn’t a clean 0/1 split. There were 7 dirty values — entries that hadn’t been properly encoded. These needed to be mapped to binary before the model could use them:</p><pre>#The target variable for this is the completed column, so let&#39;s check the unique values therein<br>outcome[&#39;completed_program&#39;].unique()<br><br>#So we need to clean up that column. First I will drop the rows with nan and then map the rest to O and 1<br>outcome.dropna(subset=&quot;completed_program&quot;, inplace=True)<br><br>#Now let&#39;s standardize the column<br>outcome[&quot;completed_program&quot;] = outcome[&quot;completed_program&quot;].replace({&quot;FALSE&quot;:0, &quot;TRUE&quot;:1, &quot;No&quot;: 0, &quot;Yes&quot;:1}).astype(float)<br><br>#Then we verify again<br>outcome[&#39;completed_program&#39;].unique()</pre><p>Small step. But skipping it would have introduced label noise directly into the target — which is one of the most damaging things you can do to a classification model.</p><h3>One Feature I Deliberately Left Out</h3><p>The outcome table contained a final_score column — a student&#39;s end-of-program grade.</p><p>It’s tempting to include it. Final score is almost certainly correlated with program completion. The model would love it.</p><p>But including it would be <strong>data leakage</strong>.</p><p>Final score only exists <em>after</em> a student has completed — or not completed — the program. In a real deployment, you’d be trying to predict dropout <em>before</em> the program ends. Final score wouldn’t exist yet. Including it in training teaches the model to rely on information it will never have access to in production.</p><p>The features I kept — attendance rate, assessment score, assignment score — all represent behaviour that a mentor can observe <em>during</em> the program, in real time, before any outcome is known. That’s the only honest feature set for this problem.</p><pre>features = [&quot;avg_attendance&quot;, &quot;avg_assessment_score&quot;, &quot;avg_assignment_score&quot;]<br>target = &quot;completed_program&quot;<br><br>X = outcome[features]<br>y = df[target]</pre><h3>Training the Baseline Model</h3><p>Standard 80/20 split. Random state fixed for reproducibility.</p><pre>#Now, let&#39;s split our data<br>from sklearn.model_selection import train_test_split<br>X_train, X_test, y_train, y_test = train_test_split(<br>    X, y, test_size=0.2, random_state=42<br>)<br><br>from sklearn.linear_model import LogisticRegression<br>#Let&#39;s create the model instance<br>model = LogisticRegression()<br><br>#Now, we can train the model<br>model.fit(X_train, y_train)<br><br>#Let&#39;s make some predictions<br>predictions = model.predict(X_test)<br><br>train_accuracy = model.score(X_train, y_train)<br>test_accuracy = model.score(X_test, y_test)<br><br>print(&quot;Train Accuracy:&quot;, train_accuracy)<br>print(&quot;Test Accuracy:&quot;, test_accuracy)</pre><p><strong>Results:</strong></p><pre>Train Accuracy: 0.929<br>Test Accuracy:  0.899</pre><p>A ~3% gap between training and test accuracy.</p><p>Now let’s talk about what that actually means.</p><h3>Bias and Variance — What They Really Are</h3><p>Before interpreting these numbers, it’s worth being precise about what we mean.</p><p><strong>Bias</strong> is the error that comes from a model being too simple to capture the true patterns in the data. A high-bias model makes strong assumptions, misses complexity, and performs poorly even on training data. It underfits.</p><p><strong>Variance</strong> is the error that comes from a model being too sensitive to the specific data it was trained on. A high-variance model learns the training data — including its noise — too well, and falls apart on new data. It overfits.</p><p>The relationship between them is a tradeoff. Reducing one tends to increase the other. The goal is to find the right balance — a model that is flexible enough to capture real patterns but stable enough to generalise to new examples.</p><p>A 3% gap between train and test accuracy tells us the model is <strong>not overfitting</strong>. It is generalising — what it learned from the training data is holding up on unseen examples.</p><p>That’s the variance story. The model’s variance is low.</p><h3>But What About Bias?</h3><p>This is where the honest analysis begins.</p><p>Logistic regression is a linear model. It assumes a linear relationship between the features and the log-odds of the outcome. In a simulated dataset — where the data was generated with relatively clean, structured signals — a linear model can perform very well.</p><p>But in a real bootcamp environment, student dropout is rarely a linear story. A student might have decent average attendance but attend consistently in early weeks and disappear in Week 8 — a pattern that averages hide. A student might score well on assignments but perform poorly under timed assessment pressure. A student might have low scores but high engagement signals that averages don’t capture.</p><p>Our features — weekly averages — compress 12 weeks of longitudinal behaviour into three numbers. That compression introduces <strong>structural bias</strong>. The model doesn’t have access to the shape of a student’s journey, only the summary.</p><p>This doesn’t make the baseline useless. It makes it honest. A baseline model exists to tell you where you’re starting from — and 89.9% test accuracy on a binary classification problem is a solid starting point.</p><p>But the model’s strong performance is partly explained by the nature of simulated data. The signal is cleaner than a real LMS export would be. In production, on genuinely messy real-world data, a logistic regression with averaged features would likely carry more bias than these numbers suggest.</p><p>That’s worth saying clearly, even when the numbers look good.</p><h3>The Error That Actually Matters</h3><p>Accuracy is not always the most important metric. This dataset shows exactly why.</p><pre>print(classification_report(y_test, model.predict(X_test)))<br><br><br>precision    recall  f1-score   support<br><br>0       0.83      0.82      0.82        40<br>           1       0.92      0.93      0.92        80<br>    accuracy                           0.90       120</pre><p>The model predicts <strong>completions (class 1)</strong> with 93% recall. When a student actually completes the program, the model correctly identifies them 93% of the time.</p><p>The model predicts <strong>dropouts (class 0)</strong> with 82% recall. When a student actually drops out, the model correctly identifies them 82% of the time.</p><p>That 82% sounds acceptable. But think about what an 18% miss rate means in this context.</p><p>18% of actual dropouts are being predicted as completions. The model looks at a student who will not finish the program and says: <em>“They’ll be fine.”</em></p><p>In ML terminology, this is a <strong>False Negative</strong> — predicting the positive class (completion) when the true label is negative (dropout).</p><p>In a bootcamp context, this is the <strong>costly error</strong>. A false positive — flagging a student as at-risk when they would have been fine — costs a mentor an unnecessary check-in conversation. That’s a low-cost mistake.</p><p>A false negative — missing a student who genuinely needed intervention — costs that student their program completion. Potentially their career trajectory. That’s a high-cost mistake.</p><p><strong>Recall for class 0 is our most important metric for this problem.</strong> Not overall accuracy. Not precision. Recall for the dropout class — because that’s the error with real-world consequences.</p><p>At 82%, this baseline model is leaving room on the table. And that room is exactly where the next phase of this project begins.</p><h3>One More Signal Worth Naming: Survivorship Bias Again</h3><p>I flagged this in last week’s Excel dashboard article, and it appears here too.</p><p>The students whose data is cleanest and most complete in later weeks are disproportionately the students who stayed in the program. The ones who dropped out early have sparser records — fewer weeks of attendance data, fewer assessment scores, fewer assignment submissions.</p><p>When we average across 12 weeks, students who dropped in Week 3 contribute far fewer data points than students who completed the full program. The aggregation is imbalanced in a way that the model doesn’t see — and can’t account for.</p><p>This is another reason why averaged features carry structural bias for this problem. A time-aware model — one that accounts for <em>when</em> engagement drops rather than just the overall average — would be more honest about what the data actually contains.</p><p>That’s a future iteration. For now, naming the limitation is part of doing the work properly.</p><h3>What This Baseline Tells Us</h3><p>Three things worth taking forward:</p><p><strong>1. Low variance is confirmed.</strong> The 3% train/test gap tells us the model generalises. We’re not overfitting.</p><p><strong>2. Bias is present but unquantified.</strong> Logistic regression on averaged features is a deliberate simplification. The model is almost certainly missing non-linear patterns and temporal dynamics that matter in the real problem.</p><p><strong>3. Recall for class 0 is the metric to optimise.</strong> 82% is the number to beat. Every model improvement from here should be measured against whether it catches more actual dropouts — not whether it improves overall accuracy.</p><p>This baseline isn’t the destination. It’s the measuring stick. Everything built from here gets evaluated against it.</p><h3>What’s Coming Next</h3><p>Up next, we will looking at linear regression — predicting a student’s <strong>final score</strong> as a continuous value rather than a binary outcome. Different problem type, same dataset, same discipline.</p><p>And the next one? That’s the Precision vs Recall deep dive — where we confront the tradeoff directly, build models optimised for recall on the dropout class, and measure what that costs us elsewhere.</p><p>The seed is already planted.</p><p><em>I’m building a full end-to-end Learning Analytics ML system and documenting every step on Medium — from raw data and cleaning decisions to models, evaluation, and deployment thinking. Follow along if you want to see real data science work, not just polished results.</em></p><p><em>Previously published:</em> <em>→ </em><a href="https://medium.com/@bolatito-abiola-akinlabi/5-data-cleaning-mistakes-i-made-on-my-bootcamp-dataset-and-how-i-fixed-them-d833ded776cf"><em>5 Data Cleaning Mistakes I Made on My Bootcamp Dataset</em></a> <em>→ </em><a href="https://medium.com/@bolatito-abiola-akinlabi/how-i-built-a-bootcamp-performance-tracker-in-excel-using-real-student-data-0effe1dc042e"><em>How I Built a Bootcamp Performance Tracker in Excel Using Real Student Data</em></a></p><p><em>Next up: Linear Regression for Predicting Student Final Scores</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33ccced20b28" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Built a Bootcamp Performance Tracker in Excel Using Real Student Data]]></title>
            <link>https://bolatito-abiola-akinlabi.medium.com/how-i-built-a-bootcamp-performance-tracker-in-excel-using-real-student-data-0effe1dc042e?source=rss-ec6dd2279175------2</link>
            <guid isPermaLink="false">https://medium.com/p/0effe1dc042e</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Bolatito Abiola-Akinlabi]]></dc:creator>
            <pubDate>Fri, 20 Mar 2026 06:01:00 GMT</pubDate>
            <atom:updated>2026-03-20T06:01:00.672Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X25FT1pc2f19fJGsaImPJA.png" /></figure><p><em>And the uncomfortable truth I discovered when the numbers didn’t add up</em></p><p>I didn’t expect to find a statistical trap hiding inside a simple Excel dashboard.</p><p>I was building what I thought was a straightforward performance tracker — weekly attendance trends, assessment scores, at-risk student flags. Clean charts. Useful for mentors. Done.</p><p>Then I looked at the score trend line and something felt wrong.</p><p>Attendance was falling week after week. But assessment scores were climbing. In the same cohort. Over the same 12 weeks.</p><p>How were students performing <em>better</em> as time went on — while showing up <em>less</em>?</p><p>The answer wasn’t in the data. It was in who was <em>no longer</em> in the data.</p><p>I’ll get to that. But first, let me show you exactly how I built this dashboard — because the trap only makes sense once you see what the numbers looked like on the surface.</p><h3>The Dataset</h3><p>This dashboard was built on a simulated but realistic dataset tracking 400 students across 4 cohorts over 12 weeks.</p><p>For this dashboard, I worked with three tables from the processed data folder:</p><ul><li><strong>attendance_clean.csv</strong> — weekly sessions held, sessions attended, and attendance rate per student</li><li><strong>assessment_clean.csv</strong> — weekly assessment scores and max scores per student</li><li><strong>assignment_clean.csv</strong> — weekly assignment submissions, scores, and submission delays</li></ul><p>These were already cleaned and structured as a balanced panel — every student represented across all 12 weeks, with zeros where no activity was recorded.</p><p>But even clean data needs a quick sanity check before you build anything on top of it.</p><h3>Step 1 — Load and Validate the Data</h3><pre>import pandas as pd<br>attendance = pd.read_csv(&quot;attendance_clean.csv&quot;)<br>assessment = pd.read_csv(&quot;assessment_clean.csv&quot;)<br>assignment = pd.read_csv(&quot;assignment_clean.csv&quot;)</pre><p>Before touching anything else, I ran a quick validation pass to catch impossible values — the kind that survive cleaning but still corrupt analysis:</p><pre>print(attendance.isnull().sum())<br>print(attendance.describe())<br><br>print(assessment.isnull().sum())<br>print(assessment.describe())<br><br><br>print(assignment.isnull().sum())<br>print(assignment.describe())<br><br>#### Assessment<br>max_score = 200. Now, this is dirty data because the maximum obtainable score is 100<br>min_score= 0 <br>There are 301 nulls in the assessment_type column which means that there are 301 rows who we cannot determine their assessment type.<br><br>#### Assignment<br>min_ass_score = -10. This not possible <br>max_ass_score = 150 this is also not realistic because the obtainable is 100<br>min_sub_delay/days = -3 This is not possible at all because there cannot be a negative of delay days in submission.<br><br>#### Attendance<br>max_sess_att = 4 This is not possible as well because the max normal session attendance is 3. so 4 is an error<br>min_att_rate = -0.1 This is also not possible as we cannot have a negative</pre><p>Small step. Non-negotiable habit.</p><h3>Step 2 — Build the Three Summary Tables</h3><p>With clean data confirmed, I built three aggregated views — one per dashboard chart.</p><p><strong>Table 1: Weekly Attendance Trend</strong></p><pre>Wkly_avg_attendc = attendance.groupby(&quot;week_number&quot;)[&quot;attendance_rate&quot;].mean()</pre><p><strong>Table 2: Weekly Assessment Score Trend</strong></p><pre>Wkly_avg_ass = assessment.groupby(&quot;week_number&quot;)[&quot;score&quot;].mean()</pre><p><strong>Table 3: At-Risk Student Classification</strong></p><p>I flagged students based on their overall average attendance rate across all 12 weeks:</p><pre>att_q25 = combined_result[&#39;attendance_rate&#39;].quantile(0.25)<br>ass_q25 = combined_result[&quot;assignment_score&quot;].quantile(0.25)<br><br>conditions = [(combined_result[&quot;assignment_score&quot;] &lt;ass_q25) &amp; (combined_result[&quot;attendance_rate&quot;] &lt;att_q25),<br>              (combined_result[&quot;assignment_score&quot;] &lt; ass_q25) ^ (combined_result[&quot;attendance_rate&quot;] &lt;att_q25), <br>              ~((combined_result[&quot;assignment_score&quot;] &lt;ass_q25) | (combined_result[&quot;attendance_rate&quot;] &lt;att_q25))]<br><br><br>decisions = [&quot;High Risk&quot;, &quot;Watch&quot;, &quot;On-track&quot;]<br><br>combined_result[&quot;risk_flag&quot;] = np.select(conditions, decisions, default=&quot;Unknown&quot;)</pre><pre>combined_result[&#39;risk_flag&#39;].value_counts()</pre><h3>Step 3 — Export to Excel</h3><pre>with pd.ExcelWriter(&quot;bootcamp_report.xlsx&quot;, engine=&quot;openpyxl&quot;) as writer:<br>    Wkly_avg_attendc.to_excel(writer, sheet_name=&quot;Attendance_trends&quot;, index=True)<br>    Wkly_avg_ass.to_excel(writer, sheet_name=&quot;Weekly_Ass_score&quot;, index=True)<br>    combined_result.to_excel(writer,sheet_name=&quot;At_risk_flags&quot;, index=True)</pre><p>Three sheets. Three tables. Ready for charts.</p><h3>Step 4 — Build the Dashboard in Excel</h3><p>With the data exported, I built all three charts on a single <strong>Dashboard</strong> sheet inside Excel — the kind a program director or mentor coordinator could open and understand in under 60 seconds.</p><h3>Chart 1: Weekly Attendance Trend (Line Chart)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*NjHjuFTq_AoDEA1B-xY2kg.png" /></figure><p><strong>Source:</strong> Attendance Trend sheet — Week vs Avg Attendance Rate</p><p><strong>What it shows:</strong></p><p>A clear, steady decline in average attendance across the 12-week program. Week 1 starts strong — most students are engaged, motivated, and showing up. By Week 8 the line has dropped noticeably. By Week 12 it has fallen significantly from where it started.</p><p>This is not unusual for bootcamp programs. The pattern is consistent with what learning researchers call <em>engagement decay</em> — the natural erosion of initial motivation as program difficulty increases and the novelty wears off.</p><p><strong>Why it matters for mentors:</strong></p><p>The value of this chart isn’t the final number — it’s spotting <em>when</em> the decline accelerates. If attendance drops sharply between specific weeks, that’s the intervention window. That’s when a mentor check-in can still make a difference.</p><h3>Chart 2: Weekly Assessment Score Trend (Line Chart)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*sZ3cmryOj2g-1Uqr-Kik0w.png" /></figure><p><strong>Source:</strong> Assessment Trend sheet — Week vs Avg Assessment Score</p><p><strong>What it shows:</strong></p><p>Average assessment scores <em>rise</em> across the 12 weeks. The trend line moves upward — students appear to be performing better as the program progresses.</p><p>At first glance, this looks like a success story. Students are learning. Skills are improving. The program is working.</p><p>But this is where I stopped and looked again.</p><h3>Chart 3: Student At-Risk Performance (Pie Chart)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*NC1cUzB24RL8fiD2UXDCjA.png" /></figure><p><strong>Source:</strong> At-Risk Summary sheet — Category vs Count</p><p><strong>What it shows:</strong></p><p>Across all 400 students, the breakdown by attendance-based risk category was:</p><ul><li>✅ <strong>On Track</strong> — 70%</li><li>⚠️ <strong>Watch</strong> — 10%</li><li>🔴 <strong>High Risk</strong> — 20%</li></ul><p>This chart is the most operationally useful one for a mentor team. It answers the simplest and most important question a program coordinator can ask on a Monday morning: <em>“How many of our students are we worried about right now?”</em></p><h3>The Insight That Changed How I Read These Charts</h3><p>Here is the thing about that rising score trend that bothered me.</p><p>Attendance was falling. Students were dropping out — not completing the program, disappearing from the weekly data as the weeks went on. And yet, scores were going up.</p><p>This is <strong>survivorship bias</strong> — one of the most quietly dangerous analytical traps in educational data, and in data science generally.</p><h3>What Is Survivorship Bias?</h3><p>Survivorship bias happens when you analyse only the subjects that made it through a process — while ignoring the ones who didn’t — and draw conclusions as if your sample represents everyone.</p><p>The term comes from a famous World War II study by mathematician Abraham Wald. The military wanted to add armour to returning planes based on where bullet holes were concentrated. Wald pointed out the flaw: they were only looking at planes that <em>came back</em>. The planes that were shot down — the ones that didn’t survive — weren’t in the data at all. The bullet holes on returning planes showed where a plane <em>could</em> be hit and still fly. The missing data showed where a plane <em>couldn’t</em> be hit and survive.</p><p>The same trap was sitting inside my bootcamp dashboard.</p><h3>How It Appeared in This Data</h3><p>In Week 1, all 400 students were represented in the assessment data. That average score — let’s say 58 — included every student: the strong ones, the struggling ones, the ones who would eventually drop out.</p><p>By Week 10, many of the struggling students had already left the program. Their scores — consistently low, pulling the average down — were no longer in the calculation. The students remaining in Week 10 were disproportionately the stronger, more engaged learners.</p><p><strong><em>So the average score rose — not because existing students improved dramatically, but because the lower-performing students were no longer included in the average.</em></strong></p><p>The dataset didn’t lie. But a surface-level reading of it did.</p><h3>Why This Matters Beyond This Dashboard</h3><p>Survivorship bias is everywhere in educational analytics — and in data science more broadly.</p><p>If you evaluate a training program only on graduates, you’ll overestimate its effectiveness. If you study the habits of successful entrepreneurs, you’ll miss all the people who had the same habits and failed. If you measure the performance of students who completed a course, you’ll draw conclusions that don’t apply to the students who most needed the intervention.</p><p>In the context of this bootcamp dashboard: if a mentor team saw that rising score chart and concluded <em>“our students are getting better as the program goes on”</em> — they would be drawing the wrong lesson from the right data.</p><p>The correct conclusion is: <em>“The students still in the program are performing better — because the weaker students have already left.”</em></p><p>That’s a completely different insight. And it leads to completely different decisions.</p><p><strong>The fix — for future analysis:</strong></p><p>Track a fixed cohort from start to finish. Include dropout records explicitly. Compare Week 12 scores only for students who were also present in Week 1. That’s a true longitudinal view — and it’s the only one that tells you what’s actually happening to your students over time.</p><h3>What the Dashboard Revealed — The Two Real Insights</h3><p>After accounting for survivorship bias, here’s what this dashboard genuinely shows:</p><p><strong>Insight 1: Attendance declines steadily as the program progresses.</strong> This is real, consistent, and actionable. It tells program designers and mentors exactly where to focus retention efforts — not at the end, when it’s too late, but at the inflection points where the decline first accelerates.</p><p><strong>Insight 2: Rising scores are not proof of improving performance — they are a signal of student attrition.</strong> The students scoring higher in later weeks are not the same representative group as Week 1. Any performance claim built on this trend without accounting for dropouts is analytically unsound.</p><h3>What This Dashboard Is Actually For</h3><p>This Excel dashboard is not a model. It doesn’t predict anything. It doesn’t replace the machine learning system I’m building alongside it.</p><p>What it does is give a mentor team a single-screen view of their cohort’s health — right now, this week — without needing to run a single line of code.</p><p>70% on track. 20% high risk. Attendance falling since Week 6. Scores rising but read carefully.</p><p>That’s decision-ready information. And in a bootcamp environment where intervention timing matters enormously, that’s genuinely valuable.</p><p>The model will come. But the dashboard is what a mentor opens on Monday morning.</p><p><em>I’m building a full end-to-end Learning Analytics ML system and documenting every step on Medium — from raw data and cleaning decisions to dashboards, models, and evaluation. Follow along if you want to see real data science work, not just polished results.</em></p><p><em>Previously published: </em><a href="https://medium.com/@bolatito-abiola-akinlabi/5-data-cleaning-mistakes-i-made-on-my-bootcamp-dataset-and-how-i-fixed-them-d833ded776cf"><em>5 Data Cleaning Mistakes I Made on My Bootcamp Dataset</em></a></p><p><em>Next up: Bias vs Variance — What Bootcamp Data Taught Me About Model Errors</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0effe1dc042e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Supervised vs Unsupervised Learning: What Bootcamp Data Finally Made Clear to Me]]></title>
            <link>https://bolatito-abiola-akinlabi.medium.com/supervised-vs-unsupervised-learning-what-bootcamp-data-finally-made-clear-to-me-fb17071aae97?source=rss-ec6dd2279175------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb17071aae97</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[artificail-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Bolatito Abiola-Akinlabi]]></dc:creator>
            <pubDate>Sat, 14 Mar 2026 07:01:00 GMT</pubDate>
            <atom:updated>2026-03-14T07:01:00.613Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PC3ogHexawa_P_BZUdecdA.png" /></figure><p><em>The distinction most beginners memorise but never truly understand — until they work with real student data</em></p><p>Most people learn the difference between supervised and unsupervised learning the same way.</p><p>Someone draws two diagrams on a whiteboard. One has labels. One doesn’t. You nod, write it down, and move on — convinced you understand it.</p><p>Then you sit in front of a real dataset and freeze.</p><p>Because the question you’re actually facing isn’t <em>“what is supervised learning?”</em> It’s <em>“which one do I need right now, and why?”</em> And nobody teaches you how to answer that.</p><p>This article is my attempt to fix that. I’ll explain both approaches the way I wish someone had explained them to me — through the lens of real student data, real problems, and real decisions. No abstract diagrams. Just clarity.</p><h3>First, Let’s Agree on What Learning Actually Means Here</h3><p>When we talk about machine learning, “learning” means one thing: <strong>finding patterns in data.</strong></p><p>The difference between supervised and unsupervised learning is simply about <em>what kind of patterns</em> you’re looking for — and whether you already know what the answer should look like (labelled or unlabelled data)</p><p>That’s it. Everything else follows from that.</p><h3>Supervised Learning — When You Know What You’re Looking For</h3><p>Supervised learning is what most people picture when they think about machine learning. You have a dataset. You have a target — a column that represents the answer you want to predict. You train a model to learn the relationship between your input features and that target.</p><p>The word <em>supervised</em> refers to the fact that the model is being guided by known answers during training. You’re showing it examples and saying <em>“given this input, the correct output is this.”</em></p><h3>The Bootcamp Example</h3><p>Imagine you’re analysing a bootcamp’s historical student data. You have:</p><ul><li>Weekly attendance rates</li><li>Assignment submission scores</li><li>Quiz averages</li><li>Submission delay patterns</li></ul><p>And crucially, you also have the <strong>outcome</strong>: whether each student passed or failed the program.</p><p>That outcome column is your label. Your supervisor. The thing you’re training the model to predict.</p><p>Your question is: <em>“Can we predict, early in the program, which students are likely to fail — so mentors can intervene before it’s too late?”</em></p><p>This is a supervised learning problem. Specifically, it’s a <strong>classification</strong> problem — you’re predicting one of two categories: pass or fail.</p><p>The model learns from students whose outcomes are already known. Then it applies that learning to new students, whose outcomes aren’t known yet.</p><pre>Input features:           Target (Label):<br>attendance_rate    →<br>assignment_score   →      passed = 1 or 0<br>quiz_avg           →<br>submission_delay   →</pre><h3>When Do You Use Supervised Learning?</h3><p>Use supervised learning when:</p><ul><li>You have a clear, specific question to answer</li><li>Your dataset contains historical examples with known outcomes</li><li>You want to <strong>predict</strong> something — a category (classification) or a number (regression)</li></ul><p>Common supervised tasks in education analytics:</p><ul><li>Predicting whether a student will pass or fail</li><li>Predicting a student’s final score</li><li>Predicting whether a student will drop out by week 4</li><li>Predicting job placement within 3 months of graduation</li></ul><h3>Unsupervised Learning — When You’re Exploring What You Don’t Yet Know</h3><p>Unsupervised learning is a fundamentally different kind of question. You’re not predicting a known outcome. You’re asking: <em>“What natural structures exist in this data that I haven’t seen yet?”</em></p><p>There is no label column. No supervisor. No right answer to train toward. The model explores the data on its own and surfaces patterns you didn’t know to look for.</p><p>This is what makes unsupervised learning both powerful and harder to evaluate. You can’t measure it the same way — because you don’t have a ground truth to compare against.</p><h3>The Bootcamp Example</h3><p>Now imagine you’re looking at the same bootcamp dataset, but this time you don’t have a specific prediction in mind. You’re asking a broader question: <em>“Are there distinct types of students in this bootcamp — and if so, what do they look like?”</em></p><p>Maybe you suspect some students are highly consistent performers. Others are strong at assessments but skip assignments. Others show up reliably but score poorly. You don’t know for certain. You haven’t defined categories yet.</p><p>You run a clustering algorithm — say, K-Means. The model analyzes every student’s patterns across attendance, assignments, and assessments, and groups them based on similarity.</p><p>It might return three clusters:</p><ul><li><strong>Cluster 1 — The Engaged Learner:</strong> High attendance, high submission rates, consistent scores</li><li><strong>Cluster 2 — The Inconsistent Performer:</strong> Good scores when present, but irregular attendance and frequent late submissions</li><li><strong>Cluster 3 — The Silent Struggler:</strong> Present in sessions but low assignment scores, low quiz performance, rarely seeks help</li></ul><p>You didn’t define these groups. The data revealed them.</p><p>Now you can design differentiated mentor interventions for each cluster — not because a model predicted who would fail, but because it showed you <em>who your students actually are.</em></p><pre>Input features:              Output:<br>attendance_rate    →<br>assignment_score   →         Cluster 1, 2, or 3<br>quiz_avg           →         (discovered, not predicted)<br>forum_posts        →</pre><h3>When Do You Use Unsupervised Learning?</h3><p>Use unsupervised learning when:</p><ul><li>You don’t have labeled data, or labeling would be expensive and time-consuming</li><li>You want to <strong>explore</strong> your data before committing to a specific model</li><li>You’re looking for natural groupings, anomalies, or hidden structure</li><li>You’re asking <em>“what is in this data?”</em> rather than <em>“what will happen next?”</em></li></ul><p>Common unsupervised tasks in education analytics:</p><ul><li>Segmenting students by engagement pattern</li><li>Identifying unusual attendance behaviour (anomaly detection)</li><li>Reducing dozens of features into a few meaningful dimensions (PCA)</li><li>Discovering which course topics consistently appear together in student struggles</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*51dFCO1teVYp-vycSdvH4g.png" /></figure><h3>The Comparison Most People Actually Need</h3><p>Here’s the side-by-side that should have been on that whiteboard:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wPVPnKl1K-uGYjtB5oy5Jw.png" /><figcaption>Supervised vs. Unsupervised Learning</figcaption></figure><h3>The Mistake That Trips Up Most Beginners</h3><p>Here it is — the real reason people freeze in front of a dataset even after they’ve learned both concepts.</p><p><strong>They choose their algorithm before they define their problem.</strong></p><p>They think: <em>“I want to use Random Forest”</em> or <em>“I heard clustering is powerful”</em> — and then they try to fit their data into the technique they’ve already decided on.</p><p>This is backwards.</p><p>The correct order is always:</p><ol><li><strong>Define your question clearly</strong></li></ol><p><strong>2. Ask: Do I have labels?</strong></p><p><strong>3. Then choose supervised or unsupervised</strong></p><p><strong>4. Then choose a specific algorithm</strong></p><p>If you can’t write your question as <em>“predict [outcome] from [features]”</em> — you don’t have a supervised problem yet.</p><p>If your question is <em>“what patterns exist among [subjects]?”</em> — you’re in unsupervised territory.</p><p>The technique follows the question. Never the other way around.</p><h3>How I Applied This to My Own Project</h3><p>When I started building my bootcamp risk detection system, I had to make this exact decision.</p><p>My question was specific: <em>“Can we identify students at risk of failing before Week 6, so mentors can intervene early?”</em></p><p>I had outcome data — pass/fail results for 400 students across 4 cohorts.</p><p>That made it a supervised classification problem immediately. I had a label. I had a clear prediction target. I had historical outcomes to train from. Supervised learning was the only appropriate choice.</p><p>But I also asked a second question: <em>“Do different types of students fail for different reasons?”</em> That question had no label. I wasn’t predicting — I was exploring. That became a future unsupervised clustering task, for later in the project.</p><p>Two questions. Two different approaches. One dataset.</p><p>That’s how you actually think about this distinction in practice.</p><h3>One More Thing Before You Go</h3><p>Supervised and unsupervised learning are not competing options. They are complementary tools for complementary questions.</p><p>In a complete data science project, you’ll often use both — unsupervised methods to explore and understand your data early on, and supervised methods to build the prediction model once your problem is properly framed.</p><p>The data scientist who can move fluidly between both is far more valuable than one who has only mastered the algorithms without understanding when to apply them.</p><p>Master the question first. The technique will follow.</p><p><em>I’m building a full end-to-end Learning Analytics ML system and documenting every step on Medium — from raw data and cleaning decisions all the way to model evaluation and deployment thinking. Follow along if you want to see real data science work, not just polished results.</em></p><p><em>This week I also published: </em><a href="https://claude.ai/chat/your-link-here"><em>5 Data Cleaning Mistakes I Made on My Bootcamp Dataset</em></a><em> — the real cleaning decisions behind this same dataset.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb17071aae97" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Data Cleaning Mistakes I Made on My Bootcamp Dataset (And How I Fixed Them)]]></title>
            <link>https://bolatito-abiola-akinlabi.medium.com/5-data-cleaning-mistakes-i-made-on-my-bootcamp-dataset-and-how-i-fixed-them-d833ded776cf?source=rss-ec6dd2279175------2</link>
            <guid isPermaLink="false">https://medium.com/p/d833ded776cf</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-cleaning]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Bolatito Abiola-Akinlabi]]></dc:creator>
            <pubDate>Fri, 13 Mar 2026 05:01:01 GMT</pubDate>
            <atom:updated>2026-03-13T05:01:01.736Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dtC0dJSRTPG2O1iO6NzcKQ.png" /></figure><p><em>A real walkthrough — not a textbook warning, but lessons from actual messy data</em></p><p>I didn’t plan to write this article.</p><p>I planned to jump straight into building a machine learning model — predicting which bootcamp students were at risk of dropping out. I had my dataset. I had my goal. I was ready.</p><p>Then I opened the data.</p><p>What I found wasn’t catastrophic. Nothing was obviously broken. But the quiet, subtle problems hiding inside those CSVs would have corrupted every model I tried to build — and I wouldn’t have known why.</p><p>This article documents five real cleaning mistakes I made while preparing my bootcamp analytics dataset. Not hypothetical warnings. Not textbook examples. Actual decisions I had to make, on actual data, before a single line of modelling code could run.</p><p>If you’re working with educational data, longitudinal data, or any dataset where students (or users) appear across multiple time points — this one is for you.</p><h3>A Quick Look at the Dataset</h3><p>Before we get into the mistakes, here’s what I was working with.</p><p>I built a simulated bootcamp dataset using Mockaroo — designed to mirror how a real data science bootcamp might track its students. The dataset spans <strong>12 weeks</strong>, covers <strong>400 students</strong> across <strong>4 cohorts</strong>, and lives across multiple raw CSV files:</p><ul><li><strong>Attendance files</strong> — weekly session attendance per student</li><li><strong>Assignment files</strong> — weekly submission scores and delays</li><li><strong>Assessment files</strong> — quiz and exam scores per week</li><li><strong>Students</strong> — demographics, cohort, scholarship status</li><li><strong>Cohorts</strong> — delivery mode, instructor experience</li><li><strong>Outcome</strong> — final score, program completion, job placement</li></ul><p>The raw files were split by category (Attendance_1.csv through Attendance_5.csv, etc.).</p><p>My first job was to bring them together. That’s where the trouble started.</p><h3>Mistake 1: Concatenating Files Without Checking for Duplicates First</h3><p>When I had multiple files per category, the natural move was to combine them into a single DataFrame using pd.concat(). Simple, clean, done.</p><pre>attendance = pd.concat([pd.read_csv(f) for f in attendance_files], ignore_index=True)</pre><p>What I didn’t do immediately was to check whether concatenating created duplicate records.</p><pre>attendance.duplicated(subset=[&quot;student_id&quot;, &quot;week_number&quot;]).sum()</pre><p>There were duplicates. A student appearing twice for the same week means double-counted attendance, inflated records, and a dataset that silently lies to your model about how many observations you actually have.</p><p><strong>The fix:</strong></p><pre>attendance = attendance.drop_duplicates(subset=[&quot;student_id&quot;, &quot;week_number&quot;])</pre><p><strong>The lesson:</strong> Never concatenate files and trust the result. Always immediately check for duplicates in the columns that should uniquely identify each row. In longitudinal data, that’s almost always student_id + week_number.</p><h3>Mistake 2: Assuming the Dataset Was Complete</h3><p>After deduplication, I ran a quick check to see how many weeks each student appeared for:</p><pre>attendance.groupby(&quot;student_id&quot;)[&quot;week_number&quot;].nunique().value_counts()</pre><p>The results were all over the place. Some students had 12 weeks of data. Others had 7. Some had 3. The raw data only recorded weeks where <em>something actually happened</em> — if a student missed an entire week, that week simply didn’t exist in the file.</p><p>This is a silent dataset problem. Most people miss it entirely.</p><p>If I had trained a model on this unbalanced data, it would have made predictions based on different amounts of information per student. A student with 12 rows would be weighted differently from a student with 4 rows — not because of anything meaningful, but because of how the data was collected.</p><p><strong>The fix — building a complete panel dataset:</strong></p><pre># Define the full timeline — 12 weeks for every student, no exceptions<br>all_students = attendance[&quot;student_id&quot;].unique()<br>all_weeks = range(1, 13)<br>full_index = pd.MultiIndex.from_product(<br>    [all_students, all_weeks],<br>    names=[&quot;student_id&quot;, &quot;week_number&quot;]<br>)<br># Reindex to force every student into all 12 weeks<br>attendance = attendance.set_index([&quot;student_id&quot;, &quot;week_number&quot;])<br>attendance = attendance.reindex(full_index).reset_index()</pre><p>After this, every student had exactly 12 rows. The dataset became a proper <strong>balanced panel</strong> — the structure that time-series and cohort analysis actually require.</p><p><strong>The lesson:</strong> In longitudinal data, the absence of a record is itself information. A missing week is not an error — it means nothing happened. Your dataset must represent that explicitly, not ignore it silently.</p><h3>Mistake 3: Treating Missing Attendance as “Unknown” Instead of Zero</h3><p>After creating the full panel, new NaN values appeared in the attendance columns for the weeks I had just added. My first instinct was to fill them with the mean, which is the most common advice beginners get about missing values.</p><p>That would have been wrong.</p><p>Think about what a missing week actually means for a student. They weren’t there. Filling with the mean would give them partial credit for a week they didn’t show up for. That’s not imputation — that’s fabrication.</p><p>The domain logic was clear:</p><ul><li>sessions_held — always 3 per week, regardless of attendance</li><li>sessions_attended — If the week is missing, the student attended 0 sessions</li><li>attendance_rate — recalculate from the corrected values</li></ul><p><strong>The fix:</strong></p><pre>attendance[&quot;sessions_held&quot;] = 3<br>attendance[&quot;sessions_attended&quot;] = attendance[&quot;sessions_attended&quot;].fillna(0)<br>attendance[&quot;attendance_rate&quot;] = attendance[&quot;sessions_attended&quot;] / 3</pre><p>The same logic applied to assignments — a missing week means the student submitted nothing, scored nothing, and had no delay because there was nothing to delay:</p><pre>assignment[&quot;assignment_submitted&quot;] = assignment[&quot;assignment_submitted&quot;].fillna(0)<br>assignment[&quot;assignment_score&quot;] = assignment[&quot;assignment_score&quot;].fillna(0)<br>assignment[&quot;submission_delay_days&quot;] = assignment[&quot;submission_delay_days&quot;].fillna(0)</pre><p><strong>The lesson:</strong> Missing value strategy is always domain-specific. Ask “what does this missing value <em>mean</em> in the real world?” before reaching for .fillna(mean()). In this case, absence meant zero — and that distinction matters enormously for prediction.</p><h3>Mistake 4: Keeping ID Columns That Added No Value</h3><p>Each raw file came with its own ID column — attendance_id, asignment_id (notice the typo in the original — that itself is a data quality issue worth noting), assessment_id.</p><p>I almost kept them. They felt like they belonged.</p><p>But think about what they actually are — row identifiers from the original source system. Once the files were merged into a unified panel with student_id and week_number as the true keys, these columns became noise. Worse, they could cause confusion — someone skimming the dataset later might mistake attendance_id for something meaningful.</p><p><strong>The fix:</strong></p><pre>attendance = attendance.drop(columns=[&quot;attendance_id&quot;], errors=&quot;ignore&quot;)<br>assignment = assignment.drop(columns=[&quot;asignment_id&quot;], errors=&quot;ignore&quot;)<br>assessment = assessment.drop(columns=[&quot;assessment_id&quot;], errors=&quot;ignore&quot;)</pre><p>The errors=&quot;ignore&quot; flag is a small but important habit — it means the code won&#39;t break if the column was already removed upstream.</p><p><strong>The lesson:</strong> Every column in your final dataset should earn its place. If a column can’t answer “what analysis question does this help me answer?” — it doesn’t belong in your working data.</p><h3>Mistake 5: Not Revalidating After Every Single Step</h3><p>This is the most boring mistake on this list. It is also the most dangerous.</p><p>At multiple points during cleaning, I assumed a step had worked correctly without actually confirming it. After dropping duplicates, I moved on without rerunning the duplicate check. After filling missing values, I didn’t rerun .isnull().sum().</p><p>Cleaning code doesn’t always behave the way you expect. Silent errors are real. The only way to catch them is to validate after every step — not just at the end.</p><p>My final cleaning pipeline included explicit revalidation at each stage:</p><pre># After deduplication<br>attendance.duplicated(subset=[&quot;student_id&quot;, &quot;week_number&quot;]).sum()  # Must return 0<br># After reindexing<br>attendance.groupby(&quot;student_id&quot;)[&quot;week_number&quot;].nunique().value_counts()  # Must show all 12<br># After filling nulls<br>attendance.isnull().sum()  # Must return all zeros<br># Final shape confirmation<br>print(attendance.shape)   # (4800, 5) - 400 students × 12 weeks<br>print(assignment.shape)   # (4800, 5)<br>print(assessment.shape)   # (4800, 4)</pre><p>That final check — confirming 4,800 rows for every table — was the moment I knew the dataset was actually ready.</p><p><strong>The lesson:</strong> Revalidation is not optional. It is part of the cleaning process. Build it into every step, not just the last one.</p><h3>What This Means for the Model</h3><p>Every single mistake above would have degraded model performance without a clear explanation of why. Duplicates inflate training data. Incomplete panels create inconsistent feature vectors. Wrong imputation introduces false signals. Noisy columns distort feature importance. Unvalidated steps hide compounding errors.</p><p>Data cleaning isn’t the boring part of a data science project. It is the part that determines whether the exciting part — the modelling — is worth anything at all.</p><p>My bootcamp dataset is now a clean, balanced panel of <strong>400 students × 12 weeks = 4,800 rows per table</strong>, ready for feature engineering and model building.</p><p>That’s where we go next.</p><p><em>I’m documenting my full journey building a learning analytics ML system on Medium — from raw data to deployed models. Follow along if you’re building something similar, or just want to see real data science work, not just polished results.</em></p><p><em>Next up: Building a Bootcamp Performance Tracker in Excel using this same dataset.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d833ded776cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Before Predicting Student Success, I Had to Answer One Question]]></title>
            <link>https://bolatito-abiola-akinlabi.medium.com/before-predicting-student-success-i-had-to-answer-one-question-37d7a6dc4f2a?source=rss-ec6dd2279175------2</link>
            <guid isPermaLink="false">https://medium.com/p/37d7a6dc4f2a</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[unsupervised-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[supervised-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Bolatito Abiola-Akinlabi]]></dc:creator>
            <pubDate>Sat, 07 Mar 2026 09:31:11 GMT</pubDate>
            <atom:updated>2026-03-07T09:31:11.462Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*51dFCO1teVYp-vycSdvH4g.png" /></figure><p>𝑺𝒖𝒑𝒆𝒓𝒗𝒊𝒔𝒆𝒅 𝒗𝒔 𝑼𝒏𝒔𝒖𝒑𝒆𝒓𝒗𝒊𝒔𝒆𝒅 𝑳𝒆𝒂𝒓𝒏𝒊𝒏𝒈 𝑻𝒉𝒓𝒐𝒖𝒈𝒉 𝒂 𝑩𝒐𝒐𝒕𝒄𝒂𝒎𝒑 𝑨𝒏𝒂𝒍𝒚𝒕𝒊𝒄𝒔 𝑷𝒓𝒐𝒋𝒆𝒄𝒕</p><p>When people explain machine learning, they usually start with definitions.</p><p><strong>Supervised learning</strong> uses labeled data.<br><strong>Unsupervised learning</strong> finds patterns without labels.</p><p>Technically correct.</p><p>But when you’re working on a real problem, the real question isn’t:</p><blockquote>What do these terms mean?</blockquote><p>The real question is:</p><blockquote><strong><em>Which one does my problem actually require?</em></strong></blockquote><p>While designing a <strong>learning analytics project for a 12-week data bootcamp</strong>, I ran into this exact decision.</p><p>Should I try to <strong>predict which students will succeed</strong>?</p><p>Or should I first try to <strong>discover patterns in how students behave</strong>?</p><p>The answer determines whether the project becomes a <strong>supervised</strong> or <strong>unsupervised</strong> learning problem.</p><h3>The Project: A Bootcamp Analytics Dataset</h3><p>For this project, I simulated a dataset representing <strong>400 students enrolled in a 12-week data bootcamp</strong>.</p><p>Each week, the program collects three key behavioral signals:</p><ul><li><strong>Attendance consistency</strong></li><li><strong>Assignment submissions</strong></li><li><strong>Assessment performance</strong></li></ul><p>After cleaning and structuring the data, I ended up with <strong>three datasets</strong>, each containing 4800 rows (400 students × 12 weeks):</p><ul><li>attendance</li><li>assignments</li><li>assessments</li></ul><p>To prepare the data for modeling, I aggregated these signals to the <strong>student level</strong>.</p><pre>import pandas as pd<br>attendance = pd.read_csv(&quot;data/processed/attendance_clean.csv&quot;)<br>assignments = pd.read_csv(&quot;data/processed/assignments_clean.csv&quot;)<br>assessments = pd.read_csv(&quot;data/processed/assessments_clean.csv&quot;)</pre><p>Next, I summarized student behavior across the program.</p><pre>attendance_summary = (<br>attendance.groupby(&quot;student_id&quot;)[&quot;attendance_rate&quot;]<br>    .mean()<br>    .reset_index())<br><br>assignment_summary = (<br>    assignments.groupby(&quot;student_id&quot;)[&quot;assignment_submitted&quot;]<br>    .mean()<br>    .reset_index())<br>assessment_summary = (<br>    assessments.groupby(&quot;student_id&quot;)[&quot;score&quot;]<br>    .mean()<br>    .reset_index())</pre><p>Then I merged the summaries to create a modeling dataset.</p><pre>df_model = attendance_summary.merge(assignment_summary, on=&quot;student_id&quot;)<br>df_model = df_model.merge(assessment_summary, on=&quot;student_id&quot;)<br><br>df_model.head()</pre><p>At this stage, the dataset contains <strong>behavioral signals</strong>, but no final outcome.</p><p>And that distinction determines the type of machine learning problem we’re solving.</p><h3>Two Possible Paths for the Same Dataset</h3><p>The same dataset can lead to two very different types of machine learning problems depending on whether an <strong>outcome label</strong> exists.</p><p>When the dataset contains an outcome such as <strong>program completion</strong>, the task becomes <strong>supervised learning</strong>.</p><p>When that outcome is missing, the goal shifts toward <strong>unsupervised learning</strong>, where we explore patterns instead of predicting results.</p><h3>When the Problem Becomes Supervised Learning</h3><p>In the bootcamp scenario, we eventually know whether a student <strong>completed the program or not</strong>.</p><p>That outcome becomes our <strong>target variable</strong>.</p><pre>outcome = pd.read_csv(&quot;data/raw/outcomes.csv&quot;)<br>df_model = df_model.merge(outcome, on=&quot;student_id&quot;)</pre><p>Because we now know the outcome for past students, we can train a model to <strong>predict future outcomes</strong>.</p><p>For example, a simple logistic regression model:</p><pre>from sklearn.model_selection import train_test_split<br>from sklearn.linear_model import LogisticRegression<br><br>X = df_model[[&quot;attendance_rate&quot;, &quot;assignment_submitted&quot;, &quot;score&quot;]]<br>y = df_model[&quot;completed_program&quot;]<br>X_train, X_test, y_train, y_test = train_test_split(<br>    X, y, test_size=0.2, random_state=42<br>)<br>model = LogisticRegression()<br>model.fit(X_train, y_train)</pre><p>The model learns relationships such as:</p><ul><li>Higher attendance increases the probability of completion</li><li>Consistent assignment submission predicts stronger outcomes</li><li>Low performance may signal risk</li></ul><p>This is a classic <strong>supervised learning classification problem</strong>.</p><h3>What Happens Without the Outcome?</h3><p>Now, imagine we remove the completion column entirely.</p><pre>X = df_model[[&quot;attendance_rate&quot;, &quot;assignment_submitted&quot;, &quot;score&quot;]]</pre><p>Without labels, we can no longer predict success.</p><p>Instead, we can explore whether <strong>different types of students exist within the program</strong>.</p><p>Clustering algorithms are commonly used for this purpose.</p><pre>from sklearn.cluster import KMeans<br><br>kmeans = KMeans(n_clusters=3, random_state=42)<br>clusters = kmeans.fit_predict(X)<br>df_model[&quot;student_cluster&quot;] = clusters</pre><p>This approach might reveal groups such as:</p><ul><li>Highly disciplined students</li><li>Inconsistent participants</li><li>Students struggling academically</li></ul><p>Unlike supervised learning, the algorithm is not predicting an outcome.</p><p>Instead, it is <strong>discovering structure in the data</strong>.</p><p>That is the essence of <strong>unsupervised learning</strong>.</p><h3>Why Both Approaches Matter</h3><p>In practice, these two approaches often complement each other.</p><p><strong>Unsupervised learning</strong> helps answer:</p><blockquote>What patterns exist in student behavior?</blockquote><p><strong>Supervised learning</strong> answers:</p><blockquote>Which students are likely to fail or drop out?</blockquote><p>The first helps us <strong>understand the system</strong>.</p><p>The second helps us <strong>intervene early</strong>.</p><p>In education, that distinction can make the difference between simply analyzing data and actually improving student outcomes.</p><h3>Final Thoughts</h3><p>Most machine learning discussions focus on algorithms.</p><p>But the real work starts earlier.</p><p>It starts with asking:</p><blockquote><strong><em>What kind of learning does this problem require?</em></strong></blockquote><p>Sometimes we want to <strong>discover patterns</strong>.</p><p>Other times we want to <strong>predict outcomes</strong>.</p><p>Understanding that difference is what transforms machine learning from a technical exercise into a practical tool for solving real problems.</p><p>And in the case of student success, it may even help identify struggling learners before it’s too late.</p><h3>If you enjoyed this article, then you should read the previous one.</h3><p>In the previous part of this project, I explored how <strong>SQL can reveal behavioral signals in learning data before any machine learning model is built.</strong></p><p>Because sometimes the most powerful insights come <strong>before the modeling stage even begins</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=37d7a6dc4f2a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>