Code Monkey home page Code Monkey logo

customer_segmentation's Introduction

Customer Segmentation using K-Means Algorithm

Project ini menggunakan data customer dari automobile company yang berencana memasuki pasar baru dengan menggunakn produk mereka yang telah ada. Pada project ini akan dilakukan customer segmentation untuk mengidentifikasi customer baru yang potensial.

Data Cleansing

Langkah-langkah yang akan dilakukan adalah:

  • Mengatasi data-data yang memiliki missing values dengan metode imputation
  • Mengatasi outlier atau pencilan dengan menggunakan metode interquartile range (IQR)

Exploratory Data Analysis

Numerical Columns

Categorical Columns

Data PreProcessing

  • Menghapus columns yang tidak dibutuhkan dalam pembuatan model
  • Melakukan decimal scaling untuk kolom numerik
  • Melakukan encoding data untuk kolom kategorik

Implemented K-Prototypes Algorithm to do Customer Segmentation

Measuring Cluster Criteria

Identify Segment for Each Customer

Conclusion

Berdasarkan pemodelan yang telah dilakukan dengan menggunakan metode algoritma K-Prototypes diperoleh 5 cluster customer, yaitu:

  • Cluster 0: isi cluster ini didominasi oleh para pekerja seni yang telah menikah dan yang memiliki spending score average.
  • Cluster 1: isi cluster ini didominasi oleh para pekerja dibidang hukum yang memiliki umur diatas 60 tahun dan telah menikah dengan spending score high.
  • Cluster 2: isi cluster ini didominasi oleh para pelajar dan mahasiswa yang belum menikah dengan spending score low
  • Cluster 3: isi cluster ini didominasi oleh customer perempuan yang belum menikah dengan spending score low
  • Cluster 4: isi cluster ini didominasi oleh customer yang sudah menikah dengan spending score average

customer_segmentation's People

Contributors

rfajri27 avatar

Stargazers

Stefanus Bernard Melkisedek avatar Muhammad Abdanul Ikhlas avatar Wahyu Dwi Prasetio avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.