Close Menu
    Trending
    • Revisiting Benchmarking of Tabular Reinforcement Learning Methods
    • Is Your AI Whispering Secrets? How Scientists Are Teaching Chatbots to Forget Dangerous Tricks | by Andreas Maier | Jul, 2025
    • Qantas data breach to impact 6 million airline customers
    • He Went From $471K in Debt to Teaching Others How to Succeed
    • An Introduction to Remote Model Context Protocol Servers
    • Blazing-Fast ML Model Serving with FastAPI + Redis (Boost 10x Speed!) | by Sarayavalasaravikiran | AI Simplified in Plain English | Jul, 2025
    • AI Knowledge Bases vs. Traditional Support: Who Wins in 2025?
    • Why Your Finance Team Needs an AI Strategy, Now
    AIBS News
    • Home
    • Artificial Intelligence
    • Machine Learning
    • AI Technology
    • Data Science
    • More
      • Technology
      • Business
    AIBS News
    Home»Machine Learning»What I Learned by Rebuilding a Kaggle Notebook on Customer Segmentation | by Devika Santhosh | Jun, 2025
    Machine Learning

    What I Learned by Rebuilding a Kaggle Notebook on Customer Segmentation | by Devika Santhosh | Jun, 2025

    Team_AIBS NewsBy Team_AIBS NewsJune 12, 2025No Comments2 Mins Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    This operate is useful in understanding the distribution. Mainly, from percentiles, we will monitor outliers and normal deviation to grasp the errors concerned.

    To know extra about abstract stats in Python, learn this.

    First, we are going to deal with the problems the dataset already has, within the type of null values, duplicate entries, outliers, inconsistent formatting, data-type corrections, and many others.

    Null Values

    • Understood the options with null values
    • Analysed what proportion of null values.
    • If it have been every other options, we may have changed it with the imply or every other averages, however Buyer ID it’s what we will’t change as it would trigger inaccurate knowledge. So, ended up dropping the null values of the Id column. The identical goes for description, as it’s only a small proportion of the overall knowledge.

    Duplicates

    df.duplicated().sum()
    #5225 out of 541909

    Dropped the duplicate values as nicely.

    Now, to handle different points, we have to evaluate every of the options individually.

    Actions Abstract Desk

    Observe: The choice to drop a sure variety of rows is taken solely after analyzing the proportion contribution of the related function to the entire knowledge set.

    Now that my knowledge is clear, I can transfer towards creating significant options for segmentation.

    Given the context of the challenge, the place the intention is to cluster clients based mostly on their product buying behaviors and develop a product suggestion system, the main focus stays strictly on real product transactions, which might result in a extra correct and significant evaluation.

    From right here, I referred to the next Kaggle notebook to grasp what to search for and methods to modify options.

    To suggest a product, we want a stable understanding of:

    • What are buyer preferences?
    • How continuously do they buy?
    • What’s their typical finances?

    From the info supplied, we will reply these questions technically utilizing the RFM methodology.

    After finishing RFM segmentation, I explored extra behavioral and geographical patterns. This helped me perceive what different options may affect buyer clustering, and I tried to recreate and clarify these steps in my very own methods.

    The next further options added to the dataset.



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleThree Stages of Planetary Defense for Asteroid Threats
    Next Article Deloitte Expands Well-Being Program to Include Legos
    Team_AIBS News
    • Website

    Related Posts

    Machine Learning

    Is Your AI Whispering Secrets? How Scientists Are Teaching Chatbots to Forget Dangerous Tricks | by Andreas Maier | Jul, 2025

    July 2, 2025
    Machine Learning

    Blazing-Fast ML Model Serving with FastAPI + Redis (Boost 10x Speed!) | by Sarayavalasaravikiran | AI Simplified in Plain English | Jul, 2025

    July 2, 2025
    Machine Learning

    From Training to Drift Monitoring: End-to-End Fraud Detection in Python | by Aakash Chavan Ravindranath, Ph.D | Jul, 2025

    July 1, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    Revisiting Benchmarking of Tabular Reinforcement Learning Methods

    July 2, 2025

    I Tried Buying a Car Through Amazon: Here Are the Pros, Cons

    December 10, 2024

    Amazon and eBay to pay ‘fair share’ for e-waste recycling

    December 10, 2024

    Artificial Intelligence Concerns & Predictions For 2025

    December 10, 2024

    Barbara Corcoran: Entrepreneurs Must ‘Embrace Change’

    December 10, 2024
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    Most Popular

    From RGB to HSV — and Back Again

    May 7, 2025

    How to Master Mental Clarity and Find Your Focus

    May 10, 2025

    My Learning to Be Hired Again After a Year… Part 2

    March 31, 2025
    Our Picks

    Revisiting Benchmarking of Tabular Reinforcement Learning Methods

    July 2, 2025

    Is Your AI Whispering Secrets? How Scientists Are Teaching Chatbots to Forget Dangerous Tricks | by Andreas Maier | Jul, 2025

    July 2, 2025

    Qantas data breach to impact 6 million airline customers

    July 2, 2025
    Categories
    • AI Technology
    • Artificial Intelligence
    • Business
    • Data Science
    • Machine Learning
    • Technology
    • Privacy Policy
    • Disclaimer
    • Terms and Conditions
    • About us
    • Contact us
    Copyright © 2024 Aibsnews.comAll Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.