<?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 Sebastian Wonder on Medium]]></title>
        <description><![CDATA[Stories by Sebastian Wonder on Medium]]></description>
        <link>https://medium.com/@sebastianofomata?source=rss-d07530967f8e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QrOEpLlyCzWhPN771x8qMQ.jpeg</url>
            <title>Stories by Sebastian Wonder on Medium</title>
            <link>https://medium.com/@sebastianofomata?source=rss-d07530967f8e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 19:41:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sebastianofomata/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[☎️ TELCO CUSTOMER CHURN PREDICTION]]></title>
            <link>https://medium.com/@sebastianofomata/%EF%B8%8F-telco-customer-churn-prediction-d45eec6b6b96?source=rss-d07530967f8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d45eec6b6b96</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Sebastian Wonder]]></dc:creator>
            <pubDate>Wed, 18 Jun 2025 22:26:15 GMT</pubDate>
            <atom:updated>2025-06-18T22:26:15.273Z</atom:updated>
            <content:encoded><![CDATA[<p>Working with my Team, we tackled a critical challenge for a Telecom Company Customer Churn.</p><p>Losing customers impacts revenue, so we aimed to predict at-risk customers using machine learning, enabling targeted retention strategies. Collaboratively, we analyzed a dataset of 7,043 customers, identified key patterns, and built a Random Forest model to predict churn. This article details our team’s journey, from data exploration to modelling, highlighting our collective insights.</p><h3>The Problem</h3><p>We received a dataset with 7,043 records, including:</p><p>Usage patterns: Tenure, monthly/total charges, internet/phone services, etc.<br>Contract type: Month-to-month, one-year, or two-year contracts.<br>Service complaints: Proxies like lack of tech support or online security.<br>Target: churn (Yes/No).<br>Our goal was to explore churn drivers and build a model to predict customer behavior.</p><p>Step 1: Data Cleaning and Manipulation</p><p>Our team started by cleaning the dataset to ensure accuracy. We focused on correcting the data types of each column, ensuring numerical fields like tenure and monthlycharges were properly formatted as numbers and categorical fields like contract were set as strings. We also identified rows that appeared as null due to extra spaces in cells after converting the datatype. We filled the null entries with zeros, ensuring a clean dataset for analysis.</p><p>Step 2: Understanding the Data (EDA)</p><p>Our team conducted Exploratory Data Analysis (EDA) using Python to uncover insights.</p><h4>Churn Distribution</h4><p>We visualized churn rates:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*DmLDa-SEodOSZygI-8CKPw.png" /><figcaption><em>Figure 1: Customer Churn Distribution shows ~26% churn rate, indicating imbalance.</em></figcaption></figure><p>About 26% (1,869) customers churned, signaling an imbalanced dataset we addressed in modeling.</p><h4><strong>Churn by Contract Type</strong></h4><p>We explored contract impacts:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*2KWOFL6yoR6x87-p2iK1XA.png" /><figcaption>Figure 2: Churn by Contract Type shows month-to-month contracts drive churn.</figcaption></figure><p>Month-to-month customers churned significantly more, suggesting longer contracts boost retention.</p><h4>Key Correlations</h4><p>We identified features correlated with churn:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mLAUV8qhwygM8q8reCl2Aw.png" /><figcaption>Figure 3: Top 5 Correlated Features highlight fiber optic service and costs.</figcaption></figure><p>Key drivers included:</p><p>Monthly charges/charge per service: Cost-driven churn.<br>Tenure: The lower the tenure, higher probability to churn.<br>Fiber optic internet: Higher churn, possibly due to cost.<br>Electronic check payments: Linked to higher churn.</p><p>Step 3: Preparing the Data for model building</p><p>Our team preprocessed the data by:</p><p>Encoding churn (Yes/No to 1/0).<br>Dropping customerid and other irrelevant columns.<br>Label encoding for categorical variables (e.g., contract).<br>Splitting into features (x) and target (y).<br>This yielded 42 features after encoding.</p><p>Step 4: Building the Random Forest Model</p><p>We chose Random Forest for its ability to handle complex patterns and provide feature importance. It also works well with imbalanced dataset.</p><h4>Training the Model</h4><p>We split data (80% train, 20% test) and trained the model, achieving robust predictions.</p><h4>Evaluating the Model</h4><p>The model achieved ~80% accuracy, balancing precision and recall despite imbalance.</p><h4>Feature Importance:</h4><p>We analyzed key predictors:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*74AVBm0IjeNSL16OVQWllw.png" /><figcaption>Figure 4: Top 10 Random Forest Feature Importance highlights tenure and costs.</figcaption></figure><p>Tenure, monthly charges, and month-to-month contracts were top drivers, aligning with EDA.</p><h3>Recommendations for Shareholders</h3><p>Based on our model’s insights, our team proposes the following actions to reduce churn and enhance customer loyalty, directly addressing the identified drivers.</p><p>1. Promote Longer-Term Contracts</p><p>Month-to-month contracts drive churn due to their flexibility, allowing customers to leave easily. We recommend:</p><p>Incentivize one- and two-year contracts with discounts, free upgrades (e.g., faster internet), or loyalty rewards.<br>Target month-to-month customers with personalized offers to transition to longer contracts, especially those with high monthly charges or fiber optic services.<br>Communicate value: Highlight cost savings and service reliability of longer commitments to build trust.<br>This strategy can lock in customers, reducing the 26% churn rate, particularly among the 3,875 month-to-month subscribers.</p><p>2. Optimize Pricing for High-Cost Services</p><p>High monthly charges and charge per service, especially for fiber optic users, correlate strongly with churn. Shareholders should:</p><p>Review fiber optic pricing: Offer tiered plans or bundle discounts to make high-speed internet more affordable.<br>Introduce loyalty discounts: Reduce monthly charges for long-tenure customers (e.g., those with tenure &gt;24 months) to reward loyalty.<br>Monitor cost sensitivity: Use predictive models to identify customers at risk due to high bills and proactively offer tailored promotions.<br>Lowering perceived costs can retain customers who might otherwise leave due to price concerns.</p><p>3. Enhance Service Quality and Support</p><p>Lack of tech support and online security emerged as proxies for service complaints, increasing churn. We suggest:</p><p>Expand tech support access: Offer free or discounted tech support plans, especially for fiber optic customers, who face higher churn.<br>Improve service reliability: Invest in infrastructure to reduce outages or slowdowns, particularly for fiber optic networks.<br>Proactive outreach: Contact customers lacking support services with tutorials or check-ins to boost satisfaction.<br>These improvements can address dissatisfaction, a hidden driver of churn, and build stronger customer relationships.</p><p>4. Refine Payment Processes</p><p>Customers using electronic checks churned more, possibly due to less engagement or payment friction. Shareholders should:</p><p>Encourage automatic payments: Promote credit card or bank transfer options with incentives like small discounts.<br>Simplify billing: Ensure clear, user-friendly billing statements to reduce payment-related frustrations.<br>Target electronic check users: Offer personalized campaigns to switch to automated methods, improving retention.<br>Streamlining payments can enhance customer experience and reduce churn among this group.</p><p>5. Invest in Predictive Analytics</p><p>Our Random Forest model’s success underscores the value of data-driven insights. We recommend:</p><p>Deploy real-time churn prediction: Integrate our model into CRM systems to flag at-risk customers instantly.<br>Expand data collection: Capture direct complaint logs and satisfaction scores to refine future models.<br>Regular model updates: Retrain the model quarterly to adapt to changing customer behaviors.<br>These investments will sustain our ability to predict and prevent churn, maximizing ROI.</p><h3>Conclusion</h3><p>Our team’s Random Forest model, achieving ~80% accuracy, revealed that month-to-month contracts, high costs, and service dissatisfaction drive 26% of customers to churn. By promoting longer contracts, optimizing pricing, enhancing support, refining payments, and investing in analytics, shareholders can significantly reduce churn, boost retention, and drive sustainable growth. This project reflects our team’s commitment to delivering actionable insights for the company’s success.</p><blockquote>Code available on our <a href="https://github.com/Sebastian-Wonder/DATA-SCIENCE-POW/blob/d642e400e5dbeae90b226b46360c572a725c78af/Telco_Customer_Churn_Prediction.ipynb">Github</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d45eec6b6b96" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Practical Data Analysis]]></title>
            <link>https://medium.com/@sebastianofomata/practical-data-analysis-ecc3c8b8eeab?source=rss-d07530967f8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ecc3c8b8eeab</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[Sebastian Wonder]]></dc:creator>
            <pubDate>Mon, 12 May 2025 20:10:23 GMT</pubDate>
            <atom:updated>2025-05-12T20:10:23.830Z</atom:updated>
            <content:encoded><![CDATA[<h4>💻 IS TECH IS ACTUALLY THE FUTURE?</h4><p>Would it be gainsaying to say Yes</p><p>Data is Power, and has come to stay</p><p>So I did a little work on some Datasets as part of my learning expertise, practically, for you to see.</p><p>Check out the Code Chunks, Clean Ups, Analysis and Company Recommendations here 👇:</p><p>https://github.com/Sebastian-Wonder/DATA-SCIENCE-POW/blob/d9d9ff69fcbaf23e91260a5851e0969d44f84f79/FRANCIS_OFOMATA_TASK_3.ipynb</p><p>And Yeah, that’s MY GITHUB</p><p>The process is really fun when you get the entire hook of it</p><p>I carried out a detailed analysis on a Sales Project</p><p>THE WORK OVERVIEW❓️<br>- Data Importation: I imported four CSV files after unzipping (Orders, Order Details, Pizzas, and Pizza Types) and merged them into a single data frame for analysis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*VNPlzT7TAqNeafsvHiHz7Q.jpeg" /></figure><p>- Data Cleaning: I cleaned the data by handling missing values, data normalization, and feature engineering to prepare it for analysis.</p><p>- Data Analysis: I performed various analyses, including calculating total revenue, quantity sold, total orders, average price, peak hours of sales, and top-selling products.</p><p>- Report, Trends and Recommendations: These process definitely as an experienced Data Scientist will help you find trends in the data. With these I gave useful Recommendations to Stakeholders, and indeed. They are Happy 😊</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*dxIo42k9pFOJaRxqYx1qlQ.jpeg" /></figure><p>Data-Driven decisions are simply most salient I must say. Special thanks to everyone creating a home for tech in Africa, and the world at large.</p><p>We keeping making the move to innovation 💡</p><p>Sebastian.F.O (CSc., RBP, CDA)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecc3c8b8eeab" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>