K-means or Hierarchical clustering?

0 votes
I have 1 million rows of customer-level data and some attributes like Revenue, Tenure, Age

Now I have to create a test & control group out of this (it is for the promotions). Should I do K-means or Hierarchical clustering?
Feb 13, 2019 in Python by Fury
229 views

1 answer to this question.

0 votes
You can use hierarchical clustering for this particular case as hierarchical clustering will using a bottom-up approach and consider each observation as one cluster, and will merge clusters successively together and create dendrogram and each level of it you will be able to visualize merging of all columns,
answered Feb 13, 2019 by Dinesh

Related Questions In Python

0 votes
1 answer

Can some one explain k-means algorithm with examples?

What is K-means Clustering? K-means (Macqueen, 1967) is ...READ MORE

answered Sep 9, 2019 in Python by Arvind
• 2,980 points
837 views
+2 votes
2 answers

How can I plot a k-dsitance graph using python?

Hi there, instead of sklearn you could ...READ MORE

answered Apr 10, 2018 in Python by charlie_brown
• 7,780 points
2,430 views
+2 votes
6 answers

How can I change directory or "cd" in Python?

Context Manager: cd import os class cd:     """Context manager for ...READ MORE

answered Oct 18, 2018 in Python by Nabarupa
5,105 views
+1 vote
5 answers

Check whether the file exists or not?

Use this import os os.path.exists(path) # Returns whether the ...READ MORE

answered Oct 18, 2018 in Python by reyam
307 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,478 views
0 votes
0 answers
+4 votes
6 answers

Lowercase in Python

You can simply the built-in function in ...READ MORE

answered Apr 11, 2018 in Python by hemant
• 5,800 points
1,110 views
0 votes
1 answer

How does Python know whether a variable in the class is a method or a variable?

In python objects/variables are wrapped into methods ...READ MORE

answered Sep 18, 2018 in Python by aryya
• 7,380 points
136 views
0 votes
1 answer

comparing strings in Python using "==" or "is"

is is used for identity testing and ...READ MORE

answered Sep 19, 2018 in Python by SDeb
• 13,250 points
107 views