• No products in the cart.

204.3.1 Decision Trees in Python : Segmentation

Basic concept behind Decision Trees.

In this series of posts we will cover one of the widely used algorithms in machine learning. We will start with basics of segmentation and move further how segmentation can be evolved into a tree like structure.

Decision Trees


Decision tree is a type of supervised learning algorithm that is mostly used in classification problems.In this technique, we split the population or sample into two or more homogeneous sets based on most significant differentiator in input variables.

What is Segmentation?

  • Imagine a scenario where we want to run a SMS marketing campaign to attract more customers in the next quarter
  • Some customers like to see high discount
  • Some customers want to see a large collection of items
  • Some customers are fans of particular brands
  • Some customers are Male some are Female
  • Divide them based on their demographics, buying patterns and profile related attributes
  • One size doesn’t fit all
  • Divide the population in such a way that
  • Customers inside a group are homogeneous
  • Customers across groups are heterogeneous
  • Is there any statistical way of dividing them correctly based on the data

Segmentation Business Problem

The Data

Re-Arranging the data

This was a visual explanation how segmentation works.
In next session we will take the decision tree approach for segmentation.
Link to the next post : https://statinfer.com/204-3-2-the-decision-tree-approach/
0 responses on "204.3.1 Decision Trees in Python : Segmentation"

Leave a Message


Statinfer derived from Statistical inference is a company that focuses on the data science training and R&D.We offer training on Machine Learning, Deep Learning and Artificial Intelligence using tools like R, Python and TensorFlow

Contact Us

We Accept

Our Social Links

How to Become a Data Scientist?

© 2020. All Rights Reserved.